[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
*** This bug is a duplicate of bug 1848005 *** https://bugs.launchpad.net/bugs/1848005 Bug split into: D: 3 tests in test_verifier failed (bug 1848005) test_maps failed with sockmap creation (bug 1848004) B: test_maps failed with sockmap creation (bug 1848004) ** This bug has been marked a duplicate of bug 1848005 3 tests in test_verifier from ubuntu_bpf failed with D-KVM -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Status in linux-kvm source package in Bionic: New Status in linux-kvm source package in Disco: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
** Tags added: sru-20190902 ** Tags removed: cosmic -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Status in linux-kvm source package in Bionic: New Status in linux-kvm source package in Disco: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #321/p helper access to adjusted map (via const reg): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #322/p helper access to adjusted map (via const reg): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is neg
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
** Tags added: sru-20190812 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Status in linux-kvm source package in Bionic: New Status in linux-kvm source package in Disco: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #321/p helper access to adjusted map (via const reg): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #322/p helper access to adjusted map (via const reg): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
** Tags added: disco sru-20190722 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Status in linux-kvm source package in Bionic: New Status in linux-kvm source package in Disco: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #321/p helper access to adjusted map (via const reg): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #322/p helper access to adjusted map (via const reg): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES:
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
Test report on D-KVM https://pastebin.ubuntu.com/p/ZkZHbDqY6p/ Summary: 1070 PASSED, 106 SKIPPED, 3 FAILED #180/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Success'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #300/p prevent map lookup in sockmap Failed to create hash map 'Invalid argument'! FAIL Unexpected error message! EXP: cannot pass map_type 15 into func bpf_map_lookup_elem RES: fd -1 is not pointing to valid bpf_map fd -1 is not pointing to valid bpf_map #301/p prevent map lookup in sockhash Failed to create hash map 'Invalid argument'! FAIL Unexpected error message! EXP: cannot pass map_type 18 into func bpf_map_lookup_elem RES: fd -1 is not pointing to valid bpf_map fd -1 is not pointing to valid bpf_map -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Status in linux-kvm source package in Bionic: New Status in linux-kvm source package in Disco: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error messa
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
** Also affects: linux-kvm (Ubuntu Disco) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Status in linux-kvm source package in Bionic: New Status in linux-kvm source package in Disco: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #321/p helper access to adjusted map (via const reg): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #322/p helper access to adjusted map (via const reg): negative range (< adjustment) FAIL Unexpected error message!
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
Test report on B-KVM: https://pastebin.ubuntu.com/p/ZDWd4ZN7tM/ Summary: 734 PASSED, 64 FAILED -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Status in linux-kvm source package in Bionic: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #321/p helper access to adjusted map (via const reg): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #322/p helper access to adjusted map (via const reg): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
** Also affects: linux-kvm (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Status in linux-kvm source package in Bionic: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #321/p helper access to adjusted map (via const reg): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #322/p helper access to adjusted map (via const reg): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
** Tags added: linux-kvm -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #321/p helper access to adjusted map (via const reg): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #322/p helper access to adjusted map (via const reg): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #323/p helper access to adjusted map (via variable): full range FAIL Failed to load prog 'Invalid argum
[Kernel-packages] [Bug 1833396] Re: ubuntu_bpf test failed on KVM kernels
** Also affects: ubuntu-kernel-tests Importance: Undecided Status: New ** Tags added: sru-20190603 ubuntu-bpf -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1833396 Title: ubuntu_bpf test failed on KVM kernels Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Bug description: This should not considered as a regression, we just switching from the "cloud" test list to the "generic" list. Summary: 775 PASSED, 0 SKIPPED, 123 FAILED #165/u PTR_TO_STACK store/load - out of bounds low FAIL Unexpected error message! EXP: invalid stack off=-79992 size=8 RES: 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root 0: (bf) r1 = r10 1: (07) r1 += -8 invalid stack off=-8 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #173/p unpriv: check that printk is disallowed FAIL Failed to load prog 'Invalid argument'! 0: (7a) *(u64 *)(r10 -8) = 0 1: (bf) r1 = r10 2: (07) r1 += -8 3: (b7) r2 = 8 4: (bf) r3 = r1 5: (85) call bpf_trace_printk#6 unknown func bpf_trace_printk#6 #185/p unpriv: spill/fill of different pointers ldx FAIL Unexpected error message! EXP: same insn cannot be used with different pointers RES: #193/u unpriv: adding of fp FAIL Failed to load prog 'Permission denied'! 0: (b7) r0 = 0 1: (b7) r1 = 0 2: (0f) r1 += r10 invalid stack off=0 size=1 R1 stack pointer arithmetic goes out of range, prohibited for !root #287/p constant register |= constant should keep constant type FAIL Failed to load prog 'Invalid argument'! #288/p constant register |= constant should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #289/p constant register |= constant register should keep constant type FAIL Failed to load prog 'Invalid argument'! #290/p constant register |= constant register should not bypass stack boundary checks FAIL Unexpected error message! EXP: invalid stack type R1 off=-48 access_size=58 RES: #306/p helper access to map: full range FAIL Failed to load prog 'Invalid argument'! #307/p helper access to map: partial range FAIL Failed to load prog 'Invalid argument'! #308/p helper access to map: empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=0 RES: #309/p helper access to map: out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=0 size=56 RES: #310/p helper access to map: negative range FAIL Unexpected error message! EXP: R2 min value is negative RES: #311/p helper access to adjusted map (via const imm): full range FAIL Failed to load prog 'Invalid argument'! #312/p helper access to adjusted map (via const imm): partial range FAIL Failed to load prog 'Invalid argument'! #313/p helper access to adjusted map (via const imm): empty range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=0 RES: #314/p helper access to adjusted map (via const imm): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #315/p helper access to adjusted map (via const imm): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #316/p helper access to adjusted map (via const imm): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #317/p helper access to adjusted map (via const reg): full range FAIL Failed to load prog 'Invalid argument'! #318/p helper access to adjusted map (via const reg): partial range FAIL Failed to load prog 'Invalid argument'! #319/p helper access to adjusted map (via const reg): empty range FAIL Unexpected error message! EXP: R1 min value is outside of the array range RES: #320/p helper access to adjusted map (via const reg): out-of-bound range FAIL Unexpected error message! EXP: invalid access to map value, value_size=48 off=4 size=52 RES: #321/p helper access to adjusted map (via const reg): negative range (> adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #322/p helper access to adjusted map (via const reg): negative range (< adjustment) FAIL Unexpected error message! EXP: R2 min value is negative RES: #323/p help