#947/p ringbuf: invalid reservation offset 1 FAIL in ubuntu_bpf/test_verifier for J-oem-5.17
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
With the test build failure fixed (bug 1948831), the ubuntu_bpf test on J-oem-5.17 is now failing with:
#947/u ringbuf: invalid reservation offset 1 SKIP
#947/p ringbuf: invalid reservation offset 1 FAIL
Unexpected verifier log!
EXP: dereference of modified alloc_mem ptr R1
RES:
FAIL
Unexpected error message!
EXP: dereference of modified alloc_mem ptr R1
RES: helper wants pointer to allocated memory
verification time 10 usec
stack depth 8
processed 14 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
helper wants pointer to allocated memory
verification time 10 usec
stack depth 8
processed 14 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
#948/u ringbuf: invalid reservation offset 2 SKIP
It also failing with bug #1973366 - sk_fullsock(
Summary: 1313 PASSED, 631 SKIPPED, 2 FAILED
summary: |
- #947/p ringbuf: invalid reservation offset 1 FAIL in ubuntu_bpf for - J-oem-5.17 + #947/p ringbuf: invalid reservation offset 1 FAIL in + ubuntu_bpf/test_verifier for J-oem-5.17 |
tags: | added: sru-20230130 |
This is because the test is expecting the following error message when this test fails:
"dereference of modified alloc_mem ptr R1"
But we are using "helper wants pointer to allocated memory" from SAUCE patch 33623ca13a "UBUNTU: SAUCE: bpf: prevent helper argument PTR_TO_ALLOC_MEM to have offset other than 0" (bug 1956585)