[Regression] net test from ubuntu_kernel_selftests failed due to bpf test compilation issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Sean Feole | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Commit a25d38b54163 (bpf: relax verifier restriction on BPF_MOV | BPF_ALU) in Bionic tree
Is causing bpf test compilation failure:
$ sudo make -C tools/testing/
make: Entering directory '/home/
make[1]: Entering directory '/home/
make -C ../../../lib/bpf OUTPUT=
make[2]: Entering directory '/home/
Warning: Kernel ABI header at 'tools/
make[2]: Leaving directory '/home/
make -C ../../../lib/bpf OUTPUT=
make[2]: Entering directory '/home/
Warning: Kernel ABI header at 'tools/
make[2]: Leaving directory '/home/
gcc -Wall -O2 -I../..
test_verifier.
.retval = 0,
^~~~~~
../lib.mk:121: recipe for target '/home/
make[1]: *** [/home/
make[1]: Leaving directory '/home/
Makefile:73: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/
[Fix]
Bionic misses 111e6b45315c (selftests/bpf: make test_verifier run most programs), which adds the 'retval' member to struct bpf_test. The fix is a SAUCE patch to remove setting '.retval = 0'.
[Test Case]
Run bpf kernel selftests.
[Regression Potential]
Low. There's a chance that not backporting 111e6b45315c (selftests/bpf: make test_verifier run most programs) will cause possible bugs on the changes added by a25d38b54163 (bpf: relax verifier restriction on BPF_MOV | BPF_ALU) to remain uncaught.
-------
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-1040-gke x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Aug 21 15:09:32 2019
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | Incomplete → Confirmed |
status: | Confirmed → In Progress |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
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 1840935
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.