Some test in ubuntu_bpf test_verifier failed on i386 Bionic kernel

Bug #1788578 reported by Po-Hsu Lin on 2018-08-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

Bug Description

This issue was only spotted on i386 Bionic kernel.

 #146/p unpriv: spill/fill of different pointers ldx FAIL
 Unexpected error message!
 0: (bf) r6 = r10
 1: (07) r6 += -8
 2: (15) if r1 == 0x0 goto pc+3
 R1=ctx(id=0,off=0,imm=0) R6=fp-8 R10=fp0
 3: (bf) r2 = r10
 4: (07) r2 += -76
 5: (7b) *(u64 *)(r6 +0) = r2
 6: (55) if r1 != 0x0 goto pc+1
 R1=ctx(id=0,off=0,imm=0) R2=fp-76 R6=fp-8 R10=fp0 fp-8=fp
 7: (7b) *(u64 *)(r6 +0) = r1
 8: (79) r1 = *(u64 *)(r6 +0)
 9: (79) r1 = *(u64 *)(r1 +68)
 #352/p check bpf_perf_event_data->sample_period byte load permitted FAIL
 Failed to load prog 'Permission denied'!
 0: (b7) r0 = 0
 1: (71) r0 = *(u8 *)(r1 +68)
 invalid bpf_context access off=68 size=1
 #353/p check bpf_perf_event_data->sample_period half load permitted FAIL
 Failed to load prog 'Permission denied'!
 0: (b7) r0 = 0
 1: (69) r0 = *(u16 *)(r1 +68)
 invalid bpf_context access off=68 size=2
 #354/p check bpf_perf_event_data->sample_period word load permitted FAIL
 Failed to load prog 'Permission denied'!
 0: (b7) r0 = 0
 1: (61) r0 = *(u32 *)(r1 +68)
 invalid bpf_context access off=68 size=4
 #355/p check bpf_perf_event_data->sample_period dword load permitted FAIL
 Failed to load prog 'Permission denied'!
 0: (b7) r0 = 0
 1: (79) r0 = *(u64 *)(r1 +68)
 invalid bpf_context access off=68 size=8

Summary: 708 PASSED, 5 FAILED

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-32-generic 4.15.0-32.35
ProcVersionSignature: User Name 4.15.0-32.35-generic 4.15.18
Uname: Linux 4.15.0-32-generic i686
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Aug 23 08:23 seq
 crw-rw---- 1 root audio 116, 33 Aug 23 08:23 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDmesg:

Date: Thu Aug 23 08:41:26 2018
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. PowerEdge R310
PciMultimedia:

ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-32-generic root=UUID=7b91a2b8-2e02-407e-a51d-766f6d969020 ro
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-32-generic N/A
 linux-backports-modules-4.15.0-32-generic N/A
 linux-firmware 1.173.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/17/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.8.2
dmi.board.name: 05XKKK
dmi.board.vendor: Dell Inc.
dmi.board.version: A05
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.8.2:bd08/17/2011:svnDellInc.:pnPowerEdgeR310:pvr:rvnDellInc.:rn05XKKK:rvrA05:cvnDellInc.:ct23:cvr:
dmi.product.name: PowerEdge R310
dmi.sys.vendor: Dell Inc.

Po-Hsu Lin (cypressyew) wrote :

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1788578

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Brad Figg (brad-figg) on 2019-07-24
tags: added: cscc
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers