selftests: bpf: test_verifier fixes
Bug #1933385 reported by
Thadeu Lima de Souza Cascardo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Thadeu Lima de Souza Cascardo |
Bug Description
[Impact]
kselftest bpf ./test_verifier fails on bionic, preventing regression from being identified.
[Test case]
Run selftest bpf ./test_verifier and check that it passes.
[Potential regressions]
The test could still fail or crash the kernel.
CVE References
Changed in linux (Ubuntu): | |
status: | New → Invalid |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Backport of mainline commit d7a5091351756d0 ae8e63134313c45 5624e36a13 ("bpf: Update selftests to reflect new error states") is needed. The v4.14.y version, bb53b0a9798abf9 6a7a43ba0701d37 b1ab038e58, should apply cleanly. Kamal has a working backport that reduces the number of failures from 23 to 2.
Then, commit 1bad6fd52be4ce1 2d207e2820ceb0f 29ab31fc53 ("bpf, selftests: Adjust few selftest result_unpriv outcomes") needs to be backported as well.
Then, one small update to the backport of d7a509135175, due to our sauce commit 0950405884128, which was added upstream at commit 80c9b2fae87bb5c 5698940da1a981f 14f89518d1.