Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hikey:/opt/kselftests/mainline#
- hikey:/opt/kselftests/mainline# cat /proc/version
- Linux version 4.4.139-rc1+ ([email protected]) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Wed Jun 20 17:20:08 BST 2018
- hikey:/opt/kselftests/mainline# cat /proc/meminfo
- MemTotal: 1929112 kB
- MemFree: 1817668 kB
- MemAvailable: 1807208 kB
- Buffers: 4924 kB
- Cached: 44720 kB
- SwapCached: 0 kB
- Active: 30112 kB
- Inactive: 37888 kB
- Active(anon): 18624 kB
- Inactive(anon): 16512 kB
- Active(file): 11488 kB
- Inactive(file): 21376 kB
- Unevictable: 0 kB
- Mlocked: 0 kB
- SwapTotal: 0 kB
- SwapFree: 0 kB
- Dirty: 0 kB
- Writeback: 0 kB
- AnonPages: 20448 kB
- Mapped: 19120 kB
- Shmem: 16776 kB
- Slab: 30820 kB
- SReclaimable: 13796 kB
- SUnreclaim: 17024 kB
- KernelStack: 2368 kB
- PageTables: 724 kB
- NFS_Unstable: 0 kB
- Bounce: 0 kB
- WritebackTmp: 0 kB
- CommitLimit: 964556 kB
- Committed_AS: 131492 kB
- VmallocTotal: 258998208 kB
- VmallocUsed: 0 kB
- VmallocChunk: 0 kB
- AnonHugePages: 8192 kB
- CmaTotal: 131072 kB
- CmaFree: 130804 kB
- HugePages_Total: 0
- HugePages_Free: 0
- HugePages_Rsvd: 0
- HugePages_Surp: 0
- Hugepagesize: 2048 kB
- hikey:/opt/kselftests/mainline# cat /proc/meminfo cpuinfo i
- processor : 0
- BogoMIPS : 2.40
- Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- CPU implementer : 0x41
- CPU architecture: 8
- CPU variant : 0x0
- CPU part : 0xd03
- CPU revision : 3
- processor : 1
- BogoMIPS : 2.40
- Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- CPU implementer : 0x41
- CPU architecture: 8
- CPU variant : 0x0
- CPU part : 0xd03
- CPU revision : 3
- processor : 2
- BogoMIPS : 2.40
- Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- CPU implementer : 0x41
- CPU architecture: 8
- CPU variant : 0x0
- CPU part : 0xd03
- CPU revision : 3
- processor : 3
- BogoMIPS : 2.40
- Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- CPU implementer : 0x41
- CPU architecture: 8
- CPU variant : 0x0
- CPU part : 0xd03
- CPU revision : 3
- processor : 4
- BogoMIPS : 2.40
- Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- CPU implementer : 0x41
- CPU architecture: 8
- CPU variant : 0x0
- CPU part : 0xd03
- CPU revision : 3
- processor : 5
- BogoMIPS : 2.40
- Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- CPU implementer : 0x41
- CPU architecture: 8
- CPU variant : 0x0
- CPU part : 0xd03
- CPU revision : 3
- processor : 6
- BogoMIPS : 2.40
- Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- CPU implementer : 0x41
- CPU architecture: 8
- CPU variant : 0x0
- CPU part : 0xd03
- CPU revision : 3
- processor : 7
- BogoMIPS : 2.40
- Features : fp asimd evtstrm aes pmull sha1 sha2 crc32
- CPU implementer : 0x41
- CPU architecture: 8
- CPU variant : 0x0
- CPU part : 0xd03
- CPU revision : 3
- hikey:/opt/kselftests/mainline#
- hikey:/opt/kselftests/mainline#
- hikey:/opt/kselftests/mainline#
- hikey:/opt/kselftests/mainline# date
- Thu Jun 21 08:06:56 UTC 2018
- hikey:/opt/kselftests/mainline# ./run_kselftest.sh
- TAP version 13
- Running tests in andrkselftest: Running tests in android
- oid
- ========================================
- ion_test.sh: No /dev/ion device found
- ion_test.sh: May be CONFIG_ION is not set
- TAP version 13
- Running tests in bpf
- kselftest: Running tests in bpf
- ========================================
- #0/u add+sub+mul Unexpected bpf_prog_test_run error
- 0: (b7) r1 = 1
- 1: (07) r1 += 2
- 2: (b7) r2 = 3
- 3: (1f) r1 -= r2
- 4: (07) r1 += -1
- 5: (27) r1 *= 3
- 6: (bf) r0 = r1
- 7: (95) exit
- #0/p add+sub+mul Unexpected bpf_prog_test_run error
- 0: (b7) r1 = 1
- 1: (07) r1 += 2
- 2: (b7) r2 = 3
- 3: (1f) r1 -= r2
- 4: (07) r1 += -1
- 5: (27) r1 *= 3
- 6: (bf) r0 = r1
- 7: (95) exit
- #1/u DIV32 by 0, zero check 1 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 0
- 2: (b4) (u32) r2 = (u32) 1
- 3: (3c) (u32) r2 /= (u32) r1
- 4: (95) exit
- #1/p DIV32 by 0, zero check 1 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 0
- 2: (b4) (u32) r2 = (u32) 1
- 3: (3c) (u32) r2 /= (u32) r1
- 4: (95) exit
- #2/u DIV32 by 0, zero check 2 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (18) r1 = 0xffffffff00000000
- 3: (b4) (u32) r2 = (u32) 1
- 4: (3c) (u32) r2 /= (u32) r1
- 5: (95) exit
- #2/p DIV32 by 0, zero check 2 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (18) r1 = 0xffffffff00000000
- 3: (b4) (u32) r2 = (u32) 1
- 4: (3c) (u32) r2 /= (u32) r1
- 5: (95) exit
- #3/u DIV64 by 0, zero check Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 0
- 2: (b4) (u32) r2 = (u32) 1
- 3: (3f) r2 /= r1
- 4: (95) exit
- #3/p DIV64 by 0, zero check Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 0
- 2: (b4) (u32) r2 = (u32) 1
- 3: (3f) r2 /= r1
- 4: (95) exit
- #4/u MOD32 by 0, zero check 1 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 0
- 2: (b4) (u32) r2 = (u32) 1
- 3: (9c) (u32) r2 %= (u32) r1
- 4: (95) exit
- #4/p MOD32 by 0, zero check 1 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 0
- 2: (b4) (u32) r2 = (u32) 1
- 3: (9c) (u32) r2 %= (u32) r1
- 4: (95) exit
- #5/u MOD32 by 0, zero check 2 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (18) r1 = 0xffffffff00000000
- 3: (b4) (u32) r2 = (u32) 1
- 4: (9c) (u32) r2 %= (u32) r1
- 5: (95) exit
- #5/p MOD32 by 0, zero check 2 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (18) r1 = 0xffffffff00000000
- 3: (b4) (u32) r2 = (u32) 1
- 4: (9c) (u32) r2 %= (u32) r1
- 5: (95) exit
- #6/u MOD64 by 0, zero check Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 0
- 2: (b4) (u32) r2 = (u32) 1
- 3: (9f) r2 %= r1
- 4: (95) exit
- #6/p MOD64 by 0, zero check Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 0
- 2: (b4) (u32) r2 = (u32) 1
- 3: (9f) r2 %= r1
- 4: (95) exit
- #7/p DIV32 by 0, zero check ok, cls Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 2
- 2: (b4) (u32) r2 = (u32) 16
- 3: (3c) (u32) r2 /= (u32) r1
- 4: (bf) r0 = r2
- 5: (95) exit
- #8/p DIV32 by 0, zero check 1, cls Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r1 = (u32) 0
- 1: (b4) (u32) r0 = (u32) 1
- 2: (3c) (u32) r0 /= (u32) r1
- 3: (95) exit
- #9/p DIV32 by 0, zero check 2, cls Unexpected bpf_prog_test_run error
- 0: (18) r1 = 0xffffffff00000000
- 2: (b4) (u32) r0 = (u32) 1
- 3: (3c) (u32) r0 /= (u32) r1
- 4: (95) exit
- #10/p DIV64 by 0, zero check, cls Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r1 = (u32) 0
- 1: (b4) (u32) r0 = (u32) 1
- 2: (3f) r0 /= r1
- 3: (95) exit
- #11/p MOD32 by 0, zero check ok, cls Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) 42
- 1: (b4) (u32) r1 = (u32) 3
- 2: (b4) (u32) r2 = (u32) 5
- 3: (9c) (u32) r2 %= (u32) r1
- 4: (bf) r0 = r2
- 5: (95) exit
- #12/p MOD32 by 0, zero check 1, cls Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r1 = (u32) 0
- 1: (b4) (u32) r0 = (u32) 1
- 2: (9c) (u32) r0 %= (u32) r1
- 3: (95) exit
- #13/p MOD32 by 0, zero check 2, cls Unexpected bpf_prog_test_run error
- 0: (18) r1 = 0xffffffff00000000
- 2: (b4) (u32) r0 = (u32) 1
- 3: (9c) (u32) r0 %= (u32) r1
- 4: (95) exit
- #14/p MOD64 by 0, zero check 1, cls Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r1 = (u32) 0
- 1: (b4) (u32) r0 = (u32) 2
- 2: (9f) r0 %= r1
- 3: (95) exit
- #15/p MOD64 by 0, zero check 2, cls Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r1 = (u32) 0
- 1: (b4) (u32) r0 = (u32) -1
- 2: (9f) r0 %= r1
- 3: (95) exit
- #16/p DIV32 overflow, check 1 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r1 = (u32) -1
- 1: (b4) (u32) r0 = (u32) -2147483648
- 2: (3c) (u32) r0 /= (u32) r1
- 3: (95) exit
- #17/p DIV32 overflow, check 2 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) -2147483648
- 1: (34) (u32) r0 /= (u32) -1
- 2: (95) exit
- #18/p DIV64 overflow, check 1 Unexpected bpf_prog_test_run error
- 0: (b7) r1 = -1
- 1: (18) r0 = 0x8000000000000000
- 3: (3f) r0 /= r1
- 4: (95) exit
- #19/p DIV64 overflow, check 2 Unexpected bpf_prog_test_run error
- 0: (18) r0 = 0x8000000000000000
- 2: (37) r0 /= -1
- 3: (95) exit
- #20/p MOD32 overflow, check 1 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r1 = (u32) -1
- 1: (b4) (u32) r0 = (u32) -2147483648
- 2: (9c) (u32) r0 %= (u32) r1
- 3: (95) exit
- #21/p MOD32 overflow, check 2 Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r0 = (u32) -2147483648
- 1: (94) (u32) r0 %= (u32) -1
- 2: (95) exit
- #22/p MOD64 overflow, check 1 Unexpected bpf_prog_test_run error
- 0: (b7) r1 = -1
- 1: (18) r2 = 0x8000000000000000
- 3: (bf) r3 = r2
- 4: (9f) r2 %= r1
- 5: (b4) (u32) r0 = (u32) 0
- 6: (5d) if r3 != r2 goto pc+1
- R0=imm0 R1=imm-1 R2=inv R3=inv R10=fp
- 7: (b4) (u32) r0 = (u32) 1
- 8: (95) exit
- from 6 to 8: R0=imm0 R1=imm-1 R2=inv R3=inv R10=fp
- 8: (95) exit
- #23/p MOD64 overflow, check 2 Unexpected bpf_prog_test_run error
- 0: (18) r2 = 0x8000000000000000
- 2: (bf) r3 = r2
- 3: (97) r2 %= -1
- 4: (b4) (u32) r0 = (u32) 0
- 5: (5d) if r3 != r2 goto pc+1
- R0=imm0 R1=ctx R2=inv R3=inv R10=fp
- 6: (b4) (u32) r0 = (u32) 1
- 7: (95) exit
- from 5 to 7: R0=imm0 R1=ctx R2=inv R3=inv R10=fp
- 7: (95) exit
- #24/p xor32 zero extend check Unexpected bpf_prog_test_run error
- 0: (b4) (u32) r2 = (u32) -1
- 1: (67) r2 <<= 32
- 2: (47) r2 |= 65535
- 3: (ac) (u32) r2 ^= (u32) r2
- 4: (b4) (u32) r0 = (u32) 2
- 5: (55) if r2 != 0x0 goto pc+1
- R0=imm2 R1=ctx R2=imm0 R10=fp
- 6: (b4) (u32) r0 = (u32) 1
- 7: (95) exit
- from 5 to 7: R0=imm2 R1=ctx R2=inv R10=fp
- 7: (95) exit
- #25/u empty prog FAIL
- Unexpected error message!
- EXP: unknown opcode 00
- RES: jump out of range from insn 0 to 1
- jump out of range from insn 0 to 1
- #25/p empty prog FAIL
- Unexpected error message!
- EXP: unknown opcode 00
- RES: jump out of range from insn 0 to 1
- jump out of range from insn 0 to 1
- #26/u only exit insn OK
- #26/p only exit insn OK
- #27/u unreachable OK
- #27/p unreachable OK
- #28/u unreachable2 OK
- #28/p unreachable2 OK
- #29/u out of range jump OK
- #29/p out of range jump OK
- #30/u out of range jump2 OK
- #30/p out of range jump2 OK
- #31/u test1 ld_imm64 OK
- #31/p test1 ld_imm64 OK
- #32/u test2 ld_imm64 OK
- #32/p test2 ld_imm64 OK
- #33/u test3 ld_imm64 OK
- #33/p test3 ld_imm64 OK
- #34/u test4 ld_imm64 OK
- #34/p test4 ld_imm64 OK
- #35/u test5 ld_imm64 OK
- #35/p test5 ld_imm64 OK
- #36/u test6 ld_imm64 Unexpected bpf_prog_test_run error
- 0: (18) r0 = 0x0
- 2: (95) exit
- #36/p test6 ld_imm64 Unexpected bpf_prog_test_run error
- 0: (18) r0 = 0x0
- 2: (95) exit
- #37/u test7 ld_imm64 Unexpected bpf_prog_test_run error
- 0: (18) r0 = 0x100000001
- 2: (95) exit
- #37/p test7 ld_imm64 Unexpected bpf_prog_test_run error
- 0: (18) r0 = 0x100000001
- 2: (95) exit
- #38/u test8 ld_imm64 OK
- #38/p test8 ld_imm64 OK
- #39/u test9 ld_imm64 OK
- #39/p test9 ld_imm64 OK
- #40/u test10 ld_imm64 OK
- #40/p test10 ld_imm64 OK
- #41/u test11 ld_imm64 OK
- #41/p test11 ld_imm64 OK
- #42/u test12 ld_imm64 OK
- #42/p test12 ld_imm64 OK
- #43/u test13 ld_imm64 OK
- #43/p test13 ld_imm64 OK
- #44/u arsh32 on imm FAIL
- Unexpected error message!
- EXP: unknown opcode c4
- RES: 0: (b7) r0 = 1
- 1: (c4) (u32) r0 s>>= (u32) 5
- BPF_ARSH not supported for 32 bit ALU
- 0: (b7) r0 = 1
- 1: (c4) (u32) r0 s>>= (u32) 5
- BPF_ARSH not supported for 32 bit ALU
- #44/p arsh32 on imm FAIL
- Unexpected error message!
- EXP: unknown opcode c4
- RES: 0: (b7) r0 = 1
- 1: (c4) (u32) r0 s>>= (u32) 5
- BPF_ARSH not supported for 32 bit ALU
- 0: (b7) r0 = 1
- 1: (c4) (u32) r0 s>>= (u32) 5
- BPF_ARSH not supported for 32 bit ALU
- #45/u arsh32 on reg FAIL
- Unexpected error message!
- EXP: unknown opcode cc
- RES: 0: (b7) r0 = 1
- 1: (b7) r1 = 5
- 2: (cc) (u32) r0 s>>= (u32) r1
- BPF_ARSH not supported for 32 bit ALU
- 0: (b7) r0 = 1
- 1: (b7) r1 = 5
- 2: (cc) (u32) r0 s>>= (u32) r1
- BPF_ARSH not supported for 32 bit ALU
- #45/p arsh32 on reg FAIL
- Unexpected error message!
- EXP: unknown opcode cc
- RES: 0: (b7) r0 = 1
- 1: (b7) r1 = 5
- 2: (cc) (u32) r0 s>>= (u32) r1
- BPF_ARSH not supported for 32 bit ALU
- 0: (b7) r0 = 1
- 1: (b7) r1 = 5
- 2: (cc) (u32) r0 s>>= (u32) r1
- BPF_ARSH not supported for 32 bit ALU
- #46/u arsh64 on imm Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 1
- 1: (c7) r0 s>>= 5
- 2: (95) exit
- #46/p arsh64 on imm Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 1
- 1: (c7) r0 s>>= 5
- 2: (95) exit
- #47/u arsh64 on reg Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 1
- 1: (b7) r1 = 5
- 2: (cf) r0 s>>= r1
- 3: (95) exit
- #47/p arsh64 on reg Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 1
- 1: (b7) r1 = 5
- 2: (cf) r0 s>>= r1
- 3: (95) exit
- #48/u no bpf_exit FAIL
- Unexpected error message!
- EXP: not an exit
- RES: jump out of range from insn 0 to 1
- jump out of range from insn 0 to 1
- #48/p no bpf_exit FAIL
- Unexpected error message!
- EXP: not an exit
- RES: jump out of range from insn 0 to 1
- jump out of range from insn 0 to 1
- #49/u loop (back-edge) OK
- #49/p loop (back-edge) OK
- #50/u loop2 (back-edge) OK
- #50/p loop2 (back-edge) OK
- #51/u conditional loop OK
- #51/p conditional loop OK
- #52/u read uninitialized register OK
- #52/p read uninitialized register OK
- #53/u read invalid register OK
- #53/p read invalid register OK
- #54/u program doesn't init R0 before exit OK
- #54/p program doesn't init R0 before exit OK
- #55/u program doesn't init R0 before exit in all branches OK
- #55/p program doesn't init R0 before exit in all branches OK
- #56/u stack out of bounds OK
- #56/p stack out of bounds OK
- #57/u invalid call insn1 FAIL
- Unexpected error message!
- EXP: unknown opcode 8d
- RES: 0: (8d) call 0
- BPF_CALL uses reserved fields
- 0: (8d) call 0
- BPF_CALL uses reserved fields
- #57/p invalid call insn1 FAIL
- Unexpected error message!
- EXP: unknown opcode 8d
- RES: 0: (8d) call 0
- BPF_CALL uses reserved fields
- 0: (8d) call 0
- BPF_CALL uses reserved fields
- #58/u invalid call insn2 OK
- #58/p invalid call insn2 OK
- #59/u invalid function call FAIL
- Unexpected error message!
- EXP: invalid func unknown#1234567
- RES: 0: (85) call 1234567
- invalid func 1234567
- 0: (85) call 1234567
- invalid func 1234567
- #59/p invalid function call FAIL
- Unexpected error message!
- EXP: invalid func unknown#1234567
- RES: 0: (85) call 1234567
- invalid func 1234567
- 0: (85) call 1234567
- invalid func 1234567
- #60/u uninitialized stack1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid indirect read from stack
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #60/p uninitialized stack1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid indirect read from stack
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #61/u uninitialized stack2 OK
- #61/p uninitialized stack2 OK
- #62/u invalid fp arithmetic FAIL
- Unexpected error message!
- EXP: R1 subtraction from stack pointer
- RES: 0: (b7) r0 = 0
- 1: (bf) r1 = r10
- 2: (17) r1 -= 8
- R1 pointer arithmetic prohibited
- 0: (b7) r0 = 0
- 1: (bf) r1 = r10
- 2: (17) r1 -= 8
- R1 pointer arithmetic prohibited
- #62/p invalid fp arithmetic FAIL
- Unexpected error message!
- EXP: R1 subtraction from stack pointer
- RES: 0: (b7) r0 = 0
- 1: (bf) r1 = r10
- 2: (17) r1 -= 8
- 3: (7b) *(u64 *)(r1 +0) = r0
- R1 invalid mem access 'inv'
- 0: (b7) r0 = 0
- 1: (bf) r1 = r10
- 2: (17) r1 -= 8
- 3: (7b) *(u64 *)(r1 +0) = r0
- R1 invalid mem access 'inv'
- #63/u non-invalid fp arithmetic Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 0
- 1: (7b) *(u64 *)(r10 -8) = r0
- 2: (95) exit
- #63/p non-invalid fp arithmetic Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 0
- 1: (7b) *(u64 *)(r10 -8) = r0
- 2: (95) exit
- #64/p invalid argument register OK
- #65/p non-invalid argument register Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r1
- 1: (85) call 17
- 2: (bf) r1 = r6
- 3: (85) call 17
- 4: (95) exit
- #66/u check valid spill/fill OK
- #66/p check valid spill/fill Unexpected bpf_prog_test_run error
- 0: (7b) *(u64 *)(r10 -8) = r1
- 1: (79) r2 = *(u64 *)(r10 -8)
- 2: (bf) r0 = r2
- 3: (95) exit
- #67/u check valid spill/fill, skb mark Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r1
- 1: (7b) *(u64 *)(r10 -8) = r6
- 2: (79) r0 = *(u64 *)(r10 -8)
- 3: (61) r0 = *(u32 *)(r0 +8)
- 4: (95) exit
- #67/p check valid spill/fill, skb mark Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r1
- 1: (7b) *(u64 *)(r10 -8) = r6
- 2: (79) r0 = *(u64 *)(r10 -8)
- 3: (61) r0 = *(u32 *)(r0 +8)
- 4: (95) exit
- #68/u check corrupted spill/fill OK
- #68/p check corrupted spill/fill OK
- #69/u invalid src register in STX OK
- #69/p invalid src register in STX OK
- #70/u invalid dst register in STX OK
- #70/p invalid dst register in STX OK
- #71/u invalid dst register in ST OK
- #71/p invalid dst register in ST OK
- #72/u invalid src register in LDX OK
- #72/p invalid src register in LDX OK
- #73/u invalid dst register in LDX OK
- #73/p invalid dst register in LDX OK
- #74/u junk insn FAIL
- Unexpected error message!
- EXP: unknown opcode 00
- RES: 0: BUG_ld_00
- invalid BPF_LD_IMM insn
- 0: BUG_ld_00
- invalid BPF_LD_IMM insn
- #74/p junk insn FAIL
- Unexpected error message!
- EXP: unknown opcode 00
- RES: 0: BUG_ld_00
- invalid BPF_LD_IMM insn
- 0: BUG_ld_00
- invalid BPF_LD_IMM insn
- #75/u junk insn2 OK
- #75/p junk insn2 OK
- #76/u junk insn3 FAIL
- Unexpected error message!
- EXP: unknown opcode ff
- RES: 0: (ff) r0 (null) r0
- invalid BPF_ALU opcode f0
- 0: (ff) r0 (null) r0
- invalid BPF_ALU opcode f0
- #76/p junk insn3 FAIL
- Unexpected error message!
- EXP: unknown opcode ff
- RES: 0: (ff) r0 (null) r0
- invalid BPF_ALU opcode f0
- 0: (ff) r0 (null) r0
- invalid BPF_ALU opcode f0
- #77/u junk insn4 FAIL
- Unexpected error message!
- EXP: unknown opcode ff
- RES: 0: (ff) r15 (null) r15
- invalid BPF_ALU opcode f0
- 0: (ff) r15 (null) r15
- invalid BPF_ALU opcode f0
- #77/p junk insn4 FAIL
- Unexpected error message!
- EXP: unknown opcode ff
- RES: 0: (ff) r15 (null) r15
- invalid BPF_ALU opcode f0
- 0: (ff) r15 (null) r15
- invalid BPF_ALU opcode f0
- #78/u junk insn5 OK
- #78/p junk insn5 OK
- #79/u misaligned read from stack FAIL
- Unexpected error message!
- EXP: misaligned stack access
- RES: 0: (bf) r2 = r10
- 1: (79) r0 = *(u64 *)(r2 -4)
- misaligned access off -4 size 8
- 0: (bf) r2 = r10
- 1: (79) r0 = *(u64 *)(r2 -4)
- misaligned access off -4 size 8
- #79/p misaligned read from stack FAIL
- Unexpected error message!
- EXP: misaligned stack access
- RES: 0: (bf) r2 = r10
- 1: (79) r0 = *(u64 *)(r2 -4)
- misaligned access off -4 size 8
- 0: (bf) r2 = r10
- 1: (79) r0 = *(u64 *)(r2 -4)
- misaligned access off -4 size 8
- #80/u invalid map_fd for function call OK
- #80/p invalid map_fd for function call OK
- #81/u don't check return value before access Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'map_value_or_null'
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #81/p don't check return value before access Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'map_value_or_null'
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #82/u access memory with incorrect alignment Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: misaligned value access
- RES:
- #82/p access memory with incorrect alignment Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: misaligned value access
- RES:
- #83/u sometimes access memory with incorrect alignment Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES:
- #83/p sometimes access memory with incorrect alignment Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 invalid mem access
- RES:
- #84/u jump test 1 OK
- #84/p jump test 1 Unexpected bpf_prog_test_run error
- 0: (bf) r2 = r10
- 1: (7b) *(u64 *)(r2 -8) = r1
- 2: (15) if r1 == 0x0 goto pc+1
- R1=ctx R2=fp R10=fp fp-8=ctx
- 3: (7a) *(u64 *)(r2 -8) = 0
- 4: (15) if r1 == 0x1 goto pc+1
- R1=ctx R2=fp R10=fp
- 5: (7a) *(u64 *)(r2 -16) = 1
- 6: (15) if r1 == 0x2 goto pc+1
- R1=ctx R2=fp R10=fp
- 7: (7a) *(u64 *)(r2 -8) = 2
- 8: (15) if r1 == 0x3 goto pc+1
- R1=ctx R2=fp R10=fp
- 9: (7a) *(u64 *)(r2 -16) = 3
- 10: (15) if r1 == 0x4 goto pc+1
- R1=ctx R2=fp R10=fp
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: (15) if r1 == 0x5 goto pc+1
- R1=ctx R2=fp R10=fp
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: R1=imm5 R2=fp R10=fp
- 14: (b7) r0 = 0
- 15: (95) exit
- from 10 to 12: R1=imm4 R2=fp R10=fp
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm4 R2=fp R10=fp
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: safe
- from 8 to 10: R1=imm3 R2=fp R10=fp
- 10: (15) if r1 == 0x4 goto pc+1
- R1=imm3 R2=fp R10=fp
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm3 R2=fp R10=fp
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: safe
- from 10 to 12: safe
- from 6 to 8: R1=imm2 R2=fp R10=fp
- 8: (15) if r1 == 0x3 goto pc+1
- R1=imm2 R2=fp R10=fp
- 9: (7a) *(u64 *)(r2 -16) = 3
- 10: (15) if r1 == 0x4 goto pc+1
- R1=imm2 R2=fp R10=fp
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm2 R2=fp R10=fp
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: safe
- from 10 to 12: safe
- from 8 to 10: safe
- from 4 to 6: R1=imm1 R2=fp R10=fp
- 6: (15) if r1 == 0x2 goto pc+1
- R1=imm1 R2=fp R10=fp
- 7: (7a) *(u64 *)(r2 -8) = 2
- 8: (15) if r1 == 0x3 goto pc+1
- R1=imm1 R2=fp R10=fp
- 9: (7a) *(u64 *)(r2 -16) = 3
- 10: (15) if r1 == 0x4 goto pc+1
- R1=imm1 R2=fp R10=fp
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm1 R2=fp R10=fp
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: safe
- from 10 to 12: safe
- from 8 to 10: R1=imm3 R2=fp R10=fp
- 10: (15) if r1 == 0x4 goto pc+1
- R1=imm3 R2=fp R10=fp
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm3 R2=fp R10=fp
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: R1=imm5 R2=fp R10=fp
- 14: (b7) r0 = 0
- 15: (95) exit
- from 10 to 12: R1=imm4 R2=fp R10=fp
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm4 R2=fp R10=fp
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: safe
- from 6 to 8: R1=imm2 R2=fp R10=fp
- 8: (15) if r1 == 0x3 goto pc+1
- R1=imm2 R2=fp R10=fp
- 9: (7a) *(u64 *)(r2 -16) = 3
- 10: safe
- from 8 to 10: safe
- from 2 to 4: R1=imm0 R2=fp R10=fp fp-8=ctx
- 4: (15) if r1 == 0x1 goto pc+1
- R1=imm0 R2=fp R10=fp fp-8=ctx
- 5: (7a) *(u64 *)(r2 -16) = 1
- 6: (15) if r1 == 0x2 goto pc+1
- R1=imm0 R2=fp R10=fp fp-8=ctx
- 7: (7a) *(u64 *)(r2 -8) = 2
- 8: (15) if r1 == 0x3 goto pc+1
- R1=imm0 R2=fp R10=fp
- 9: (7a) *(u64 *)(r2 -16) = 3
- 10: (15) if r1 == 0x4 goto pc+1
- R1=imm0 R2=fp R10=fp
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm0 R2=fp R10=fp
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: safe
- from 10 to 12: safe
- from 8 to 10: safe
- from 6 to 8: R1=imm2 R2=fp R10=fp fp-8=ctx
- 8: (15) if r1 == 0x3 goto pc+1
- R1=imm2 R2=fp R10=fp fp-8=ctx
- 9: (7a) *(u64 *)(r2 -16) = 3
- 10: (15) if r1 == 0x4 goto pc+1
- R1=imm2 R2=fp R10=fp fp-8=ctx
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: safe
- from 10 to 12: R1=imm4 R2=fp R10=fp fp-8=ctx
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm4 R2=fp R10=fp fp-8=ctx
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: R1=imm5 R2=fp R10=fp fp-8=ctx
- 14: (b7) r0 = 0
- 15: (95) exit
- from 8 to 10: R1=imm3 R2=fp R10=fp fp-8=ctx
- 10: (15) if r1 == 0x4 goto pc+1
- R1=imm3 R2=fp R10=fp fp-8=ctx
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: safe
- from 10 to 12: safe
- from 4 to 6: R1=imm1 R2=fp R10=fp fp-8=ctx
- 6: (15) if r1 == 0x2 goto pc+1
- R1=imm1 R2=fp R10=fp fp-8=ctx
- 7: (7a) *(u64 *)(r2 -8) = 2
- 8: safe
- from 6 to 8: R1=imm2 R2=fp R10=fp fp-8=ctx
- 8: (15) if r1 == 0x3 goto pc+1
- R1=imm2 R2=fp R10=fp fp-8=ctx
- 9: (7a) *(u64 *)(r2 -16) = 3
- 10: safe
- from 8 to 10: R1=imm3 R2=fp R10=fp fp-8=ctx
- 10: (15) if r1 == 0x4 goto pc+1
- R1=imm3 R2=fp R10=fp fp-8=ctx
- 11: (7a) *(u64 *)(r2 -8) = 4
- 12: safe
- from 10 to 12: R1=imm4 R2=fp R10=fp fp-8=ctx
- 12: (15) if r1 == 0x5 goto pc+1
- R1=imm4 R2=fp R10=fp fp-8=ctx
- 13: (7a) *(u64 *)(r2 -32) = 5
- 14: (b7) r0 = 0
- 15: (95) exit
- from 12 to 14: R1=imm5 R2=fp R10=fp fp-8=ctx
- 14: (b7) r0 = 0
- 15: (95) exit
- #85/u jump test 2 OK
- #85/p jump test 2 Unexpected bpf_prog_test_run error
- 0: (bf) r2 = r10
- 1: (15) if r1 == 0x0 goto pc+2
- R1=ctx R2=fp R10=fp
- 2: (7a) *(u64 *)(r2 -8) = 0
- 3: (05) goto pc+14
- 18: (b7) r0 = 0
- 19: (95) exit
- from 1 to 4: R1=imm0 R2=fp R10=fp
- 4: (15) if r1 == 0x1 goto pc+2
- R1=imm0 R2=fp R10=fp
- 5: (7a) *(u64 *)(r2 -16) = 0
- 6: (05) goto pc+11
- 18: (b7) r0 = 0
- 19: (95) exit
- from 4 to 7: R1=imm1 R2=fp R10=fp
- 7: (15) if r1 == 0x2 goto pc+2
- R1=imm1 R2=fp R10=fp
- 8: (7a) *(u64 *)(r2 -32) = 0
- 9: (05) goto pc+8
- 18: (b7) r0 = 0
- 19: (95) exit
- from 7 to 10: R1=imm2 R2=fp R10=fp
- 10: (15) if r1 == 0x3 goto pc+2
- R1=imm2 R2=fp R10=fp
- 11: (7a) *(u64 *)(r2 -40) = 0
- 12: (05) goto pc+5
- 18: (b7) r0 = 0
- 19: (95) exit
- from 10 to 13: R1=imm3 R2=fp R10=fp
- 13: (15) if r1 == 0x4 goto pc+2
- R1=imm3 R2=fp R10=fp
- 14: (7a) *(u64 *)(r2 -48) = 0
- 15: (05) goto pc+2
- 18: (b7) r0 = 0
- 19: (95) exit
- from 13 to 16: R1=imm4 R2=fp R10=fp
- 16: (15) if r1 == 0x5 goto pc+1
- R1=imm4 R2=fp R10=fp
- 17: (7a) *(u64 *)(r2 -56) = 0
- 18: (b7) r0 = 0
- 19: (95) exit
- from 16 to 18: R1=imm5 R2=fp R10=fp
- 18: (b7) r0 = 0
- 19: (95) exit
- #86/u jump test 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 pointer comparison
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #86/p jump test 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #87/u jump test 4 OK
- #87/p jump test 4 Unexpected bpf_prog_test_run error
- 0: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 1: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 2: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 3: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 4: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 5: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 6: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 7: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 8: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 9: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 10: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 11: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 12: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 13: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 14: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 15: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 16: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 17: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 18: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 19: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 20: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 21: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 22: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 23: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 24: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 25: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 26: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 27: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 28: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 29: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 30: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 31: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 32: (15) if r1 == 0xa goto pc+1
- R1=ctx R10=fp
- 33: (15) if r1 == 0xa goto pc+2
- R1=ctx R10=fp
- 34: (15) if r1 == 0xa goto pc+3
- R1=ctx R10=fp
- 35: (15) if r1 == 0xa goto pc+4
- R1=ctx R10=fp
- 36: (15) if r1 == 0xa goto pc+0
- R1=ctx R10=fp
- 37: (15) if r1 == 0xa goto pc+0
- R1=ctx R10=fp
- 38: (15) if r1 == 0xa goto pc+0
- R1=ctx R10=fp
- 39: (15) if r1 == 0xa goto pc+0
- R1=ctx R10=fp
- 40: (b7) r0 = 0
- 41: (95) exit
- from 39 to 40: R1=imm10 R10=fp
- 40: (b7) r0 = 0
- 41: (95) exit
- from 38 to 39: R1=imm10 R10=fp
- 39: (15) if r1 == 0xa goto pc+0
- 40: safe
- from 37 to 38: R1=imm10 R10=fp
- 38: (15) if r1 == 0xa goto pc+0
- 39: safe
- from 36 to 37: R1=imm10 R10=fp
- 37: (15) if r1 == 0xa goto pc+0
- 38: safe
- from 35 to 40: safe
- from 34 to 38: safe
- from 33 to 36: R1=imm10 R10=fp
- 36: (15) if r1 == 0xa goto pc+0
- 37: safe
- from 32 to 34: R1=imm10 R10=fp
- 34: (15) if r1 == 0xa goto pc+3
- 38: safe
- from 31 to 36: safe
- from 30 to 34: safe
- from 29 to 32: R1=imm10 R10=fp
- 32: (15) if r1 == 0xa goto pc+1
- 34: safe
- from 28 to 30: R1=imm10 R10=fp
- 30: (15) if r1 == 0xa goto pc+3
- 34: safe
- from 27 to 32: safe
- from 26 to 30: safe
- from 25 to 28: R1=imm10 R10=fp
- 28: (15) if r1 == 0xa goto pc+1
- 30: safe
- from 24 to 26: R1=imm10 R10=fp
- 26: (15) if r1 == 0xa goto pc+3
- 30: safe
- from 23 to 28: safe
- from 22 to 26: safe
- from 21 to 24: R1=imm10 R10=fp
- 24: (15) if r1 == 0xa goto pc+1
- 26: safe
- from 20 to 22: R1=imm10 R10=fp
- 22: (15) if r1 == 0xa goto pc+3
- 26: safe
- from 19 to 24: safe
- from 18 to 22: safe
- from 17 to 20: R1=imm10 R10=fp
- 20: (15) if r1 == 0xa goto pc+1
- 22: safe
- from 16 to 18: R1=imm10 R10=fp
- 18: (15) if r1 == 0xa goto pc+3
- 22: safe
- from 15 to 20: safe
- from 14 to 18: safe
- from 13 to 16: R1=imm10 R10=fp
- 16: (15) if r1 == 0xa goto pc+1
- 18: safe
- from 12 to 14: R1=imm10 R10=fp
- 14: (15) if r1 == 0xa goto pc+3
- 18: safe
- from 11 to 16: safe
- from 10 to 14: safe
- from 9 to 12: R1=imm10 R10=fp
- 12: (15) if r1 == 0xa goto pc+1
- 14: safe
- from 8 to 10: R1=imm10 R10=fp
- 10: (15) if r1 == 0xa goto pc+3
- 14: safe
- from 7 to 12: safe
- from 6 to 10: safe
- from 5 to 8: R1=imm10 R10=fp
- 8: (15) if r1 == 0xa goto pc+1
- 10: safe
- from 4 to 6: R1=imm10 R10=fp
- 6: (15) if r1 == 0xa goto pc+3
- 10: safe
- from 3 to 8: safe
- from 2 to 6: safe
- from 1 to 4: R1=imm10 R10=fp
- 4: (15) if r1 == 0xa goto pc+1
- 6: safe
- from 0 to 2: R1=imm10 R10=fp
- 2: (15) if r1 == 0xa goto pc+3
- 6: safe
- #88/u jump test 5 OK
- #88/p jump test 5 Unexpected bpf_prog_test_run error
- 0: (bf) r2 = r10
- 1: (bf) r3 = r2
- 2: (35) if r1 >= 0x0 goto pc+2
- R1=ctx R2=fp R3=fp R10=fp
- 3: (7b) *(u64 *)(r2 -8) = r3
- 4: (05) goto pc+2
- 7: (b7) r0 = 0
- 8: (35) if r1 >= 0x0 goto pc+2
- R0=imm0 R1=ctx R2=fp R3=fp R10=fp fp-8=fp
- 9: (7b) *(u64 *)(r2 -8) = r3
- 10: (05) goto pc+2
- 13: (b7) r0 = 0
- 14: (35) if r1 >= 0x0 goto pc+2
- R0=imm0 R1=ctx R2=fp R3=fp R10=fp fp-8=fp
- 15: (7b) *(u64 *)(r2 -8) = r3
- 16: (05) goto pc+2
- 19: (b7) r0 = 0
- 20: (35) if r1 >= 0x0 goto pc+2
- R0=imm0 R1=ctx R2=fp R3=fp R10=fp fp-8=fp
- 21: (7b) *(u64 *)(r2 -8) = r3
- 22: (05) goto pc+2
- 25: (b7) r0 = 0
- 26: (35) if r1 >= 0x0 goto pc+2
- R0=imm0 R1=ctx R2=fp R3=fp R10=fp fp-8=fp
- 27: (7b) *(u64 *)(r2 -8) = r3
- 28: (05) goto pc+2
- 31: (b7) r0 = 0
- 32: (95) exit
- from 26 to 29: R0=imm0 R1=ctx R2=fp R3=fp R10=fp fp-8=fp
- 29: (7b) *(u64 *)(r2 -8) = r2
- 30: (05) goto pc+0
- 31: safe
- from 20 to 23: R0=imm0 R1=ctx R2=fp R3=fp R10=fp fp-8=fp
- 23: (7b) *(u64 *)(r2 -8) = r2
- 24: (05) goto pc+0
- 25: safe
- from 14 to 17: R0=imm0 R1=ctx R2=fp R3=fp R10=fp fp-8=fp
- 17: (7b) *(u64 *)(r2 -8) = r2
- 18: (05) goto pc+0
- 19: safe
- from 8 to 11: R0=imm0 R1=ctx R2=fp R3=fp R10=fp fp-8=fp
- 11: (7b) *(u64 *)(r2 -8) = r2
- 12: (05) goto pc+0
- 13: safe
- from 2 to 5: R1=ctx R2=fp R3=fp R10=fp
- 5: (7b) *(u64 *)(r2 -8) = r2
- 6: (05) goto pc+0
- 7: safe
- #89/u access skb fields ok FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r0 = *(u32 *)(r1 +0)
- 1: (35) if r0 >= 0x0 goto pc+1
- R0=inv R1=ctx R10=fp
- 2: (61) r0 = *(u32 *)(r1 +8)
- 3: (35) if r0 >= 0x0 goto pc+1
- R0=inv R1=ctx R10=fp
- 4: (61) r0 = *(u32 *)(r1 +4)
- 5: (35) if r0 >= 0x0 goto pc+1
- R0=inv R1=ctx R10=fp
- 6: (61) r0 = *(u32 *)(r1 +12)
- 7: (35) if r0 >= 0x0 goto pc+0
- R0=inv R1=ctx R10=fp
- 8: (61) r0 = *(u32 *)(r1 +16)
- 9: (35) if r0 >= 0x0 goto pc+0
- R0=inv R1=ctx R10=fp
- 10: (61) r0 = *(u32 *)(r1 +20)
- 11: (35) if r0 >= 0x0 goto pc+0
- R0=inv R1=ctx R10=fp
- 12: (61) r0 = *(u32 *)(r1 +24)
- 13: (35) if r0 >= 0x0 goto pc+0
- R0=inv R1=ctx R10=fp
- 14: (61) r0 = *(u32 *)(r1 +84)
- invalid bpf_context access off=84 size=4
- #89/p access skb fields ok FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r0 = *(u32 *)(r1 +0)
- 1: (35) if r0 >= 0x0 goto pc+1
- R0=inv R1=ctx R10=fp
- 2: (61) r0 = *(u32 *)(r1 +8)
- 3: (35) if r0 >= 0x0 goto pc+1
- R0=inv R1=ctx R10=fp
- 4: (61) r0 = *(u32 *)(r1 +4)
- 5: (35) if r0 >= 0x0 goto pc+1
- R0=inv R1=ctx R10=fp
- 6: (61) r0 = *(u32 *)(r1 +12)
- 7: (35) if r0 >= 0x0 goto pc+0
- R0=inv R1=ctx R10=fp
- 8: (61) r0 = *(u32 *)(r1 +16)
- 9: (35) if r0 >= 0x0 goto pc+0
- R0=inv R1=ctx R10=fp
- 10: (61) r0 = *(u32 *)(r1 +20)
- 11: (35) if r0 >= 0x0 goto pc+0
- R0=inv R1=ctx R10=fp
- 12: (61) r0 = *(u32 *)(r1 +24)
- 13: (35) if r0 >= 0x0 goto pc+0
- R0=inv R1=ctx R10=fp
- 14: (61) r0 = *(u32 *)(r1 +84)
- invalid bpf_context access off=84 size=4
- #90/u access skb fields bad1 OK
- #90/p access skb fields bad1 OK
- #91/u access skb fields bad2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 pointer comparison
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #91/p access skb fields bad2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: different pointers
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #92/u access skb fields bad3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 pointer comparison
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #92/p access skb fields bad3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: different pointers
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #93/u access skb fields bad4 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 pointer comparison
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #93/p access skb fields bad4 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: different pointers
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #94/u invalid access __sk_buff family OK
- #94/p invalid access __sk_buff family OK
- #95/u invalid access __sk_buff remote_ip4 OK
- #95/p invalid access __sk_buff remote_ip4 OK
- #96/u invalid access __sk_buff local_ip4 OK
- #96/p invalid access __sk_buff local_ip4 OK
- #97/u invalid access __sk_buff remote_ip6 OK
- #97/p invalid access __sk_buff remote_ip6 OK
- #98/u invalid access __sk_buff local_ip6 OK
- #98/p invalid access __sk_buff local_ip6 OK
- #99/u invalid access __sk_buff remote_port OK
- #99/p invalid access __sk_buff remote_port OK
- #100/u invalid access __sk_buff remote_port OK
- #100/p invalid access __sk_buff remote_port OK
- #101/p valid access __sk_buff family FAIL
- Failed to load prog 'Invalid argument'!
- #102/p valid access __sk_buff remote_ip4 FAIL
- Failed to load prog 'Invalid argument'!
- #103/p valid access __sk_buff local_ip4 FAIL
- Failed to load prog 'Invalid argument'!
- #104/p valid access __sk_buff remote_ip6 FAIL
- Failed to load prog 'Invalid argument'!
- #105/p valid access __sk_buff local_ip6 FAIL
- Failed to load prog 'Invalid argument'!
- #106/p valid access __sk_buff remote_port FAIL
- Failed to load prog 'Invalid argument'!
- #107/p valid access __sk_buff remote_port FAIL
- Failed to load prog 'Invalid argument'!
- #108/p invalid access of tc_classid for SK_SKB FAIL
- Unexpected error message!
- EXP: invalid bpf_context access
- RES:
- #109/p invalid access of skb->mark for SK_SKB FAIL
- Unexpected error message!
- EXP: invalid bpf_context access
- RES:
- #110/p check skb->mark is not writeable by SK_SKB FAIL
- Unexpected error message!
- EXP: invalid bpf_context access
- RES:
- #111/p check skb->tc_index is writeable by SK_SKB FAIL
- Failed to load prog 'Invalid argument'!
- #112/p check skb->priority is writeable by SK_SKB FAIL
- Failed to load prog 'Invalid argument'!
- #113/p direct packet read for SK_SKB FAIL
- Failed to load prog 'Invalid argument'!
- #114/p direct packet write for SK_SKB FAIL
- Failed to load prog 'Invalid argument'!
- #115/p overlapping checks for direct packet access SK_SKB FAIL
- Failed to load prog 'Invalid argument'!
- #116/p direct packet read for SK_MSG FAIL
- Failed to load prog 'Invalid argument'!
- #117/p direct packet write for SK_MSG FAIL
- Failed to load prog 'Invalid argument'!
- #118/p overlapping checks for direct packet access SK_MSG FAIL
- Failed to load prog 'Invalid argument'!
- #119/u check skb->mark is not writeable by sockets OK
- #119/p check skb->mark is not writeable by sockets OK
- #120/u check skb->tc_index is not writeable by sockets OK
- #120/p check skb->tc_index is not writeable by sockets OK
- #121/u check cb access: byte FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 0
- 1: (73) *(u8 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=1
- #121/p check cb access: byte FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 0
- 1: (73) *(u8 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=1
- #122/u __sk_buff->hash, offset 0, byte store not permitted OK
- #122/p __sk_buff->hash, offset 0, byte store not permitted OK
- #123/u __sk_buff->tc_index, offset 3, byte store not permitted OK
- #123/p __sk_buff->tc_index, offset 3, byte store not permitted OK
- #124/u check skb->hash 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
- #124/p check skb->hash 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
- #125/u check skb->hash byte load not permitted 1 OK
- #125/p check skb->hash byte load not permitted 1 OK
- #126/u check skb->hash byte load not permitted 2 OK
- #126/p check skb->hash byte load not permitted 2 OK
- #127/u check skb->hash byte load not permitted 3 OK
- #127/p check skb->hash byte load not permitted 3 OK
- #128/p check cb access: byte, wrong type FAIL
- Unexpected error message!
- EXP: invalid bpf_context access
- RES:
- #129/u check cb access: half FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 0
- 1: (6b) *(u16 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=2
- #129/p check cb access: half FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 0
- 1: (6b) *(u16 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=2
- #130/u check cb access: half, unaligned FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #130/p check cb access: half, unaligned FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #131/u check __sk_buff->hash, offset 0, half store not permitted OK
- #131/p check __sk_buff->hash, offset 0, half store not permitted OK
- #132/u check __sk_buff->tc_index, offset 2, half store not permitted OK
- #132/p check __sk_buff->tc_index, offset 2, half store not permitted OK
- #133/u check skb->hash 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
- #133/p check skb->hash 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
- #134/u check skb->hash half load not permitted OK
- #134/p check skb->hash half load not permitted OK
- #135/p check cb access: half, wrong type FAIL
- Unexpected error message!
- EXP: invalid bpf_context access
- RES:
- #136/u check cb access: word Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 0
- 1: (63) *(u32 *)(r1 +48) = r0
- 2: (63) *(u32 *)(r1 +52) = r0
- 3: (63) *(u32 *)(r1 +56) = r0
- 4: (63) *(u32 *)(r1 +60) = r0
- 5: (63) *(u32 *)(r1 +64) = r0
- 6: (61) r0 = *(u32 *)(r1 +48)
- 7: (61) r0 = *(u32 *)(r1 +52)
- 8: (61) r0 = *(u32 *)(r1 +56)
- 9: (61) r0 = *(u32 *)(r1 +60)
- 10: (61) r0 = *(u32 *)(r1 +64)
- 11: (95) exit
- #136/p check cb access: word Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 0
- 1: (63) *(u32 *)(r1 +48) = r0
- 2: (63) *(u32 *)(r1 +52) = r0
- 3: (63) *(u32 *)(r1 +56) = r0
- 4: (63) *(u32 *)(r1 +60) = r0
- 5: (63) *(u32 *)(r1 +64) = r0
- 6: (61) r0 = *(u32 *)(r1 +48)
- 7: (61) r0 = *(u32 *)(r1 +52)
- 8: (61) r0 = *(u32 *)(r1 +56)
- 9: (61) r0 = *(u32 *)(r1 +60)
- 10: (61) r0 = *(u32 *)(r1 +64)
- 11: (95) exit
- #137/u check cb access: word, unaligned 1 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #137/p check cb access: word, unaligned 1 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #138/u check cb access: word, unaligned 2 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #138/p check cb access: word, unaligned 2 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #139/u check cb access: word, unaligned 3 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #139/p check cb access: word, unaligned 3 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #140/u check cb access: word, unaligned 4 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #140/p check cb access: word, unaligned 4 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #141/u check cb access: double FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 0
- 1: (7b) *(u64 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=8
- #141/p check cb access: double FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 0
- 1: (7b) *(u64 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=8
- #142/u check cb access: double, unaligned 1 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #142/p check cb access: double, unaligned 1 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #143/u check cb access: double, unaligned 2 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #143/p check cb access: double, unaligned 2 FAIL
- Unexpected error message!
- EXP: misaligned context access
- RES:
- #144/u check cb access: double, oob 1 OK
- #144/p check cb access: double, oob 1 OK
- #145/u check cb access: double, oob 2 OK
- #145/p check cb access: double, oob 2 OK
- #146/u check __sk_buff->ifindex dw store not permitted OK
- #146/p check __sk_buff->ifindex dw store not permitted OK
- #147/u check __sk_buff->ifindex dw load not permitted OK
- #147/p check __sk_buff->ifindex dw load not permitted OK
- #148/p check cb access: double, wrong type FAIL
- Unexpected error message!
- EXP: invalid bpf_context access
- RES:
- #149/p check out of range skb->cb access OK
- #150/u write skb fields from socket prog OK
- #150/p write skb fields from socket prog Unexpected bpf_prog_test_run error
- 0: (61) r0 = *(u32 *)(r1 +64)
- 1: (35) if r0 >= 0x0 goto pc+1
- R0=inv R1=ctx R10=fp
- 2: (61) r0 = *(u32 *)(r1 +8)
- 3: (61) r0 = *(u32 *)(r1 +44)
- 4: (35) if r0 >= 0x0 goto pc+1
- R0=inv R1=ctx R10=fp
- 5: (63) *(u32 *)(r1 +48) = r1
- 6: (63) *(u32 *)(r1 +56) = r1
- 7: (95) exit
- from 4 to 6: safe
- from 1 to 3: safe
- #151/p write skb fields from tc_cls_act prog Unexpected bpf_prog_test_run error
- 0: (61) r0 = *(u32 *)(r1 +48)
- 1: (63) *(u32 *)(r1 +8) = r0
- 2: (61) r0 = *(u32 *)(r1 +44)
- 3: (63) *(u32 *)(r1 +44) = r0
- 4: (63) *(u32 *)(r1 +60) = r0
- 5: (95) exit
- #152/u PTR_TO_STACK store/load Unexpected bpf_prog_test_run error
- 0: (bf) r1 = r10
- 1: (07) r1 += -10
- 2: (7a) *(u64 *)(r1 +2) = -87117812
- 3: (79) r0 = *(u64 *)(r1 +2)
- 4: (95) exit
- #152/p PTR_TO_STACK store/load Unexpected bpf_prog_test_run error
- 0: (bf) r1 = r10
- 1: (07) r1 += -10
- 2: (7a) *(u64 *)(r1 +2) = -87117812
- 3: (79) r0 = *(u64 *)(r1 +2)
- 4: (95) exit
- #153/u PTR_TO_STACK store/load - bad alignment on off FAIL
- Unexpected error message!
- EXP: misaligned stack access off (0x0; 0x0)+-8+2 size 8
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += -8
- 2: (7a) *(u64 *)(r1 +2) = -87117812
- misaligned access off -6 size 8
- 0: (bf) r1 = r10
- 1: (07) r1 += -8
- 2: (7a) *(u64 *)(r1 +2) = -87117812
- misaligned access off -6 size 8
- #153/p PTR_TO_STACK store/load - bad alignment on off FAIL
- Unexpected error message!
- EXP: misaligned stack access off (0x0; 0x0)+-8+2 size 8
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += -8
- 2: (7a) *(u64 *)(r1 +2) = -87117812
- misaligned access off -6 size 8
- 0: (bf) r1 = r10
- 1: (07) r1 += -8
- 2: (7a) *(u64 *)(r1 +2) = -87117812
- misaligned access off -6 size 8
- #154/u PTR_TO_STACK store/load - bad alignment on reg FAIL
- Unexpected error message!
- EXP: misaligned stack access off (0x0; 0x0)+-10+8 size 8
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += -10
- 2: (7a) *(u64 *)(r1 +8) = -87117812
- misaligned access off -2 size 8
- 0: (bf) r1 = r10
- 1: (07) r1 += -10
- 2: (7a) *(u64 *)(r1 +8) = -87117812
- misaligned access off -2 size 8
- #154/p PTR_TO_STACK store/load - bad alignment on reg FAIL
- Unexpected error message!
- EXP: misaligned stack access off (0x0; 0x0)+-10+8 size 8
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += -10
- 2: (7a) *(u64 *)(r1 +8) = -87117812
- misaligned access off -2 size 8
- 0: (bf) r1 = r10
- 1: (07) r1 += -10
- 2: (7a) *(u64 *)(r1 +8) = -87117812
- misaligned access off -2 size 8
- #155/u PTR_TO_STACK store/load - out of bounds low OK
- #155/p PTR_TO_STACK store/load - out of bounds low OK
- #156/u PTR_TO_STACK store/load - out of bounds high OK
- #156/p PTR_TO_STACK store/load - out of bounds high OK
- #157/u unpriv: return pointer OK
- #157/p unpriv: return pointer Unexpected bpf_prog_test_run error
- 0: (bf) r0 = r10
- 1: (95) exit
- #158/u unpriv: add const to pointer FAIL
- Failed to load prog 'Permission denied'!
- 0: (07) r1 += 8
- R1 pointer arithmetic prohibited
- #158/p unpriv: add const to pointer Unexpected bpf_prog_test_run error
- 0: (07) r1 += 8
- 1: (b7) r0 = 0
- 2: (95) exit
- #159/u unpriv: add pointer to pointer FAIL
- Unexpected error message!
- EXP: R1 pointer += pointer
- RES: 0: (0f) r1 += r10
- R1 pointer arithmetic prohibited
- 0: (0f) r1 += r10
- R1 pointer arithmetic prohibited
- #159/p unpriv: add pointer to pointer FAIL
- Unexpected success to load!
- 0: (0f) r1 += r10
- 1: (b7) r0 = 0
- 2: (95) exit
- #160/u unpriv: neg pointer OK
- #160/p unpriv: neg pointer Unexpected bpf_prog_test_run error
- 0: (87) r1 neg 0
- 1: (b7) r0 = 0
- 2: (95) exit
- #161/u unpriv: cmp pointer with const OK
- #161/p unpriv: cmp pointer with const Unexpected bpf_prog_test_run error
- 0: (15) if r1 == 0x0 goto pc+0
- R1=ctx R10=fp
- 1: (b7) r0 = 0
- 2: (95) exit
- from 0 to 1: R1=imm0 R10=fp
- 1: (b7) r0 = 0
- 2: (95) exit
- #162/u unpriv: cmp pointer with pointer OK
- #162/p unpriv: cmp pointer with pointer Unexpected bpf_prog_test_run error
- 0: (1d) if r1 == r10 goto pc+0
- R1=ctx R10=fp
- 1: (b7) r0 = 0
- 2: (95) exit
- from 0 to 1: safe
- #163/u unpriv: check that printk is disallowed FAIL
- Unexpected error message!
- EXP: unknown func bpf_trace_printk#6
- RES: 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 6
- unknown func 6
- 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 6
- unknown func 6
- #163/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 6
- unknown func 6
- #164/u unpriv: pass pointer to helper function Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R4 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #164/p unpriv: pass pointer to helper function Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #165/u unpriv: indirectly pass pointer on stack to helper function Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid indirect read from stack off -8+0 size 8
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #165/p unpriv: indirectly pass pointer on stack to helper function Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid indirect read from stack off -8+0 size 8
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #166/u unpriv: mangle pointer on stack 1 OK
- #166/p unpriv: mangle pointer on stack 1 Unexpected bpf_prog_test_run error
- 0: (7b) *(u64 *)(r10 -8) = r10
- 1: (62) *(u32 *)(r10 -8) = 0
- 2: (b7) r0 = 0
- 3: (95) exit
- #167/u unpriv: mangle pointer on stack 2 OK
- #167/p unpriv: mangle pointer on stack 2 Unexpected bpf_prog_test_run error
- 0: (7b) *(u64 *)(r10 -8) = r10
- 1: (72) *(u8 *)(r10 -1) = 0
- 2: (b7) r0 = 0
- 3: (95) exit
- #168/u unpriv: read pointer from stack in small chunks OK
- #168/p unpriv: read pointer from stack in small chunks OK
- #169/u unpriv: write pointer into ctx OK
- #169/p unpriv: write pointer into ctx OK
- #170/u unpriv: spill/fill of ctx Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r10
- 1: (07) r6 += -8
- 2: (7b) *(u64 *)(r6 +0) = r1
- 3: (79) r1 = *(u64 *)(r6 +0)
- 4: (b7) r0 = 0
- 5: (95) exit
- #170/p unpriv: spill/fill of ctx Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r10
- 1: (07) r6 += -8
- 2: (7b) *(u64 *)(r6 +0) = r1
- 3: (79) r1 = *(u64 *)(r6 +0)
- 4: (b7) r0 = 0
- 5: (95) exit
- #171/p unpriv: spill/fill of ctx 2 FAIL
- Failed to load prog 'Invalid argument'!
- 0: (bf) r6 = r10
- 1: (07) r6 += -8
- 2: (7b) *(u64 *)(r6 +0) = r1
- 3: (79) r1 = *(u64 *)(r6 +0)
- 4: (85) call 34
- invalid func 34
- #172/p unpriv: spill/fill of ctx 3 FAIL
- Unexpected error message!
- EXP: R1 type=fp expected=ctx
- RES: 0: (bf) r6 = r10
- 1: (07) r6 += -8
- 2: (7b) *(u64 *)(r6 +0) = r1
- 3: (7b) *(u64 *)(r6 +0) = r10
- 4: (79) r1 = *(u64 *)(r6 +0)
- 5: (85) call 34
- invalid func 34
- 0: (bf) r6 = r10
- 1: (07) r6 += -8
- 2: (7b) *(u64 *)(r6 +0) = r1
- 3: (7b) *(u64 *)(r6 +0) = r10
- 4: (79) r1 = *(u64 *)(r6 +0)
- 5: (85) call 34
- invalid func 34
- #173/p unpriv: spill/fill of ctx 4 FAIL
- Unexpected error message!
- EXP: R1 type=inv expected=ctx
- RES: 0: (bf) r6 = r10
- 1: (07) r6 += -8
- 2: (7b) *(u64 *)(r6 +0) = r1
- 3: (b7) r0 = 1
- 4: (db) lock *(u64 *)(r10 -8) += r0
- 5: (79) r1 = *(u64 *)(r6 +0)
- 6: (85) call 34
- invalid func 34
- 0: (bf) r6 = r10
- 1: (07) r6 += -8
- 2: (7b) *(u64 *)(r6 +0) = r1
- 3: (b7) r0 = 1
- 4: (db) lock *(u64 *)(r10 -8) += r0
- 5: (79) r1 = *(u64 *)(r6 +0)
- 6: (85) call 34
- invalid func 34
- #174/p unpriv: spill/fill of different pointers stx FAIL
- Unexpected error message!
- EXP: same insn cannot be used with different pointers
- RES: 0: (b7) r3 = 42
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (15) if r1 == 0x0 goto pc+3
- R1=ctx R3=imm42 R6=fp-8 R10=fp
- 4: (bf) r2 = r10
- 5: (07) r2 += -16
- 6: (7b) *(u64 *)(r6 +0) = r2
- 7: (55) if r1 != 0x0 goto pc+1
- R1=imm0 R2=fp-16 R3=imm42 R6=fp-8 R10=fp fp-8=fp
- 8: (7b) *(u64 *)(r6 +0) = r1
- 9: (79) r1 = *(u64 *)(r6 +0)
- 10: (63) *(u32 *)(r1 +8) = r3
- R1 invalid mem access 'inv'
- 0: (b7) r3 = 42
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (15) if r1 == 0x0 goto pc+3
- R1=ctx R3=imm42 R6=fp-8 R10=fp
- 4: (bf) r2 = r10
- 5: (07) r2 += -16
- 6: (7b) *(u64 *)(r6 +0) = r2
- 7: (55) if r1 != 0x0 goto pc+1
- R1=imm0 R2=fp-16 R3=imm42 R6=fp-8 R10=fp fp-8=fp
- 8: (7b) *(u64 *)(r6 +0) = r1
- 9: (79) r1 = *(u64 *)(r6 +0)
- 10: (63) *(u32 *)(r1 +8) = r3
- R1 invalid mem access 'inv'
- #175/p unpriv: spill/fill of different pointers ldx FAIL
- Unexpected error message!
- EXP: same insn cannot be used with different pointers
- RES:
- #176/u unpriv: write pointer into map elem value Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #176/p unpriv: write pointer into map elem value Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #177/u unpriv: partial copy of pointer OK
- #177/p unpriv: partial copy of pointer Unexpected bpf_prog_test_run error
- 0: (bc) (u32) r1 = (u32) r10
- 1: (b7) r0 = 0
- 2: (95) exit
- #178/u unpriv: pass pointer to tail_call OK
- #178/p unpriv: pass pointer to tail_call Unexpected bpf_prog_test_run error
- 0: (bf) r3 = r1
- 1: (18) r2 = 0xffffffc0702b0400
- 3: (85) call 12
- 4: (b7) r0 = 0
- 5: (95) exit
- #179/u unpriv: cmp map pointer with zero Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 pointer comparison
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #179/p unpriv: cmp map pointer with zero Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #180/u unpriv: write into frame pointer OK
- #180/p unpriv: write into frame pointer OK
- #181/u unpriv: spill/fill frame pointer OK
- #181/p unpriv: spill/fill frame pointer OK
- #182/u unpriv: cmp of frame pointer OK
- #182/p unpriv: cmp of frame pointer Unexpected bpf_prog_test_run error
- 0: (15) if r10 == 0x0 goto pc+0
- R1=ctx R10=fp
- 1: (b7) r0 = 0
- 2: (95) exit
- from 0 to 1: R1=ctx R10=imm0
- 1: (b7) r0 = 0
- 2: (95) exit
- #183/u unpriv: adding of fp FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 0
- 1: (b7) r1 = 0
- 2: (0f) r1 += r10
- R10 pointer arithmetic prohibited
- #183/p unpriv: adding of fp FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 0
- 1: (b7) r1 = 0
- 2: (0f) r1 += r10
- 3: (7b) *(u64 *)(r1 -8) = r0
- R1 invalid mem access 'inv'
- #184/u unpriv: cmp of stack pointer OK
- #184/p unpriv: cmp of stack pointer Unexpected bpf_prog_test_run error
- 0: (bf) r2 = r10
- 1: (07) r2 += -8
- 2: (15) if r2 == 0x0 goto pc+0
- R1=ctx R2=fp-8 R10=fp
- 3: (b7) r0 = 0
- 4: (95) exit
- from 2 to 3: R1=ctx R2=imm0 R10=fp
- 3: (b7) r0 = 0
- 4: (95) exit
- #185/u runtime/jit: tail_call within bounds, prog once Unexpected bpf_prog_test_run error
- 0: (b7) r3 = 0
- 1: (18) r2 = 0x0
- 3: (85) call 12
- 4: (b7) r0 = 1
- 5: (95) exit
- #185/p runtime/jit: tail_call within bounds, prog once Unexpected bpf_prog_test_run error
- 0: (b7) r3 = 0
- 1: (18) r2 = 0xffffffc0702b3600
- 3: (85) call 12
- 4: (b7) r0 = 1
- 5: (95) exit
- #186/u runtime/jit: tail_call within bounds, prog loop Unexpected bpf_prog_test_run error
- 0: (b7) r3 = 1
- 1: (18) r2 = 0x0
- 3: (85) call 12
- 4: (b7) r0 = 1
- 5: (95) exit
- #186/p runtime/jit: tail_call within bounds, prog loop Unexpected bpf_prog_test_run error
- 0: (b7) r3 = 1
- 1: (18) r2 = 0xffffffc0702b1800
- 3: (85) call 12
- 4: (b7) r0 = 1
- 5: (95) exit
- #187/u runtime/jit: tail_call within bounds, no prog Unexpected bpf_prog_test_run error
- 0: (b7) r3 = 2
- 1: (18) r2 = 0x0
- 3: (85) call 12
- 4: (b7) r0 = 1
- 5: (95) exit
- #187/p runtime/jit: tail_call within bounds, no prog Unexpected bpf_prog_test_run error
- 0: (b7) r3 = 2
- 1: (18) r2 = 0xffffffc0702b0000
- 3: (85) call 12
- 4: (b7) r0 = 1
- 5: (95) exit
- #188/u runtime/jit: tail_call out of bounds Unexpected bpf_prog_test_run error
- 0: (b7) r3 = 256
- 1: (18) r2 = 0x0
- 3: (85) call 12
- 4: (b7) r0 = 2
- 5: (95) exit
- #188/p runtime/jit: tail_call out of bounds Unexpected bpf_prog_test_run error
- 0: (b7) r3 = 256
- 1: (18) r2 = 0xffffffc0702b1400
- 3: (85) call 12
- 4: (b7) r0 = 2
- 5: (95) exit
- #189/u runtime/jit: pass negative index to tail_call Unexpected bpf_prog_test_run error
- 0: (b7) r3 = -1
- 1: (18) r2 = 0x0
- 3: (85) call 12
- 4: (b7) r0 = 2
- 5: (95) exit
- #189/p runtime/jit: pass negative index to tail_call Unexpected bpf_prog_test_run error
- 0: (b7) r3 = -1
- 1: (18) r2 = 0xffffffc0702b0c00
- 3: (85) call 12
- 4: (b7) r0 = 2
- 5: (95) exit
- #190/u runtime/jit: pass > 32bit index to tail_call Unexpected bpf_prog_test_run error
- 0: (18) r3 = 0x100000000
- 2: (18) r2 = 0x0
- 4: (85) call 12
- 5: (b7) r0 = 2
- 6: (95) exit
- #190/p runtime/jit: pass > 32bit index to tail_call Unexpected bpf_prog_test_run error
- 0: (18) r3 = 0x100000000
- 2: (18) r2 = 0xffffffc0702b0e00
- 4: (85) call 12
- 5: (b7) r0 = 2
- 6: (95) exit
- #191/u stack pointer arithmetic FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r1 = 4
- 1: (05) goto pc+0
- 2: (bf) r7 = r10
- 3: (07) r7 += -10
- 4: (07) r7 += -10
- R7 pointer arithmetic prohibited
- #191/p stack pointer arithmetic FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r1 = 4
- 1: (05) goto pc+0
- 2: (bf) r7 = r10
- 3: (07) r7 += -10
- 4: (07) r7 += -10
- 5: (bf) r2 = r7
- 6: (0f) r2 += r1
- 7: (62) *(u32 *)(r2 +4) = 0
- R2 invalid mem access 'inv'
- #192/p raw_stack: no skb_load_bytes OK
- #193/p raw_stack: skb_load_bytes, negative len FAIL
- Unexpected error message!
- EXP: R4 min value is negative
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (bf) r3 = r6
- 4: (b7) r4 = -8
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (bf) r3 = r6
- 4: (b7) r4 = -8
- 5: (85) call 26
- invalid func 26
- #194/p raw_stack: skb_load_bytes, negative len 2 FAIL
- Unexpected error message!
- EXP: R4 min value is negative
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (bf) r3 = r6
- 4: (b7) r4 = -1
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (bf) r3 = r6
- 4: (b7) r4 = -1
- 5: (85) call 26
- invalid func 26
- #195/p raw_stack: skb_load_bytes, zero len FAIL
- Unexpected error message!
- EXP: invalid stack type R3
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (bf) r3 = r6
- 4: (b7) r4 = 0
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (bf) r3 = r6
- 4: (b7) r4 = 0
- 5: (85) call 26
- invalid func 26
- #196/p raw_stack: skb_load_bytes, no init FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (bf) r3 = r6
- 4: (b7) r4 = 8
- 5: (85) call 26
- invalid func 26
- #197/p raw_stack: skb_load_bytes, init FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (7a) *(u64 *)(r6 +0) = 51966
- 4: (bf) r3 = r6
- 5: (b7) r4 = 8
- 6: (85) call 26
- invalid func 26
- #198/p raw_stack: skb_load_bytes, spilled regs around bounds FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -16
- 3: (7b) *(u64 *)(r6 -8) = r1
- 4: (7b) *(u64 *)(r6 +8) = r1
- 5: (bf) r3 = r6
- 6: (b7) r4 = 8
- 7: (85) call 26
- invalid func 26
- #199/p raw_stack: skb_load_bytes, spilled regs corruption FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'inv'
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (7b) *(u64 *)(r6 +0) = r1
- 4: (bf) r3 = r6
- 5: (b7) r4 = 8
- 6: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -8
- 3: (7b) *(u64 *)(r6 +0) = r1
- 4: (bf) r3 = r6
- 5: (b7) r4 = 8
- 6: (85) call 26
- invalid func 26
- #200/p raw_stack: skb_load_bytes, spilled regs corruption 2 FAIL
- Unexpected error message!
- EXP: R3 invalid mem access 'inv'
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -16
- 3: (7b) *(u64 *)(r6 -8) = r1
- 4: (7b) *(u64 *)(r6 +0) = r1
- 5: (7b) *(u64 *)(r6 +8) = r1
- 6: (bf) r3 = r6
- 7: (b7) r4 = 8
- 8: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -16
- 3: (7b) *(u64 *)(r6 -8) = r1
- 4: (7b) *(u64 *)(r6 +0) = r1
- 5: (7b) *(u64 *)(r6 +8) = r1
- 6: (bf) r3 = r6
- 7: (b7) r4 = 8
- 8: (85) call 26
- invalid func 26
- #201/p raw_stack: skb_load_bytes, spilled regs + data FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -16
- 3: (7b) *(u64 *)(r6 -8) = r1
- 4: (7b) *(u64 *)(r6 +0) = r1
- 5: (7b) *(u64 *)(r6 +8) = r1
- 6: (bf) r3 = r6
- 7: (b7) r4 = 8
- 8: (85) call 26
- invalid func 26
- #202/p raw_stack: skb_load_bytes, invalid access 1 FAIL
- Unexpected error message!
- EXP: invalid stack type R3 off=-513 access_size=8
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -513
- 3: (bf) r3 = r6
- 4: (b7) r4 = 8
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -513
- 3: (bf) r3 = r6
- 4: (b7) r4 = 8
- 5: (85) call 26
- invalid func 26
- #203/p raw_stack: skb_load_bytes, invalid access 2 FAIL
- Unexpected error message!
- EXP: invalid stack type R3 off=-1 access_size=8
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -1
- 3: (bf) r3 = r6
- 4: (b7) r4 = 8
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -1
- 3: (bf) r3 = r6
- 4: (b7) r4 = 8
- 5: (85) call 26
- invalid func 26
- #204/p raw_stack: skb_load_bytes, invalid access 3 FAIL
- Unexpected error message!
- EXP: R4 min value is negative
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -1
- 3: (bf) r3 = r6
- 4: (b7) r4 = -1
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -1
- 3: (bf) r3 = r6
- 4: (b7) r4 = -1
- 5: (85) call 26
- invalid func 26
- #205/p raw_stack: skb_load_bytes, invalid access 4 FAIL
- Unexpected error message!
- EXP: R4 unbounded memory access, use 'var &= const' or 'if (var < const)'
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -1
- 3: (bf) r3 = r6
- 4: (b7) r4 = 2147483647
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -1
- 3: (bf) r3 = r6
- 4: (b7) r4 = 2147483647
- 5: (85) call 26
- invalid func 26
- #206/p raw_stack: skb_load_bytes, invalid access 5 FAIL
- Unexpected error message!
- EXP: R4 unbounded memory access, use 'var &= const' or 'if (var < const)'
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -512
- 3: (bf) r3 = r6
- 4: (b7) r4 = 2147483647
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -512
- 3: (bf) r3 = r6
- 4: (b7) r4 = 2147483647
- 5: (85) call 26
- invalid func 26
- #207/p raw_stack: skb_load_bytes, invalid access 6 FAIL
- Unexpected error message!
- EXP: invalid stack type R3 off=-512 access_size=0
- RES: 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -512
- 3: (bf) r3 = r6
- 4: (b7) r4 = 0
- 5: (85) call 26
- invalid func 26
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -512
- 3: (bf) r3 = r6
- 4: (b7) r4 = 0
- 5: (85) call 26
- invalid func 26
- #208/p raw_stack: skb_load_bytes, large access FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r2 = 4
- 1: (bf) r6 = r10
- 2: (07) r6 += -512
- 3: (bf) r3 = r6
- 4: (b7) r4 = 512
- 5: (85) call 26
- invalid func 26
- #209/p context stores via ST OK
- #210/p context stores via XADD OK
- #211/p direct packet access: test1 FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #212/p direct packet access: test2 FAIL
- Failed to load prog 'Permission denied'!
- 0: (b7) r0 = 1
- 1: (61) r4 = *(u32 *)(r1 +80)
- invalid bpf_context access off=80 size=4
- #213/p direct packet access: test3 OK
- #214/p direct packet access: test4 (write) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #215/p direct packet access: test5 (pkt_end >= reg, good access) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #216/p direct packet access: test6 (pkt_end >= reg, bad access) FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #217/p direct packet access: test7 (pkt_end >= reg, both accesses) FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #218/p direct packet access: test8 (double test, variant 1) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #219/p direct packet access: test9 (double test, variant 2) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #220/p direct packet access: test10 (write invalid) FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #221/p direct packet access: test11 (shift, good access) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #222/p direct packet access: test12 (and, good access) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #223/p direct packet access: test13 (branches, good access) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #224/p direct packet access: test14 (pkt_ptr += 0, CONST_IMM, good access) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #225/p direct packet access: test15 (spill with xadd) FAIL
- Unexpected error message!
- EXP: R2 invalid mem access 'inv'
- RES: 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #226/p direct packet access: test16 (arith on data_end) FAIL
- Unexpected error message!
- EXP: R3 pointer arithmetic on PTR_TO_PACKET_END
- RES: 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #227/p direct packet access: test17 (pruning, alignment) FAIL
- Unexpected error message!
- EXP: misaligned packet access off 2+(0x0; 0x0)+15+-4 size 4
- RES:
- #228/p direct packet access: test18 (imm += pkt_ptr, 1) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #229/p direct packet access: test19 (imm += pkt_ptr, 2) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #230/p direct packet access: test20 (x += pkt_ptr, 1) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #231/p direct packet access: test21 (x += pkt_ptr, 2) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #232/p direct packet access: test22 (x += pkt_ptr, 3) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #233/p direct packet access: test23 (x += pkt_ptr, 4) FAIL
- Unexpected error message!
- EXP: invalid access to packet, off=0 size=8, R5(id=1,off=0,r=0)
- RES: 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #234/p direct packet access: test24 (x += pkt_ptr, 5) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #235/p direct packet access: test25 (marking on <, good access) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #236/p direct packet access: test26 (marking on <, bad access) FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #237/p direct packet access: test27 (marking on <=, good access) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #238/p direct packet access: test28 (marking on <=, bad access) FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r2 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #239/p helper access to packet: test1, valid packet_ptr range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #240/p helper access to packet: test2, unchecked packet_ptr Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES:
- #241/p helper access to packet: test3, variable add Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #242/p helper access to packet: test4, packet_ptr with bad range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES:
- #243/p helper access to packet: test5, packet_ptr with too short range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES:
- #244/p helper access to packet: test6, cls valid packet_ptr range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #245/p helper access to packet: test7, cls unchecked packet_ptr Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #246/p helper access to packet: test8, cls variable add Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #247/p helper access to packet: test9, cls packet_ptr with bad range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #248/p helper access to packet: test10, cls packet_ptr with too short range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #249/p helper access to packet: test11, cls unsuitable helper 1 FAIL
- Unexpected error message!
- EXP: helper access to the packet
- RES: 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #250/p helper access to packet: test12, cls unsuitable helper 2 FAIL
- Unexpected error message!
- EXP: helper access to the packet
- RES: 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #251/p helper access to packet: test13, cls helper ok FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #252/p helper access to packet: test14, cls helper ok sub FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #253/p helper access to packet: test15, cls helper fail sub FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #254/p helper access to packet: test16, cls helper fail range 1 FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #255/p helper access to packet: test17, cls helper fail range 2 FAIL
- Unexpected error message!
- EXP: R2 min value is negative
- RES: 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #256/p helper access to packet: test18, cls helper fail range 3 FAIL
- Unexpected error message!
- EXP: R2 min value is negative
- RES: 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #257/p helper access to packet: test19, cls helper range zero FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #258/p helper access to packet: test20, pkt end as input FAIL
- Unexpected error message!
- EXP: R1 type=pkt_end expected=fp
- RES: 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #259/p helper access to packet: test21, wrong reg FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #260/u valid map access into an array with a constant Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #260/p valid map access into an array with a constant Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #261/u valid map access into an array with a register Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #261/p valid map access into an array with a register Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #262/u valid map access into an array with a variable Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #262/p valid map access into an array with a variable Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #263/u valid map access into an array with a signed variable Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #263/p valid map access into an array with a signed variable Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #264/u invalid map access into an array with a constant Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=48 size=8
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #264/p invalid map access into an array with a constant Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=48 size=8
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #265/u invalid map access into an array with a register Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 min value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #265/p invalid map access into an array with a register Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 min value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #266/u invalid map access into an array with a variable Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access, make sure to bounds check any array access into a map
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #266/p invalid map access into an array with a variable Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access, make sure to bounds check any array access into a map
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #267/u invalid map access into an array with no floor check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #267/p invalid map access into an array with no floor check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #268/u invalid map access into an array with a invalid max check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #268/p invalid map access into an array with a invalid max check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=44 size=8
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #269/u invalid map access into an array with a invalid max check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 pointer += pointer
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #269/p invalid map access into an array with a invalid max check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 pointer += pointer
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #270/p multiple registers share map_lookup_elem result Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #271/p alu ops on ptr_to_map_value_or_null, 1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R4 pointer arithmetic on PTR_TO_MAP_VALUE_OR_NULL
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #272/p alu ops on ptr_to_map_value_or_null, 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R4 pointer arithmetic on PTR_TO_MAP_VALUE_OR_NULL
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #273/p alu ops on ptr_to_map_value_or_null, 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R4 pointer arithmetic on PTR_TO_MAP_VALUE_OR_NULL
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #274/p invalid memory access with multiple map_lookup_elem calls Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R4 !read_ok
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #275/p valid indirect map_lookup_elem access with 2nd lookup in branch Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #276/u invalid map access from else condition Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #276/p invalid map access from else condition Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #277/p constant register |= constant should keep constant type FAIL
- Failed to load prog 'Invalid argument'!
- #278/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:
- #279/p constant register |= constant register should keep constant type FAIL
- Failed to load prog 'Invalid argument'!
- #280/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:
- #281/p invalid direct packet write for LWT_IN FAIL
- Unexpected error message!
- EXP: cannot write into packet
- RES:
- #282/p invalid direct packet write for LWT_OUT FAIL
- Unexpected error message!
- EXP: cannot write into packet
- RES:
- #283/p direct packet write for LWT_XMIT FAIL
- Failed to load prog 'Invalid argument'!
- #284/p direct packet read for LWT_IN FAIL
- Failed to load prog 'Invalid argument'!
- #285/p direct packet read for LWT_OUT FAIL
- Failed to load prog 'Invalid argument'!
- #286/p direct packet read for LWT_XMIT FAIL
- Failed to load prog 'Invalid argument'!
- #287/p overlapping checks for direct packet access FAIL
- Failed to load prog 'Invalid argument'!
- #288/u invalid access of tc_classid for LWT_IN OK
- #288/p invalid access of tc_classid for LWT_IN OK
- #289/u invalid access of tc_classid for LWT_OUT OK
- #289/p invalid access of tc_classid for LWT_OUT OK
- #290/u invalid access of tc_classid for LWT_XMIT OK
- #290/p invalid access of tc_classid for LWT_XMIT OK
- #291/u leak pointer into ctx 1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R2 leaks addr into mem
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #291/p leak pointer into ctx 1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: BPF_XADD stores into R1 context is not allowed
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #292/u leak pointer into ctx 2 FAIL
- Unexpected error message!
- EXP: R10 leaks addr into mem
- RES: 0: (b7) r0 = 0
- 1: (7b) *(u64 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=8
- 0: (b7) r0 = 0
- 1: (7b) *(u64 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=8
- #292/p leak pointer into ctx 2 FAIL
- Unexpected error message!
- EXP: BPF_XADD stores into R1 context is not allowed
- RES: 0: (b7) r0 = 0
- 1: (7b) *(u64 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=8
- 0: (b7) r0 = 0
- 1: (7b) *(u64 *)(r1 +48) = r0
- invalid bpf_context access off=48 size=8
- #293/u leak pointer into ctx 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R2 leaks addr into ctx
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #293/p leak pointer into ctx 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #294/u leak pointer into map val Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R6 leaks addr into mem
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #294/p leak pointer into map val Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #295/p helper access to map: full range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #296/p helper access to map: partial range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #297/p helper access to map: empty range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=0 size=0
- RES:
- #298/p helper access to map: out-of-bound range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=0 size=56
- RES:
- #299/p helper access to map: negative range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R2 min value is negative
- RES:
- #300/p helper access to adjusted map (via const imm): full range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #301/p helper access to adjusted map (via const imm): partial range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #302/p helper access to adjusted map (via const imm): empty range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=4 size=0
- RES:
- #303/p helper access to adjusted map (via const imm): out-of-bound range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=4 size=52
- RES:
- #304/p helper access to adjusted map (via const imm): negative range (> adjustment) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R2 min value is negative
- RES:
- #305/p helper access to adjusted map (via const imm): negative range (< adjustment) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R2 min value is negative
- RES:
- #306/p helper access to adjusted map (via const reg): full range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #307/p helper access to adjusted map (via const reg): partial range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #308/p helper access to adjusted map (via const reg): empty range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 min value is outside of the array range
- RES:
- #309/p helper access to adjusted map (via const reg): out-of-bound range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=4 size=52
- RES:
- #310/p helper access to adjusted map (via const reg): negative range (> adjustment) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R2 min value is negative
- RES:
- #311/p helper access to adjusted map (via const reg): negative range (< adjustment) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R2 min value is negative
- RES:
- #312/p helper access to adjusted map (via variable): full range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #313/p helper access to adjusted map (via variable): partial range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #314/p helper access to adjusted map (via variable): empty range Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 min value is outside of the array range
- RES:
- #315/p helper access to adjusted map (via variable): no max check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 unbounded memory access
- RES:
- #316/p helper access to adjusted map (via variable): wrong max check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=4 size=45
- RES:
- #317/p helper access to map: bounds check using <, good access Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #318/p helper access to map: bounds check using <, bad access Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 unbounded memory access
- RES:
- #319/p helper access to map: bounds check using <=, good access Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #320/p helper access to map: bounds check using <=, bad access Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 unbounded memory access
- RES:
- #321/p helper access to map: bounds check using s<, good access Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #322/p helper access to map: bounds check using s<, good access 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #323/p helper access to map: bounds check using s<, bad access Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 min value is negative
- RES:
- #324/p helper access to map: bounds check using s<=, good access Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #325/p helper access to map: bounds check using s<=, good access 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #326/p helper access to map: bounds check using s<=, bad access Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 min value is negative
- RES:
- #327/u map element value is preserved across register spilling Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #327/p map element value is preserved across register spilling Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #328/u map element value or null is marked on register spilling Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #328/p map element value or null is marked on register spilling Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #329/u map element value store of cleared call register Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 !read_ok
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #329/p map element value store of cleared call register Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 !read_ok
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #330/u map element value with unaligned store Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #330/p map element value with unaligned store Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #331/u map element value with unaligned load Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #331/p map element value with unaligned load Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #332/u map element value illegal alu op, 1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 bitwise operator &= on pointer
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #332/p map element value illegal alu op, 1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 bitwise operator &= on pointer
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #333/u map element value illegal alu op, 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 32-bit pointer arithmetic prohibited
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #333/p map element value illegal alu op, 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 32-bit pointer arithmetic prohibited
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #334/u map element value illegal alu op, 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 pointer arithmetic with /= operator
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #334/p map element value illegal alu op, 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 pointer arithmetic with /= operator
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #335/u map element value illegal alu op, 4 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 pointer arithmetic prohibited
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #335/p map element value illegal alu op, 4 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid mem access 'inv'
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #336/u map element value illegal alu op, 5 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'inv'
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #336/p map element value illegal alu op, 5 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'inv'
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #337/u map element value is preserved across register spilling Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #337/p map element value is preserved across register spilling Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #338/p helper access to variable memory: stack, bitwise AND + JMP, correct bounds FAIL
- Failed to load prog 'Invalid argument'!
- #339/p helper access to variable memory: stack, bitwise AND, zero included FAIL
- Unexpected error message!
- EXP: invalid indirect read from stack off -64+0 size 64
- RES:
- #340/p helper access to variable memory: stack, bitwise AND + JMP, wrong max FAIL
- Unexpected error message!
- EXP: invalid stack type R1 off=-64 access_size=65
- RES:
- #341/p helper access to variable memory: stack, JMP, correct bounds FAIL
- Failed to load prog 'Invalid argument'!
- #342/p helper access to variable memory: stack, JMP (signed), correct bounds FAIL
- Failed to load prog 'Invalid argument'!
- #343/p helper access to variable memory: stack, JMP, bounds + offset FAIL
- Unexpected error message!
- EXP: invalid stack type R1 off=-64 access_size=65
- RES:
- #344/p helper access to variable memory: stack, JMP, wrong max FAIL
- Unexpected error message!
- EXP: invalid stack type R1 off=-64 access_size=65
- RES:
- #345/p helper access to variable memory: stack, JMP, no max check FAIL
- Unexpected error message!
- EXP: R2 min value is negative, either use unsigned or 'var &= const'
- RES:
- #346/p helper access to variable memory: stack, JMP, no min check FAIL
- Unexpected error message!
- EXP: invalid indirect read from stack off -64+0 size 64
- RES:
- #347/p helper access to variable memory: stack, JMP (signed), no min check FAIL
- Unexpected error message!
- EXP: R2 min value is negative
- RES:
- #348/p helper access to variable memory: map, JMP, correct bounds Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #349/p helper access to variable memory: map, JMP, wrong max Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=48 off=0 size=49
- RES:
- #350/p helper access to variable memory: map adjusted, JMP, correct bounds Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #351/p helper access to variable memory: map adjusted, JMP, wrong max Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 min value is outside of the array range
- RES:
- #352/p helper access to variable memory: size = 0 allowed on NULL (ARG_PTR_TO_MEM_OR_NULL) FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r1 = 0
- 1: (b7) r2 = 0
- 2: (b7) r3 = 0
- 3: (b7) r4 = 0
- 4: (b7) r5 = 0
- 5: (85) call 28
- invalid func 28
- #353/p helper access to variable memory: size > 0 not allowed on NULL (ARG_PTR_TO_MEM_OR_NULL) FAIL
- Unexpected error message!
- EXP: R1 type=inv expected=fp
- RES: 0: (b7) r1 = 0
- 1: (b7) r2 = 1
- 2: (7b) *(u64 *)(r10 -128) = r2
- 3: (79) r2 = *(u64 *)(r10 -128)
- 4: (57) r2 &= 64
- 5: (b7) r3 = 0
- 6: (b7) r4 = 0
- 7: (b7) r5 = 0
- 8: (85) call 28
- invalid func 28
- 0: (b7) r1 = 0
- 1: (b7) r2 = 1
- 2: (7b) *(u64 *)(r10 -128) = r2
- 3: (79) r2 = *(u64 *)(r10 -128)
- 4: (57) r2 &= 64
- 5: (b7) r3 = 0
- 6: (b7) r4 = 0
- 7: (b7) r5 = 0
- 8: (85) call 28
- invalid func 28
- #354/p helper access to variable memory: size = 0 allowed on != NULL stack pointer (ARG_PTR_TO_MEM_OR_NULL) FAIL
- Failed to load prog 'Invalid argument'!
- 0: (bf) r1 = r10
- 1: (07) r1 += -8
- 2: (b7) r2 = 0
- 3: (7b) *(u64 *)(r1 +0) = r2
- 4: (57) r2 &= 8
- 5: (b7) r3 = 0
- 6: (b7) r4 = 0
- 7: (b7) r5 = 0
- 8: (85) call 28
- invalid func 28
- #355/p helper access to variable memory: size = 0 allowed on != NULL map pointer (ARG_PTR_TO_MEM_OR_NULL) Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #356/p helper access to variable memory: size possible = 0 allowed on != NULL stack pointer (ARG_PTR_TO_MEM_OR_NULL) Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #357/p helper access to variable memory: size possible = 0 allowed on != NULL map pointer (ARG_PTR_TO_MEM_OR_NULL) Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #358/p helper access to variable memory: size possible = 0 allowed on != NULL packet pointer (ARG_PTR_TO_MEM_OR_NULL) FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r6 = *(u32 *)(r1 +76)
- invalid bpf_context access off=76 size=4
- #359/p helper access to variable memory: size = 0 not allowed on NULL (!ARG_PTR_TO_MEM_OR_NULL) FAIL
- Unexpected error message!
- EXP: R1 type=inv expected=fp
- RES:
- #360/p helper access to variable memory: size > 0 not allowed on NULL (!ARG_PTR_TO_MEM_OR_NULL) FAIL
- Unexpected error message!
- EXP: R1 type=inv expected=fp
- RES:
- #361/p helper access to variable memory: size = 0 allowed on != NULL stack pointer (!ARG_PTR_TO_MEM_OR_NULL) FAIL
- Failed to load prog 'Invalid argument'!
- #362/p helper access to variable memory: size = 0 allowed on != NULL map pointer (!ARG_PTR_TO_MEM_OR_NULL) Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #363/p helper access to variable memory: size possible = 0 allowed on != NULL stack pointer (!ARG_PTR_TO_MEM_OR_NULL) Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #364/p helper access to variable memory: size possible = 0 allowed on != NULL map pointer (!ARG_PTR_TO_MEM_OR_NULL) Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #365/p helper access to variable memory: 8 bytes leak FAIL
- Unexpected error message!
- EXP: invalid indirect read from stack off -64+32 size 64
- RES:
- #366/p helper access to variable memory: 8 bytes no leak (init memory) FAIL
- Failed to load prog 'Invalid argument'!
- #367/u invalid and of negative number Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 max value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #367/p invalid and of negative number Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 max value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #368/u invalid range check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 max value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #368/p invalid range check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 max value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #369/u map in map access Failed to create array of maps 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #369/p map in map access Failed to create array of maps 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #370/u invalid inner map pointer Failed to create array of maps 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 pointer arithmetic on CONST_PTR_TO_MAP prohibited
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #370/p invalid inner map pointer Failed to create array of maps 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 pointer arithmetic on CONST_PTR_TO_MAP prohibited
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #371/u forgot null checking on the inner map pointer Failed to create array of maps 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 type=map_value_or_null expected=map_ptr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #371/p forgot null checking on the inner map pointer Failed to create array of maps 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R1 type=map_value_or_null expected=map_ptr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #372/u ld_abs: check calling conv, r1 OK
- #372/p ld_abs: check calling conv, r1 OK
- #373/u ld_abs: check calling conv, r2 OK
- #373/p ld_abs: check calling conv, r2 OK
- #374/u ld_abs: check calling conv, r3 OK
- #374/p ld_abs: check calling conv, r3 OK
- #375/u ld_abs: check calling conv, r4 OK
- #375/p ld_abs: check calling conv, r4 OK
- #376/u ld_abs: check calling conv, r5 OK
- #376/p ld_abs: check calling conv, r5 OK
- #377/u ld_abs: check calling conv, r7 Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r1
- 1: (b7) r7 = 0
- 2: (20) r0 = *(u32 *)skb[-2097152]
- 3: (bf) r0 = r7
- 4: (95) exit
- #377/p ld_abs: check calling conv, r7 Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r1
- 1: (b7) r7 = 0
- 2: (20) r0 = *(u32 *)skb[-2097152]
- 3: (bf) r0 = r7
- 4: (95) exit
- #378/p ld_abs: tests on r6 and skb data reload helper Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r1
- 1: (30) r0 = *(u8 *)skb[0]
- 2: (28) r0 = *(u16 *)skb[0]
- 3: (20) r0 = *(u32 *)skb[0]
- 4: (bf) r7 = r6
- 5: (b7) r6 = 0
- 6: (bf) r1 = r7
- 7: (b7) r2 = 1
- 8: (b7) r3 = 2
- 9: (85) call 18
- 10: (bf) r6 = r7
- 11: (30) r0 = *(u8 *)skb[0]
- 12: (28) r0 = *(u16 *)skb[0]
- 13: (20) r0 = *(u32 *)skb[0]
- 14: (b7) r0 = 42
- 15: (95) exit
- #379/u ld_ind: check calling conv, r1 OK
- #379/p ld_ind: check calling conv, r1 OK
- #380/u ld_ind: check calling conv, r2 OK
- #380/p ld_ind: check calling conv, r2 OK
- #381/u ld_ind: check calling conv, r3 OK
- #381/p ld_ind: check calling conv, r3 OK
- #382/u ld_ind: check calling conv, r4 OK
- #382/p ld_ind: check calling conv, r4 OK
- #383/u ld_ind: check calling conv, r5 OK
- #383/p ld_ind: check calling conv, r5 OK
- #384/u ld_ind: check calling conv, r7 Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r1
- 1: (b7) r7 = 1
- 2: (40) r0 = *(u32 *)skb[r7 + -2097152]
- 3: (bf) r0 = r7
- 4: (95) exit
- #384/p ld_ind: check calling conv, r7 Unexpected bpf_prog_test_run error
- 0: (bf) r6 = r1
- 1: (b7) r7 = 1
- 2: (40) r0 = *(u32 *)skb[r7 + -2097152]
- 3: (bf) r0 = r7
- 4: (95) exit
- #385/p check bpf_perf_event_data->sample_period byte load permitted FAIL
- Failed to load prog 'Invalid argument'!
- #386/p check bpf_perf_event_data->sample_period half load permitted FAIL
- Failed to load prog 'Invalid argument'!
- #387/p check bpf_perf_event_data->sample_period word load permitted FAIL
- Failed to load prog 'Invalid argument'!
- #388/p check bpf_perf_event_data->sample_period dword load permitted FAIL
- Failed to load prog 'Invalid argument'!
- #389/u check skb->data half load not permitted OK
- #389/p check skb->data half load not permitted OK
- #390/p check skb->tc_classid half load not permitted for lwt prog FAIL
- Unexpected error message!
- EXP: invalid bpf_context access
- RES:
- #391/u bounds checks mixing signed and unsigned, positive bounds Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #391/p bounds checks mixing signed and unsigned, positive bounds Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #392/u bounds checks mixing signed and unsigned Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #392/p bounds checks mixing signed and unsigned Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #393/u bounds checks mixing signed and unsigned, variant 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #393/p bounds checks mixing signed and unsigned, variant 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #394/u bounds checks mixing signed and unsigned, variant 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #394/p bounds checks mixing signed and unsigned, variant 3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #395/u bounds checks mixing signed and unsigned, variant 4 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #395/p bounds checks mixing signed and unsigned, variant 4 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #396/u bounds checks mixing signed and unsigned, variant 5 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #396/p bounds checks mixing signed and unsigned, variant 5 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #397/u bounds checks mixing signed and unsigned, variant 6 FAIL
- Unexpected error message!
- EXP: R4 min value is negative, either use unsigned
- RES: 0: (b7) r2 = 0
- 1: (bf) r3 = r10
- 2: (07) r3 += -512
- 3: (7a) *(u64 *)(r10 -16) = -8
- 4: (79) r4 = *(u64 *)(r10 -16)
- 5: (b7) r6 = -1
- 6: (2d) if r4 > r6 goto pc+5
- R1=ctx R2=imm0 R3=fp-512 R4=inv R6=imm-1 R10=fp
- 7: (65) if r4 s> 0x1 goto pc+4
- R1=ctx R2=imm0 R3=fp-512 R4=inv R6=imm-1 R10=fp
- 8: (07) r4 += 1
- 9: (b7) r5 = 0
- 10: (6a) *(u16 *)(r10 -512) = 0
- 11: (85) call 26
- invalid func 26
- 0: (b7) r2 = 0
- 1: (bf) r3 = r10
- 2: (07) r3 += -512
- 3: (7a) *(u64 *)(r10 -16) = -8
- 4: (79) r4 = *(u64 *)(r10 -16)
- 5: (b7) r6 = -1
- 6: (2d) if r4 > r6 goto pc+5
- R1=ctx R2=imm0 R3=fp-512 R4=inv R6=imm-1 R10=fp
- 7: (65) if r4 s> 0x1 goto pc+4
- R1=ctx R2=imm0 R3=fp-512 R4=inv R6=imm-1 R10=fp
- 8: (07) r4 += 1
- 9: (b7) r5 = 0
- 10: (6a) *(u16 *)(r10 -512) = 0
- 11: (85) call 26
- invalid func 26
- #397/p bounds checks mixing signed and unsigned, variant 6 FAIL
- Unexpected error message!
- EXP: R4 min value is negative, either use unsigned
- RES: 0: (b7) r2 = 0
- 1: (bf) r3 = r10
- 2: (07) r3 += -512
- 3: (7a) *(u64 *)(r10 -16) = -8
- 4: (79) r4 = *(u64 *)(r10 -16)
- 5: (b7) r6 = -1
- 6: (2d) if r4 > r6 goto pc+5
- R1=ctx R2=imm0 R3=fp-512 R4=inv R6=imm-1 R10=fp
- 7: (65) if r4 s> 0x1 goto pc+4
- R1=ctx R2=imm0 R3=fp-512 R4=inv R6=imm-1 R10=fp
- 8: (07) r4 += 1
- 9: (b7) r5 = 0
- 10: (6a) *(u16 *)(r10 -512) = 0
- 11: (85) call 26
- invalid func 26
- 0: (b7) r2 = 0
- 1: (bf) r3 = r10
- 2: (07) r3 += -512
- 3: (7a) *(u64 *)(r10 -16) = -8
- 4: (79) r4 = *(u64 *)(r10 -16)
- 5: (b7) r6 = -1
- 6: (2d) if r4 > r6 goto pc+5
- R1=ctx R2=imm0 R3=fp-512 R4=inv R6=imm-1 R10=fp
- 7: (65) if r4 s> 0x1 goto pc+4
- R1=ctx R2=imm0 R3=fp-512 R4=inv R6=imm-1 R10=fp
- 8: (07) r4 += 1
- 9: (b7) r5 = 0
- 10: (6a) *(u16 *)(r10 -512) = 0
- 11: (85) call 26
- invalid func 26
- #398/u bounds checks mixing signed and unsigned, variant 7 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #398/p bounds checks mixing signed and unsigned, variant 7 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #399/u bounds checks mixing signed and unsigned, variant 8 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #399/p bounds checks mixing signed and unsigned, variant 8 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #400/u bounds checks mixing signed and unsigned, variant 9 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #400/p bounds checks mixing signed and unsigned, variant 9 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #401/u bounds checks mixing signed and unsigned, variant 10 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #401/p bounds checks mixing signed and unsigned, variant 10 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #402/u bounds checks mixing signed and unsigned, variant 11 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #402/p bounds checks mixing signed and unsigned, variant 11 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #403/u bounds checks mixing signed and unsigned, variant 12 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #403/p bounds checks mixing signed and unsigned, variant 12 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #404/u bounds checks mixing signed and unsigned, variant 13 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #404/p bounds checks mixing signed and unsigned, variant 13 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #405/u bounds checks mixing signed and unsigned, variant 14 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'inv'
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #405/p bounds checks mixing signed and unsigned, variant 14 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'inv'
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #406/u bounds checks mixing signed and unsigned, variant 15 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #406/p bounds checks mixing signed and unsigned, variant 15 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: unbounded min value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #407/u subtraction bounds (map value) variant 1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 max value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #407/p subtraction bounds (map value) variant 1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 max value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #408/u subtraction bounds (map value) variant 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 min value is negative, either use unsigned index or do a if (index >=0) check.
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #408/p subtraction bounds (map value) variant 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 min value is negative, either use unsigned index or do a if (index >=0) check.
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #409/u bounds check based on zero-extended MOV Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #409/p bounds check based on zero-extended MOV Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #410/u bounds check based on sign-extended MOV. test1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: map_value pointer and 4294967295
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #410/p bounds check based on sign-extended MOV. test1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: map_value pointer and 4294967295
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #411/u bounds check based on sign-extended MOV. test2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 min value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #411/p bounds check based on sign-extended MOV. test2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 min value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #412/p bounds check based on reg_off + var_off + insn_off. test1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: value_size=8 off=1073741825
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #413/p bounds check based on reg_off + var_off + insn_off. test2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: value 1073741823
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #414/u bounds check after truncation of non-boundary-crossing range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #414/p bounds check after truncation of non-boundary-crossing range Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #415/u bounds check after truncation of boundary-crossing range (1) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #415/p bounds check after truncation of boundary-crossing range (1) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #416/u bounds check after truncation of boundary-crossing range (2) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #416/p bounds check after truncation of boundary-crossing range (2) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #417/u bounds check after wrapping 32-bit addition Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #417/p bounds check after wrapping 32-bit addition Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #418/u bounds check after shift with oversized count operand Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 max value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #418/p bounds check after shift with oversized count operand Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 max value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #419/u bounds check after right shift of maybe-negative number Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #419/p bounds check after right shift of maybe-negative number Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #420/u bounds check map access with off+size signed 32bit overflow. test1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: map_value pointer and 2147483646
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #420/p bounds check map access with off+size signed 32bit overflow. test1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: map_value pointer and 2147483646
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #421/u bounds check map access with off+size signed 32bit overflow. test2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: pointer offset 1073741822
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #421/p bounds check map access with off+size signed 32bit overflow. test2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: pointer offset 1073741822
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #422/u bounds check map access with off+size signed 32bit overflow. test3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: pointer offset -1073741822
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #422/p bounds check map access with off+size signed 32bit overflow. test3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: pointer offset -1073741822
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #423/u bounds check map access with off+size signed 32bit overflow. test4 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: map_value pointer and 1000000000000
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #423/p bounds check map access with off+size signed 32bit overflow. test4 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: map_value pointer and 1000000000000
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #424/u pointer/scalar confusion in state equality check (way 1) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr as return value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #424/p pointer/scalar confusion in state equality check (way 1) Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #425/u pointer/scalar confusion in state equality check (way 2) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr as return value
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #425/p pointer/scalar confusion in state equality check (way 2) Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #426/p variable-offset ctx access FAIL
- Unexpected error message!
- EXP: variable ctx access var_off=(0x0; 0x4)
- RES:
- #427/p variable-offset stack access FAIL
- Unexpected error message!
- EXP: variable stack access var_off=(0xfffffffffffffff8; 0x4)
- RES:
- #428/p indirect variable-offset stack access Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: variable stack read R2
- RES:
- #429/u direct stack access with 32-bit wraparound. test1 FAIL
- Unexpected error message!
- EXP: fp pointer and 2147483647
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += 2147483647
- 2: (07) r1 += 2147483647
- R1 pointer arithmetic prohibited
- 0: (bf) r1 = r10
- 1: (07) r1 += 2147483647
- 2: (07) r1 += 2147483647
- R1 pointer arithmetic prohibited
- #429/p direct stack access with 32-bit wraparound. test1 FAIL
- Unexpected error message!
- EXP: fp pointer and 2147483647
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += 2147483647
- 2: (07) r1 += 2147483647
- 3: (b4) (u32) r0 = (u32) 0
- 4: (73) *(u8 *)(r1 +0) = r0
- R1 invalid mem access 'inv'
- 0: (bf) r1 = r10
- 1: (07) r1 += 2147483647
- 2: (07) r1 += 2147483647
- 3: (b4) (u32) r0 = (u32) 0
- 4: (73) *(u8 *)(r1 +0) = r0
- R1 invalid mem access 'inv'
- #430/u direct stack access with 32-bit wraparound. test2 FAIL
- Unexpected error message!
- EXP: fp pointer and 1073741823
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += 1073741823
- 2: (07) r1 += 1073741823
- R1 pointer arithmetic prohibited
- 0: (bf) r1 = r10
- 1: (07) r1 += 1073741823
- 2: (07) r1 += 1073741823
- R1 pointer arithmetic prohibited
- #430/p direct stack access with 32-bit wraparound. test2 FAIL
- Unexpected error message!
- EXP: fp pointer and 1073741823
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += 1073741823
- 2: (07) r1 += 1073741823
- 3: (b4) (u32) r0 = (u32) 0
- 4: (73) *(u8 *)(r1 +0) = r0
- R1 invalid mem access 'inv'
- 0: (bf) r1 = r10
- 1: (07) r1 += 1073741823
- 2: (07) r1 += 1073741823
- 3: (b4) (u32) r0 = (u32) 0
- 4: (73) *(u8 *)(r1 +0) = r0
- R1 invalid mem access 'inv'
- #431/u direct stack access with 32-bit wraparound. test3 FAIL
- Unexpected error message!
- EXP: fp pointer offset 1073741822
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += 536870911
- 2: (07) r1 += 536870911
- R1 pointer arithmetic prohibited
- 0: (bf) r1 = r10
- 1: (07) r1 += 536870911
- 2: (07) r1 += 536870911
- R1 pointer arithmetic prohibited
- #431/p direct stack access with 32-bit wraparound. test3 FAIL
- Unexpected error message!
- EXP: fp pointer offset 1073741822
- RES: 0: (bf) r1 = r10
- 1: (07) r1 += 536870911
- 2: (07) r1 += 536870911
- 3: (b4) (u32) r0 = (u32) 0
- 4: (73) *(u8 *)(r1 +0) = r0
- R1 invalid mem access 'inv'
- 0: (bf) r1 = r10
- 1: (07) r1 += 536870911
- 2: (07) r1 += 536870911
- 3: (b4) (u32) r0 = (u32) 0
- 4: (73) *(u8 *)(r1 +0) = r0
- R1 invalid mem access 'inv'
- #432/p liveness pruning and write screening FAIL
- Unexpected error message!
- EXP: R0 !read_ok
- RES:
- #433/u varlen_map_value_access pruning Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 leaks addr
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #433/p varlen_map_value_access pruning Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 unbounded memory access
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #434/u invalid 64-bit BPF_END FAIL
- Unexpected error message!
- EXP: unknown opcode d7
- RES: 0: (b4) (u32) r0 = (u32) 0
- 1: (d7) r0 endian 32
- BPF_END uses reserved fields
- 0: (b4) (u32) r0 = (u32) 0
- 1: (d7) r0 endian 32
- BPF_END uses reserved fields
- #434/p invalid 64-bit BPF_END FAIL
- Unexpected error message!
- EXP: unknown opcode d7
- RES: 0: (b4) (u32) r0 = (u32) 0
- 1: (d7) r0 endian 32
- BPF_END uses reserved fields
- 0: (b4) (u32) r0 = (u32) 0
- 1: (d7) r0 endian 32
- BPF_END uses reserved fields
- #435/p XDP, using ifindex from netdev FAIL
- Failed to load prog 'Invalid argument'!
- #436/p meta access, test1 FAIL
- Failed to load prog 'Invalid argument'!
- #437/p meta access, test2 FAIL
- Unexpected error message!
- EXP: invalid access to packet, off=-8
- RES:
- #438/p meta access, test3 FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES:
- #439/p meta access, test4 FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES:
- #440/p meta access, test5 FAIL
- Unexpected error message!
- EXP: R3 !read_ok
- RES:
- #441/p meta access, test6 FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES:
- #442/p meta access, test7 FAIL
- Failed to load prog 'Invalid argument'!
- #443/p meta access, test8 FAIL
- Failed to load prog 'Invalid argument'!
- #444/p meta access, test9 FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES:
- #445/p meta access, test10 FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES:
- #446/p meta access, test11 FAIL
- Failed to load prog 'Invalid argument'!
- #447/p meta access, test12 FAIL
- Failed to load prog 'Invalid argument'!
- #448/p arithmetic ops make PTR_TO_CTX unusable FAIL
- Unexpected error message!
- EXP: dereference of modified ctx ptr R1 off=68+8, ctx+const is allowed, ctx+const+const is not
- RES: 0: (07) r1 += 68
- 1: (61) r0 = *(u32 *)(r1 +8)
- R1 invalid mem access 'inv'
- 0: (07) r1 += 68
- 1: (61) r0 = *(u32 *)(r1 +8)
- R1 invalid mem access 'inv'
- #449/p pkt_end - pkt_start is allowed FAIL
- Failed to load prog 'Permission denied'!
- 0: (61) r0 = *(u32 *)(r1 +80)
- invalid bpf_context access off=80 size=4
- #450/p XDP pkt read, pkt_end mangling, bad access 1 FAIL
- Unexpected error message!
- EXP: R3 pointer arithmetic on PTR_TO_PACKET_END
- RES:
- #451/p XDP pkt read, pkt_end mangling, bad access 2 FAIL
- Unexpected error message!
- EXP: R3 pointer arithmetic on PTR_TO_PACKET_END
- RES:
- #452/p XDP pkt read, pkt_data' > pkt_end, good access FAIL
- Failed to load prog 'Invalid argument'!
- #453/p XDP pkt read, pkt_data' > pkt_end, bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #454/p XDP pkt read, pkt_data' > pkt_end, bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #455/p XDP pkt read, pkt_end > pkt_data', good access FAIL
- Failed to load prog 'Invalid argument'!
- #456/p XDP pkt read, pkt_end > pkt_data', bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #457/p XDP pkt read, pkt_end > pkt_data', bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #458/p XDP pkt read, pkt_data' < pkt_end, good access FAIL
- Failed to load prog 'Invalid argument'!
- #459/p XDP pkt read, pkt_data' < pkt_end, bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #460/p XDP pkt read, pkt_data' < pkt_end, bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #461/p XDP pkt read, pkt_end < pkt_data', good access FAIL
- Failed to load prog 'Invalid argument'!
- #462/p XDP pkt read, pkt_end < pkt_data', bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #463/p XDP pkt read, pkt_end < pkt_data', bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #464/p XDP pkt read, pkt_data' >= pkt_end, good access FAIL
- Failed to load prog 'Invalid argument'!
- #465/p XDP pkt read, pkt_data' >= pkt_end, bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #466/p XDP pkt read, pkt_data' >= pkt_end, bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #467/p XDP pkt read, pkt_end >= pkt_data', good access FAIL
- Failed to load prog 'Invalid argument'!
- #468/p XDP pkt read, pkt_end >= pkt_data', bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #469/p XDP pkt read, pkt_end >= pkt_data', bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #470/p XDP pkt read, pkt_data' <= pkt_end, good access FAIL
- Failed to load prog 'Invalid argument'!
- #471/p XDP pkt read, pkt_data' <= pkt_end, bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #472/p XDP pkt read, pkt_data' <= pkt_end, bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #473/p XDP pkt read, pkt_end <= pkt_data', good access FAIL
- Failed to load prog 'Invalid argument'!
- #474/p XDP pkt read, pkt_end <= pkt_data', bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #475/p XDP pkt read, pkt_end <= pkt_data', bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #476/p XDP pkt read, pkt_meta' > pkt_data, good access FAIL
- Failed to load prog 'Invalid argument'!
- #477/p XDP pkt read, pkt_meta' > pkt_data, bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #478/p XDP pkt read, pkt_meta' > pkt_data, bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #479/p XDP pkt read, pkt_data > pkt_meta', good access FAIL
- Failed to load prog 'Invalid argument'!
- #480/p XDP pkt read, pkt_data > pkt_meta', bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #481/p XDP pkt read, pkt_data > pkt_meta', bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #482/p XDP pkt read, pkt_meta' < pkt_data, good access FAIL
- Failed to load prog 'Invalid argument'!
- #483/p XDP pkt read, pkt_meta' < pkt_data, bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #484/p XDP pkt read, pkt_meta' < pkt_data, bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #485/p XDP pkt read, pkt_data < pkt_meta', good access FAIL
- Failed to load prog 'Invalid argument'!
- #486/p XDP pkt read, pkt_data < pkt_meta', bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #487/p XDP pkt read, pkt_data < pkt_meta', bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #488/p XDP pkt read, pkt_meta' >= pkt_data, good access FAIL
- Failed to load prog 'Invalid argument'!
- #489/p XDP pkt read, pkt_meta' >= pkt_data, bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #490/p XDP pkt read, pkt_meta' >= pkt_data, bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #491/p XDP pkt read, pkt_data >= pkt_meta', good access FAIL
- Failed to load prog 'Invalid argument'!
- #492/p XDP pkt read, pkt_data >= pkt_meta', bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #493/p XDP pkt read, pkt_data >= pkt_meta', bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #494/p XDP pkt read, pkt_meta' <= pkt_data, good access FAIL
- Failed to load prog 'Invalid argument'!
- #495/p XDP pkt read, pkt_meta' <= pkt_data, bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #496/p XDP pkt read, pkt_meta' <= pkt_data, bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #497/p XDP pkt read, pkt_data <= pkt_meta', good access FAIL
- Failed to load prog 'Invalid argument'!
- #498/p XDP pkt read, pkt_data <= pkt_meta', bad access 1 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #499/p XDP pkt read, pkt_data <= pkt_meta', bad access 2 FAIL
- Unexpected error message!
- EXP: R1 offset is outside of the packet
- RES:
- #500/u check deducing bounds from const, 1 FAIL
- Unexpected error message!
- EXP: R0 tried to subtract pointer from scalar
- RES: 0: (b7) r0 = 1
- 1: (75) if r0 s>= 0x1 goto pc+0
- R0=imm1 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- R1 pointer arithmetic prohibited
- 0: (b7) r0 = 1
- 1: (75) if r0 s>= 0x1 goto pc+0
- R0=imm1 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- R1 pointer arithmetic prohibited
- #500/p check deducing bounds from const, 1 FAIL
- Unexpected success to load!
- 0: (b7) r0 = 1
- 1: (75) if r0 s>= 0x1 goto pc+0
- R0=imm1 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- 3: (95) exit
- from 1 to 2: safe
- #501/u check deducing bounds from const, 2 FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r0 = 1
- 1: (75) if r0 s>= 0x1 goto pc+1
- R0=imm1 R1=ctx R10=fp
- 2: (95) exit
- from 1 to 3: R0=imm1 R1=ctx R10=fp
- 3: (d5) if r0 (null) 0x1 goto pc+1
- invalid BPF_JMP opcode d0
- #501/p check deducing bounds from const, 2 FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r0 = 1
- 1: (75) if r0 s>= 0x1 goto pc+1
- R0=imm1 R1=ctx R10=fp
- 2: (95) exit
- from 1 to 3: R0=imm1 R1=ctx R10=fp
- 3: (d5) if r0 (null) 0x1 goto pc+1
- invalid BPF_JMP opcode d0
- #502/u check deducing bounds from const, 3 FAIL
- Unexpected error message!
- EXP: R0 tried to subtract pointer from scalar
- RES: 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+0
- invalid BPF_JMP opcode d0
- 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+0
- invalid BPF_JMP opcode d0
- #502/p check deducing bounds from const, 3 FAIL
- Unexpected error message!
- EXP: R0 tried to subtract pointer from scalar
- RES: 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+0
- invalid BPF_JMP opcode d0
- 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+0
- invalid BPF_JMP opcode d0
- #503/u check deducing bounds from const, 4 FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+1
- invalid BPF_JMP opcode d0
- #503/p check deducing bounds from const, 4 FAIL
- Failed to load prog 'Invalid argument'!
- 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+1
- invalid BPF_JMP opcode d0
- #504/u check deducing bounds from const, 5 FAIL
- Unexpected error message!
- EXP: R0 tried to subtract pointer from scalar
- RES: 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm0 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- R1 pointer arithmetic prohibited
- 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm0 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- R1 pointer arithmetic prohibited
- #504/p check deducing bounds from const, 5 FAIL
- Unexpected success to load!
- 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm0 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- 3: (95) exit
- from 1 to 3: safe
- #505/u check deducing bounds from const, 6 FAIL
- Unexpected error message!
- EXP: R0 tried to subtract pointer from scalar
- RES: 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm0 R1=ctx R10=fp
- 2: (95) exit
- from 1 to 3: R0=imm0 R1=ctx R10=fp
- 3: (1f) r0 -= r1
- R1 pointer arithmetic prohibited
- 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm0 R1=ctx R10=fp
- 2: (95) exit
- from 1 to 3: R0=imm0 R1=ctx R10=fp
- 3: (1f) r0 -= r1
- R1 pointer arithmetic prohibited
- #505/p check deducing bounds from const, 6 FAIL
- Unexpected success to load!
- 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm0 R1=ctx R10=fp
- 2: (95) exit
- from 1 to 3: R0=imm0 R1=ctx R10=fp
- 3: (1f) r0 -= r1
- 4: (95) exit
- #506/u check deducing bounds from const, 7 FAIL
- Unexpected error message!
- EXP: dereference of modified ctx ptr
- RES: 0: (b7) r0 = -1
- 1: (75) if r0 s>= 0x0 goto pc+0
- R0=imm-1 R1=ctx R10=fp
- 2: (1f) r1 -= r0
- R1 pointer arithmetic prohibited
- 0: (b7) r0 = -1
- 1: (75) if r0 s>= 0x0 goto pc+0
- R0=imm-1 R1=ctx R10=fp
- 2: (1f) r1 -= r0
- R1 pointer arithmetic prohibited
- #506/p check deducing bounds from const, 7 FAIL
- Unexpected error message!
- EXP: dereference of modified ctx ptr
- RES: 0: (b7) r0 = -1
- 1: (75) if r0 s>= 0x0 goto pc+0
- R0=imm-1 R1=ctx R10=fp
- 2: (1f) r1 -= r0
- 3: (61) r0 = *(u32 *)(r1 +8)
- R1 invalid mem access 'inv'
- 0: (b7) r0 = -1
- 1: (75) if r0 s>= 0x0 goto pc+0
- R0=imm-1 R1=ctx R10=fp
- 2: (1f) r1 -= r0
- 3: (61) r0 = *(u32 *)(r1 +8)
- R1 invalid mem access 'inv'
- #507/u check deducing bounds from const, 8 FAIL
- Unexpected error message!
- EXP: dereference of modified ctx ptr
- RES: 0: (b7) r0 = -1
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm-1 R1=ctx R10=fp
- 2: (0f) r1 += r0
- R1 pointer arithmetic prohibited
- 0: (b7) r0 = -1
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm-1 R1=ctx R10=fp
- 2: (0f) r1 += r0
- R1 pointer arithmetic prohibited
- #507/p check deducing bounds from const, 8 FAIL
- Unexpected error message!
- EXP: dereference of modified ctx ptr
- RES: 0: (b7) r0 = -1
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm-1 R1=ctx R10=fp
- 2: (0f) r1 += r0
- 3: (61) r0 = *(u32 *)(r1 +8)
- R1 invalid mem access 'inv'
- 0: (b7) r0 = -1
- 1: (75) if r0 s>= 0x0 goto pc+1
- R0=imm-1 R1=ctx R10=fp
- 2: (0f) r1 += r0
- 3: (61) r0 = *(u32 *)(r1 +8)
- R1 invalid mem access 'inv'
- #508/u check deducing bounds from const, 9 FAIL
- Unexpected error message!
- EXP: R0 tried to subtract pointer from scalar
- RES: 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+0
- R0=imm0 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- R1 pointer arithmetic prohibited
- 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+0
- R0=imm0 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- R1 pointer arithmetic prohibited
- #508/p check deducing bounds from const, 9 FAIL
- Unexpected success to load!
- 0: (b7) r0 = 0
- 1: (75) if r0 s>= 0x0 goto pc+0
- R0=imm0 R1=ctx R10=fp
- 2: (1f) r0 -= r1
- 3: (95) exit
- from 1 to 2: safe
- #509/u check deducing bounds from const, 10 FAIL
- Unexpected error message!
- EXP: math between ctx pointer and register with unbounded min value is not allowed
- RES: 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+0
- invalid BPF_JMP opcode d0
- 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+0
- invalid BPF_JMP opcode d0
- #509/p check deducing bounds from const, 10 FAIL
- Unexpected error message!
- EXP: math between ctx pointer and register with unbounded min value is not allowed
- RES: 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+0
- invalid BPF_JMP opcode d0
- 0: (b7) r0 = 0
- 1: (d5) if r0 (null) 0x0 goto pc+0
- invalid BPF_JMP opcode d0
- #510/p bpf_exit with invalid return code. test1 FAIL
- Unexpected error message!
- EXP: R0 has value (0x0; 0xffffffff)
- RES:
- #511/p bpf_exit with invalid return code. test2 FAIL
- Failed to load prog 'Invalid argument'!
- #512/p bpf_exit with invalid return code. test3 FAIL
- Unexpected error message!
- EXP: R0 has value (0x0; 0x3)
- RES:
- #513/p bpf_exit with invalid return code. test4 FAIL
- Failed to load prog 'Invalid argument'!
- #514/p bpf_exit with invalid return code. test5 FAIL
- Unexpected error message!
- EXP: R0 has value (0x2; 0x0)
- RES:
- #515/p bpf_exit with invalid return code. test6 FAIL
- Unexpected error message!
- EXP: R0 is not a known value (ctx)
- RES:
- #516/p bpf_exit with invalid return code. test7 FAIL
- Unexpected error message!
- EXP: R0 has unknown scalar value
- RES:
- #517/p calls: basic sanity FAIL
- Failed to load prog 'Invalid argument'!
- #518/u calls: not on unpriviledged FAIL
- Unexpected error message!
- EXP: function calls to other bpf functions are allowed for root only
- RES: unreachable insn 3
- unreachable insn 3
- #518/p calls: not on unpriviledged FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 3
- #519/p calls: div by 0 in subprog FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 10
- #520/p calls: multiple ret types in subprog 1 FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'inv'
- RES: unreachable insn 10
- unreachable insn 10
- #521/p calls: multiple ret types in subprog 2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 min value is outside of the array range
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #522/p calls: overlapping caller/callee FAIL
- Unexpected error message!
- EXP: last insn is not an exit or jmp
- RES:
- #523/p calls: wrong recursive calls FAIL
- Unexpected error message!
- EXP: jump out of range
- RES:
- #524/p calls: wrong src reg FAIL
- Unexpected error message!
- EXP: BPF_CALL uses reserved fields
- RES:
- #525/p calls: wrong off value FAIL
- Unexpected error message!
- EXP: BPF_CALL uses reserved fields
- RES:
- #526/p calls: jump back loop FAIL
- Unexpected error message!
- EXP: back-edge from insn 0 to 0
- RES:
- #527/p calls: conditional call FAIL
- Unexpected error message!
- EXP: jump out of range
- RES:
- #528/p calls: conditional call 2 FAIL
- Failed to load prog 'Invalid argument'!
- #529/p calls: conditional call 3 FAIL
- Unexpected error message!
- EXP: back-edge from insn
- RES:
- #530/p calls: conditional call 4 FAIL
- Failed to load prog 'Invalid argument'!
- #531/p calls: conditional call 5 FAIL
- Unexpected error message!
- EXP: back-edge from insn
- RES:
- #532/p calls: conditional call 6 FAIL
- Unexpected error message!
- EXP: back-edge from insn
- RES:
- #533/p calls: using r0 returned by callee FAIL
- Failed to load prog 'Invalid argument'!
- #534/p calls: using uninit r0 from callee FAIL
- Unexpected error message!
- EXP: !read_ok
- RES:
- #535/p calls: callee is using r1 FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 2
- #536/u calls: callee using args1 FAIL
- Unexpected error message!
- EXP: allowed for root only
- RES: unreachable insn 2
- unreachable insn 2
- #536/p calls: callee using args1 FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 2
- #537/p calls: callee using wrong args2 FAIL
- Unexpected error message!
- EXP: R2 !read_ok
- RES:
- #538/u calls: callee using two args FAIL
- Unexpected error message!
- EXP: allowed for root only
- RES: unreachable insn 5
- unreachable insn 5
- #538/p calls: callee using two args FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 5
- #539/p calls: callee changing pkt pointers FAIL
- Unexpected error message!
- EXP: R6 invalid mem access 'inv'
- RES:
- #540/p calls: two calls with args FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 2
- #541/p calls: calls with stack arith FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 4
- #542/p calls: calls with misaligned stack access FAIL
- Unexpected error message!
- EXP: misaligned stack access
- RES:
- #543/p calls: calls control flow, jump test Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 42
- 1: (05) goto pc+2
- 4: (05) goto pc-3
- 2: (b7) r0 = 43
- 3: (05) goto pc+1
- 5: (95) exit
- #544/p calls: calls control flow, jump test 2 FAIL
- Unexpected error message!
- EXP: jump out of range from insn 1 to 4
- RES: unreachable insn 2
- unreachable insn 2
- #545/p calls: two calls with bad jump FAIL
- Unexpected error message!
- EXP: jump out of range from insn 11 to 9
- RES:
- #546/p calls: recursive call. test1 FAIL
- Unexpected error message!
- EXP: back-edge
- RES:
- #547/p calls: recursive call. test2 FAIL
- Unexpected error message!
- EXP: back-edge
- RES:
- #548/p calls: unreachable code FAIL
- Unexpected error message!
- EXP: unreachable insn 6
- RES:
- #549/p calls: invalid call FAIL
- Unexpected error message!
- EXP: invalid destination
- RES:
- #550/p calls: invalid call 2 FAIL
- Unexpected error message!
- EXP: invalid destination
- RES:
- #551/p calls: jumping across function bodies. test1 FAIL
- Unexpected error message!
- EXP: jump out of range
- RES:
- #552/p calls: jumping across function bodies. test2 FAIL
- Unexpected error message!
- EXP: jump out of range
- RES:
- #553/p calls: call without exit FAIL
- Unexpected error message!
- EXP: not an exit
- RES:
- #554/p calls: call into middle of ld_imm64 FAIL
- Unexpected error message!
- EXP: last insn
- RES:
- #555/p calls: call into middle of other call FAIL
- Unexpected error message!
- EXP: last insn
- RES:
- #556/p calls: ld_abs with changing ctx data in callee FAIL
- Unexpected error message!
- EXP: BPF_LD_[ABS|IND] instructions cannot be mixed
- RES: unreachable insn 11
- unreachable insn 11
- #557/p calls: two calls with bad fallthrough FAIL
- Unexpected error message!
- EXP: not an exit
- RES:
- #558/p calls: two calls with stack read FAIL
- Failed to load prog 'Invalid argument'!
- #559/p calls: two calls with stack write FAIL
- Failed to load prog 'Invalid argument'!
- #560/p calls: stack overflow using two frames (pre-call access) FAIL
- Unexpected error message!
- EXP: combined stack size
- RES:
- #561/p calls: stack overflow using two frames (post-call access) FAIL
- Unexpected error message!
- EXP: combined stack size
- RES:
- #562/p calls: stack depth check using three frames. test1 FAIL
- Failed to load prog 'Invalid argument'!
- #563/p calls: stack depth check using three frames. test2 FAIL
- Failed to load prog 'Invalid argument'!
- #564/p calls: stack depth check using three frames. test3 FAIL
- Unexpected error message!
- EXP: combined stack
- RES:
- #565/p calls: stack depth check using three frames. test4 FAIL
- Unexpected error message!
- EXP: combined stack
- RES:
- #566/p calls: stack depth check using three frames. test5 FAIL
- Unexpected error message!
- EXP: call stack
- RES:
- #567/p calls: spill into caller stack frame FAIL
- Unexpected error message!
- EXP: cannot spill
- RES:
- #568/p calls: write into caller stack frame FAIL
- Failed to load prog 'Invalid argument'!
- #569/p calls: write into callee stack frame FAIL
- Unexpected error message!
- EXP: cannot return stack pointer
- RES:
- #570/p calls: two calls with stack write and void return FAIL
- Failed to load prog 'Invalid argument'!
- #571/u calls: ambiguous return value FAIL
- Unexpected error message!
- EXP: allowed for root only
- RES: unreachable insn 7
- unreachable insn 7
- #571/p calls: ambiguous return value FAIL
- Unexpected error message!
- EXP: R0 !read_ok
- RES: unreachable insn 7
- unreachable insn 7
- #572/p calls: two calls that return map_value Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #573/p calls: two calls that return map_value with bool condition Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #574/p calls: two calls that return map_value with incorrect bool check Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid read from stack off -16+0 size 8
- RES:
- #575/p calls: two calls that receive map_value via arg=ptr_stack_of_caller. test1 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=8 off=2 size=8
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #576/p calls: two calls that receive map_value via arg=ptr_stack_of_caller. test2 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #577/p calls: two jumps that receive map_value via arg=ptr_stack_of_jumper. test3 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid access to map value, value_size=8 off=2 size=8
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #578/p calls: two calls that receive map_value_ptr_or_null via arg. test1 Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Bad file descriptor'!
- fd -1 is not pointing to valid bpf_map
- #579/p calls: two calls that receive map_value_ptr_or_null via arg. test2 Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R0 invalid mem access 'inv'
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #580/p calls: pkt_ptr spill into caller stack FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 4
- #581/p calls: pkt_ptr spill into caller stack 2 FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: unreachable insn 6
- unreachable insn 6
- #582/p calls: pkt_ptr spill into caller stack 3 FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 7
- #583/p calls: pkt_ptr spill into caller stack 4 FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 7
- #584/p calls: pkt_ptr spill into caller stack 5 FAIL
- Unexpected error message!
- EXP: same insn cannot be used with different
- RES: unreachable insn 7
- unreachable insn 7
- #585/p calls: pkt_ptr spill into caller stack 6 FAIL
- Unexpected error message!
- EXP: R4 invalid mem access
- RES: unreachable insn 8
- unreachable insn 8
- #586/p calls: pkt_ptr spill into caller stack 7 FAIL
- Unexpected error message!
- EXP: R4 invalid mem access
- RES: unreachable insn 8
- unreachable insn 8
- #587/p calls: pkt_ptr spill into caller stack 8 FAIL
- Failed to load prog 'Invalid argument'!
- unreachable insn 13
- #588/p calls: pkt_ptr spill into caller stack 9 FAIL
- Unexpected error message!
- EXP: invalid access to packet
- RES: unreachable insn 13
- unreachable insn 13
- #589/p calls: caller stack init to zero or map_value_or_null Failed to create hash map 'Invalid argument'!
- FAIL
- Failed to load prog 'Invalid argument'!
- #590/p calls: stack init to zero and pruning Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid indirect read from stack off -8+0 size 8
- RES:
- #591/p search pruning: all branches should be verified (nop operation) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: R6 invalid mem access 'inv'
- RES:
- #592/p search pruning: all branches should be verified (invalid stack access) Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: invalid read from stack off -16+0 size 8
- RES:
- #593/u jit: lsh, rsh, arsh by 1 Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 1
- 1: (b7) r1 = 255
- 2: (67) r1 <<= 1
- 3: (64) (u32) r1 <<= (u32) 1
- 4: (15) if r1 == 0x3fc goto pc+1
- R0=imm1 R1=inv R10=fp
- 5: (95) exit
- from 4 to 6: R0=imm1 R1=imm1020 R10=fp
- 6: (77) r1 >>= 1
- 7: (74) (u32) r1 >>= (u32) 1
- 8: (15) if r1 == 0xff goto pc+1
- R0=imm1 R1=inv R10=fp
- 9: (95) exit
- from 8 to 10: R0=imm1 R1=imm255 R10=fp
- 10: (c7) r1 s>>= 1
- 11: (15) if r1 == 0x7f goto pc+1
- R0=imm1 R1=inv R10=fp
- 12: (95) exit
- from 11 to 13: R0=imm1 R1=imm127 R10=fp
- 13: (b7) r0 = 2
- 14: (95) exit
- #593/p jit: lsh, rsh, arsh by 1 Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 1
- 1: (b7) r1 = 255
- 2: (67) r1 <<= 1
- 3: (64) (u32) r1 <<= (u32) 1
- 4: (15) if r1 == 0x3fc goto pc+1
- R0=imm1 R1=inv R10=fp
- 5: (95) exit
- from 4 to 6: R0=imm1 R1=imm1020 R10=fp
- 6: (77) r1 >>= 1
- 7: (74) (u32) r1 >>= (u32) 1
- 8: (15) if r1 == 0xff goto pc+1
- R0=imm1 R1=inv R10=fp
- 9: (95) exit
- from 8 to 10: R0=imm1 R1=imm255 R10=fp
- 10: (c7) r1 s>>= 1
- 11: (15) if r1 == 0x7f goto pc+1
- R0=imm1 R1=inv R10=fp
- 12: (95) exit
- from 11 to 13: R0=imm1 R1=imm127 R10=fp
- 13: (b7) r0 = 2
- 14: (95) exit
- #594/u jit: mov32 for ldimm64, 1 Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 2
- 1: (18) r1 = 0xfeffffffffffffff
- 3: (77) r1 >>= 32
- 4: (18) r2 = 0xfeffffff
- 6: (1d) if r1 == r2 goto pc+1
- R0=imm2 R1=inv R2=inv R10=fp
- 7: (b7) r0 = 1
- 8: (95) exit
- from 6 to 8: R0=imm2 R1=inv R2=inv R10=fp
- 8: (95) exit
- #594/p jit: mov32 for ldimm64, 1 Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 2
- 1: (18) r1 = 0xfeffffffffffffff
- 3: (77) r1 >>= 32
- 4: (18) r2 = 0xfeffffff
- 6: (1d) if r1 == r2 goto pc+1
- R0=imm2 R1=inv R2=inv R10=fp
- 7: (b7) r0 = 1
- 8: (95) exit
- from 6 to 8: R0=imm2 R1=inv R2=inv R10=fp
- 8: (95) exit
- #595/u jit: mov32 for ldimm64, 2 Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 1
- 1: (18) r1 = 0x1ffffffff
- 3: (18) r2 = 0xffffffff
- 5: (1d) if r1 == r2 goto pc+1
- R0=imm1 R1=inv R2=inv R10=fp
- 6: (b7) r0 = 2
- 7: (95) exit
- from 5 to 7: R0=imm1 R1=inv R2=inv R10=fp
- 7: (95) exit
- #595/p jit: mov32 for ldimm64, 2 Unexpected bpf_prog_test_run error
- 0: (b7) r0 = 1
- 1: (18) r1 = 0x1ffffffff
- 3: (18) r2 = 0xffffffff
- 5: (1d) if r1 == r2 goto pc+1
- R0=imm1 R1=inv R2=inv R10=fp
- 6: (b7) r0 = 2
- 7: (95) exit
- from 5 to 7: R0=imm1 R1=inv R2=inv R10=fp
- 7: (95) exit
- #596/u jit: various mul tests Unexpected bpf_prog_test_run error
- 0: (18) r2 = 0xeeff0d413122
- 2: (18) r0 = 0xfefefe
- 4: (18) r1 = 0xefefef
- 6: (2f) r0 *= r1
- 7: (1d) if r0 == r2 goto pc+2
- R0=inv R1=inv R2=inv R10=fp
- 8: (b7) r0 = 1
- 9: (95) exit
- from 7 to 10: R0=inv R1=inv R2=inv R10=fp
- 10: (18) r3 = 0xfefefe
- 12: (2f) r3 *= r1
- 13: (1d) if r3 == r2 goto pc+2
- R0=inv R1=inv R2=inv R3=inv R10=fp
- 14: (b7) r0 = 1
- 15: (95) exit
- from 13 to 16: R0=inv R1=inv R2=inv R3=inv R10=fp
- 16: (bc) (u32) r2 = (u32) r2
- 17: (18) r0 = 0xfefefe
- 19: (2c) (u32) r0 *= (u32) r1
- 20: (1d) if r0 == r2 goto pc+2
- R0=inv R1=inv R2=inv R3=inv R10=fp
- 21: (b7) r0 = 1
- 22: (95) exit
- from 20 to 23: R0=inv R1=inv R2=inv R3=inv R10=fp
- 23: (18) r3 = 0xfefefe
- 25: (2c) (u32) r3 *= (u32) r1
- 26: (1d) if r3 == r2 goto pc+2
- R0=inv R1=inv R2=inv R3=inv R10=fp
- 27: (b7) r0 = 1
- 28: (95) exit
- from 26 to 29: R0=inv R1=inv R2=inv R3=inv R10=fp
- 29: (18) r0 = 0x952a7bbc
- 31: (18) r1 = 0xfefefe
- 33: (18) r2 = 0xeeff0d413122
- 35: (2c) (u32) r2 *= (u32) r1
- 36: (1d) if r2 == r0 goto pc+2
- R0=inv R1=inv R2=inv R3=inv R10=fp
- 37: (b7) r0 = 1
- 38: (95) exit
- from 36 to 39: R0=inv R1=inv R2=inv R3=inv R10=fp
- 39: (b7) r0 = 2
- 40: (95) exit
- #596/p jit: various mul tests Unexpected bpf_prog_test_run error
- 0: (18) r2 = 0xeeff0d413122
- 2: (18) r0 = 0xfefefe
- 4: (18) r1 = 0xefefef
- 6: (2f) r0 *= r1
- 7: (1d) if r0 == r2 goto pc+2
- R0=inv R1=inv R2=inv R10=fp
- 8: (b7) r0 = 1
- 9: (95) exit
- from 7 to 10: R0=inv R1=inv R2=inv R10=fp
- 10: (18) r3 = 0xfefefe
- 12: (2f) r3 *= r1
- 13: (1d) if r3 == r2 goto pc+2
- R0=inv R1=inv R2=inv R3=inv R10=fp
- 14: (b7) r0 = 1
- 15: (95) exit
- from 13 to 16: R0=inv R1=inv R2=inv R3=inv R10=fp
- 16: (bc) (u32) r2 = (u32) r2
- 17: (18) r0 = 0xfefefe
- 19: (2c) (u32) r0 *= (u32) r1
- 20: (1d) if r0 == r2 goto pc+2
- R0=inv R1=inv R2=inv R3=inv R10=fp
- 21: (b7) r0 = 1
- 22: (95) exit
- from 20 to 23: R0=inv R1=inv R2=inv R3=inv R10=fp
- 23: (18) r3 = 0xfefefe
- 25: (2c) (u32) r3 *= (u32) r1
- 26: (1d) if r3 == r2 goto pc+2
- R0=inv R1=inv R2=inv R3=inv R10=fp
- 27: (b7) r0 = 1
- 28: (95) exit
- from 26 to 29: R0=inv R1=inv R2=inv R3=inv R10=fp
- 29: (18) r0 = 0x952a7bbc
- 31: (18) r1 = 0xfefefe
- 33: (18) r2 = 0xeeff0d413122
- 35: (2c) (u32) r2 *= (u32) r1
- 36: (1d) if r2 == r0 goto pc+2
- R0=inv R1=inv R2=inv R3=inv R10=fp
- 37: (b7) r0 = 1
- 38: (95) exit
- from 36 to 39: R0=inv R1=inv R2=inv R3=inv R10=fp
- 39: (b7) r0 = 2
- 40: (95) exit
- #597/p xadd/w check unaligned stack FAIL
- Unexpected error message!
- EXP: misaligned stack access off
- RES: 0: (b7) r0 = 1
- 1: (7b) *(u64 *)(r10 -8) = r0
- 2: (c3) lock *(u32 *)(r10 -7) += r0
- misaligned access off -7 size 4
- 0: (b7) r0 = 1
- 1: (7b) *(u64 *)(r10 -8) = r0
- 2: (c3) lock *(u32 *)(r10 -7) += r0
- misaligned access off -7 size 4
- #598/p xadd/w check unaligned map Failed to create hash map 'Invalid argument'!
- FAIL
- Unexpected error message!
- EXP: misaligned value access off
- RES: fd -1 is not pointing to valid bpf_map
- fd -1 is not pointing to valid bpf_map
- #599/p xadd/w check unaligned pkt FAIL
- Unexpected error message!
- EXP: BPF_XADD stores into R2 packet
- RES:
- Summary: 176 PASSED, 0 SKIPPED, 671 FAILED
- selftests: test_verifier [FAIL]
- (cgroup_helpers.c:61: errno: No such device) mount cgroup2
- (cgroup_helpers.c:96: errno: No such file or directory) Opening Cgroup Procs: /mnt/cgroup.procs
- selftests: test_sock [FAIL]
- ./test_sock_addr has to be run via ./test_sock_addr.sh. Skip direct run.
- selftests: test_sock_addr [PASS]
- selftests: urandom_read [PASS]
- RTNETLINK answers: Operation not supported
- selftests: test_sock_addr.sh [FAkselftest: Running tests in breakpoints
- IL]
- TAP version 13
- Running tests in breakpoints
- ========================================
- PM: Syncing filesystems ... done.
- Freezing user space processes ... (elapsed 0.005 seconds) done.
- Freezing remaining freezable tasks ... (elapsed 0.005 seconds) done.
- Suspending console(s) (use no_console_suspend to debug)
- PM: suspend of devices complete after 38.753 msecs
- PM: late suspend of devices complete after 8.853 msecs
- PM: noirq suspend of devices complete after 10.385 msecs
- Disabling non-boot CPUs ...
- CPU1: shutdown
- psci: CPU1 killed.
- CPU2: shutdown
- psci: Retrying again to check for CPU kill
- psci: CPU2 killed.
- CPU3: shutdown
- psci: Retrying again to check for CPU kill
- psci: CPU3 killed.
- CPU4: shutdown
- psci: Retrying again to check for CPU kill
- psci: CPU4 killed.
- CPU5: shutdown
- psci: Retrying again to check for CPU kill
- psci: CPU5 killed.
- CPU6: shutdown
- psci: Retrying again to check for CPU kill
- psci: CPU6 killed.
- CPU7: shutdown
- psci: Retrying again to check for CPU kill
- psci: CPU7 killed.
- Enabling non-boot CPUs ...
- Detected VIPT I-cache on CPU1
- CPU1: Booted secondary processor [410fd033]
- cache: parent cpu1 should not be sleeping
- CPU1 is up
- Detected VIPT I-cache on CPU2
- CPU2: Booted secondary processor [410fd033]
- cache: parent cpu2 should not be sleeping
- CPU2 is up
- Detected VIPT I-cache on CPU3
- CPU3: Booted secondary processor [410fd033]
- cache: parent cpu3 should not be sleeping
- CPU3 is up
- Detected VIPT I-cache on CPU4
- CPU4: Booted secondary processor [410fd033]
- cache: parent cpu4 should not be sleeping
- CPU4 is up
- Detected VIPT I-cache on CPU5
- CPU5: Booted secondary processor [410fd033]
- cache: parent cpu5 should not be sleeping
- CPU5 is up
- Detected VIPT I-cache on CPU6
- CPU6: Booted secondary processor [410fd033]
- cache: parent cpu6 should not be sleeping
- CPU6 is up
- Detected VIPT I-cache on CPU7
- CPU7: Booted secondary processor [410fd033]
- cache: parent cpu7 should not be sleeping
- CPU7 is up
- PM: noirq resume of devices complete after 4.663 msecs
- PM: early resume of devices complete after 6.243 msecs
- mmc_host mmc0: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
- mmc_host mmc0: Bus speed (slot 0) = 51756522Hz (slot req 52000000Hz, actual 51756522HZ div = 0)
- mmc_host mmc2: Bus speed (slot 0) = 24800000Hz (slot req 400000Hz, actual 400000HZ div = 31)
- mmc_host mmc2: Bus speed (slot 0) = 24800000Hz (slot req 25000000Hz, actual 24800000HZ div = 0)
- PM: resume of devices complete after 231.682 msecs
- Restarting tasks ... done.
- ok 1 CPU 0
- ok 2 CPU 1
- ok 3 CPU 2
- ok 4 CPU 3
- ok 5 CPU 4
- ok 6 CPU 5
- ok 7 CPU 6
- ok 8 CPU 7
- Pass 8 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0kselftest: Running tests in capabilities
- 1..8
- selftests: step_after_suspend_test [PASS]
- TAP version 13
- Running tests in capabilities
- ========================================
- # [RUN] +++ Tests with uid == 0 +++
- # [NOTE] Using global UIDs for tests
- # [RUN] Root => ep
- # validate_cap:: Capabilities after execve were correct
- ok 1 Passed
- # Check cap_ambient manipulation rules
- ok 2 PR_CAP_AMBIENT_RAISE failed on non-inheritable cap
- ok 3 PR_CAP_AMBIENT_RAISE failed on non-permitted cap
- ok 4 PR_CAP_AMBIENT_RAISE worked
- ok 5 Basic manipulation appears to work
- # [RUN] Root +i => eip
- # validate_cap:: Capabilities after execve were correct
- ok 6 Passed
- # [RUN] UID 0 +ia => eipa
- # validate_cap:: Capabilities after execve were correct
- ok 7 Passed
- # [RUN] Root +ia, suidroot => eipa
- # validate_cap:: Capabilities after execve were correct
- ok 8 Passed
- # [RUN] Root +ia, suidnonroot => ip
- # validate_cap:: Capabilities after execve were correct
- ok 9 Passed
- # [RUN] Root +ia, sgidroot => eipa
- # validate_cap:: Capabilities after execve were correct
- ok 10 Passed
- # [RUN] Root, gid != 0, +ia, sgidroot => eip
- # validate_cap:: Capabilities after execve were correct
- ok 11 Passed
- # [RUN] Root +ia, sgidnonroot => eip
- # validate_cap:: Capabilities after execve were correct
- ok 12 Passed
- Pass 12kselftest: Running tests in cpufreq
- Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..12
- # ==================================================
- # [RUN] +++ Tests with uid != 0 +++
- # [NOTE] Using global UIDs for tests
- # [RUN] Non-root => no caps
- # validate_cap:: Capabilities after execve were correct
- ok 1 Passed
- # Check cap_ambient manipulation rules
- ok 2 PR_CAP_AMBIENT_RAISE failed on non-inheritable cap
- ok 3 PR_CAP_AMBIENT_RAISE failed on non-permitted cap
- ok 4 PR_CAP_AMBIENT_RAISE worked
- ok 5 Basic manipulation appears to work
- # [RUN] Non-root +i => i
- # validate_cap:: Capabilities after execve were correct
- ok 6 Passed
- # [RUN] UID 1 +ia => eipa
- # validate_cap:: Capabilities after execve were correct
- ok 7 Passed
- # [RUN] Non-root +ia, sgidnonroot => i
- # validate_cap:: Capabilities after execve were correct
- ok 8 Passed
- # [RUN] Non-root +ia, sgidroot => i
- # validate_cap:: Capabilities after execve were correct
- ok 9 Passed
- Pass 9 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..9
- selftests: test_execve [PASS]
- TAP version 13
- Running tests in cpufreq
- ========================================
- pid 1802's current affinity mask: ff
- pid 1802's new affinity mask: 1
- CPU1: shutdown
- psci: CPU1 killed.
- CPU2: shutdown
- psci: CPU2 killed.
- CPU3: shutdown
- psci: CPU3 killed.
- CPU4: shutdown
- psci: CPU4 killed.
- CPU5: shutdown
- psci: CPU5 killed.
- CPU6: shutdown
- psci: CPU6 killed.
- CPU7: shutdown
- psci: CPU7 killed.
- Detected VIPT I-cache on CPU1
- CPU1: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU2
- CPU2: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU3
- CPU3: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU4
- CPU4: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU5
- CPU5: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU6
- CPU6: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU7
- CPU7: Booted secondary processor [410fd033]
- CPU1: shutdown
- psci: CPU1 killed.
- CPU2: shutdown
- psci: CPU2 killed.
- CPU3: shutdown
- psci: CPU3 killed.
- CPU4: shutdown
- psci: CPU4 killed.
- CPU5: shutdown
- psci: CPU5 killed.
- CPU6: shutdown
- psci: CPU6 killed.
- CPU7: shutdown
- psci: CPU7 killed.
- Detected VIPT I-cache on CPU1
- CPU1: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU2
- CPU2: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU3
- CPU3: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU4
- CPU4: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU5
- CPU5: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU6
- CPU6: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU7
- CPU7: Booted secondary processor [410fd033]
- CPU1: shutdown
- psci: CPU1 killed.
- CPU2: shutdown
- psci: CPU2 killed.
- CPU3: shutdown
- psci: CPU3 killed.
- CPU4: shutdown
- psci: CPU4 killed.
- CPU5: shutdown
- psci: CPU5 killed.
- CPU6: shutdown
- psci: CPU6 killed.
- CPU7: shutdown
- psci: CPU7 killed.
- Detected VIPT I-cache on CPU1
- CPU1: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU2
- CPU2: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU3
- CPU3: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU4
- CPU4: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU5
- CPU5: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU6
- CPU6: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU7
- CPU7: Booted secondary processor [410fd033]
- CPU1: shutdown
- psci: CPU1 killed.
- CPU2: shutdown
- psci: CPU2 killed.
- CPU3: shutdown
- psci: CPU3 killed.
- CPU4: shutdown
- psci: CPU4 killed.
- CPU5: shutdown
- psci: CPU5 killed.
- CPU6: shutdown
- psci: CPU6 killed.
- CPU7: shutdown
- psci: CPU7 killed.
- Detected VIPT I-cache on CPU1
- CPU1: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU2
- CPU2: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU3
- CPU3: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU4
- CPU4: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU5
- CPU5: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU6
- CPU6: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU7
- CPU7: Booted secondary processor [410fd033]
- CPU1: shutdown
- psci: CPU1 killed.
- CPU2: shutdown
- psci: CPU2 killed.
- CPU3: shutdown
- psci: CPU3 killed.
- CPU4: shutdown
- psci: CPU4 killed.
- CPU5: shutdown
- psci: CPU5 killed.
- CPU6: shutdown
- psci: CPU6 killed.
- CPU7: shutdown
- psci: CPU7 killed.
- Detected VIPT I-cache on CPU1
- CPU1: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU2
- CPU2: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU3
- CPU3: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU4
- CPU4: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU5
- CPU5: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU6
- CPU6: Booted secondary processor [410fd033]
- Detected VIPT I-cache on CPU7
- CPU7: Booted secondary processor [410fd033]
- selftests: main.sh [PASS]
- TAP version kselftest: Running tests in cpu-hotplug
- 13
- Running tests in cpu-hotplug
- ========================================
- pid 2153's current affinity mask: ff
- pid 2153's new affinity mask: 1
- CPU online/offline summary:
- Cpus in online state: 0-7
- Cpus in offline state: 0
- Limited scope test: one hotplug cpu
- (leaves cpu in the original state):
- online to offline to online: cpu 7
- CPU7: shutdown
- psci: CPU7 killed.
- Detected VIPT I-cache on CPU7
- CPU7: Booted secondary processor [410fd033]
- selftests: cpu-on-off-test.sh [PASS]
- kselftest: Running tests in efivarfs
- TAP version 13
- Runningkselftest: Running tests in exec
- tests in efivarfs
- ========================================
- TAP version 13
- Running tests in exec
- ========================================
- Check success of execveat(3, '../execveat', 0)... [OK]
- Check success of execveat(5, 'execveat', 0)... [OK]
- Check success of execveat(7, 'execveat', 0)... [OK]
- Check success of execveat(-100, '/opt/kselftests/mainline/exec/execveat', 0)... [OK]
- Check success of execveat(99, '/opt/kselftests/mainline/exec/execveat', 0)... [OK]
- Check success of execveat(9, '', 4096)... [OK]
- Check success of execveat(18, '', 4096)... [OK]
- Check success of execveat(10, '', 4096)... [OK]
- Check success of execveat(15, '', 4096)... [OK]
- Check success of execveat(15, '', 4096)... [OK]
- Check success of execveat(16, '', 4096)... [OK]
- Check failure of execveat(9, '', 0) with ENOENT... [OK]
- Check failure of execveat(9, '(null)', 4096) with EFAULT... [OK]
- Check success of execveat(5, 'execveat.symlink', 0)... [OK]
- Check success of execveat(7, 'execveat.symlink', 0)... [OK]
- Check success of execveat(-100, '/opt/kselftests/main...xec/execveat.symlink', 0)... [OK]
- Check success of execveat(11, '', 4096)... [OK]
- Check success of execveat(11, '', 4352)... [OK]
- Check failure of execveat(5, 'execveat.symlink', 256) with ELOOP... [OK]
- Check failure of execveat(7, 'execveat.symlink', 256) with ELOOP... [OK]
- Check failure of execveat(-100, '/opt/kselftests/mainline/exec/execveat.symlink', 256) with ELOOP... [OK]
- Check success of execveat(3, '../script', 0)... [OK]
- Check success of execveat(5, 'script', 0)... [OK]
- Check success of execveat(7, 'script', 0)... [OK]
- Check success of execveat(-100, '/opt/kselftests/mainline/exec/script', 0)... [OK]
- Check success of execveat(14, '', 4096)... [OK]
- Check success of execveat(14, '', 4352)... [OK]
- Check failure of execveat(19, '', 4096) with ENOENT... [OK]
- Check failure of execveat(8, 'script', 0) with ENOENT... [OK]
- Check success of execveat(17, '', 4096)... [OK]
- Check success of execveat(17, '', 4096)... [OK]
- Check success of execveat(4, '../script', 0)... [OK]
- Check success of execveat(4, 'script', 0)... [OK]
- Check success of execveat(4, '../script', 0)... [OK]
- Check failure of execveat(4, 'script', 0) with ENOENT... [OK]
- Check failure of execveat(5, 'execveat', 65535) with EINVAL... [OK]
- Check failure of execveat(5, 'no-such-file', 0) with ENOENT... [OK]
- Check failure of execveat(7, 'no-such-file', 0) with ENOENT... [OK]
- Check failure of execveat(-100, 'no-such-file', 0) with ENOENT... [OK]
- Check failure of execveat(5, '', 4096) with EACCES... [OK]
- Check failure of execveat(5, 'Makefile', 0) with EACCES... [OK]
- Check failure of execveat(12, '', 4096) with EACCES... [OK]
- Check failure of execveat(13, '', 4096) with EACCES... [OK]
- Check failure of execveat(99, '', 4096) with EBADF... [OK]
- Check failure of execveat(99, 'execveat', 0) with EBADF... [OK]
- Check failure of execveat(9, 'execveat', 0) with ENOTDIR... [OK]
- Invoke copy of 'execveat' via filename of length 4094:
- Check success of execveat(20, '', 4096)... [OK]
- Check success of execveat(6, 'opt/kselftests/mainl...yyyyyyyyyyyyyyyyyyyy', 0)... [OK]
- Invoke copy of 'script' via filename of length 4094:
- Check success of execveat(21, '', 4096)... [OK]
- /bin/sh: /dev/fd/6/opt/kselftests/mainline/exec/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxkselftest: Running tests in filesystems
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxkselftest: Running tests in firmware
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxkselftest: Running tests in ftrace
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxkselftest: Running tests in futex
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xkselftest: Running tests in gpio
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxkselftest: Running tests in intel_pstate
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxkselftest: Running tests in ipc
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxkselftest: Running tests in kcmp
- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy: File name too long
- Check success of execveat(6, 'opt/kselftests/mainl...yyyyyyyyyyyyyyyyyyyy', 0)... [OK]
- selftests: execveat [PASS]
- TAP versionkselftest: Running tests in kvm
- 13
- Running tests in filesystems
- ========================================
- Failed to perform TIOCGPTPEER ioctl
- selftests: devpts_pts [FAIL]
- TAP version 13
- Running tests in firmware
- ========================================
- TAP version 13
- Running tests in ftrace
- ========================================
- TAP version 13
- Running tests in futex
- ========================================
- TAP version 13
- Running tests in gpio
- ========================================
- TAP version 13
- Running tests in intel_pstate
- ========================================
- TAP version 13
- Running tests in ipc
- ========kselftest: Running tests in lib
- ================================
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- selftests: msgque [PASS]
- TAP version 13
- Running tests in kcmp
- ========================================
- pid1: 2206 pid2: 2207 FD: 2 FILES: 1 VM: 1 FS: 2 SIGHAND: 2 IO: 2 SYSVSEM: 0 INV: -1
- PASS: 0 returned as expected
- PASS: 0 returned as expected
- FAIL: 0 expected but -1 returned (Invalid argument)
- Pass 2 Fail 1 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..3
- Bail out!
- Pass 2 Fail 1 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..3
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skipkselftest: Running tests in membarrier
- 0 Error 0
- 1..0
- selftests: kcmp_kselftest: Running tests in memfd
- test [PASS]
- TAP version 13
- Running tests in kvm
- ========================================
- ./run_kselftest.sh: line 127: ./set_sregs_test: No such file or directory
- selftests: set_sregs_test [FAIL]
- ./run_kselftest.sh: line 128: ./sync_regs_test: No such file or directory
- selftests: sync_regs_test [FAIL]
- ./run_kselftest.sh: line 129: ./vmx_tsc_adjust_test: No such file or directory
- selftests: vmx_tsc_adjust_test [FAIL]
- TAP version 13
- Running tests in lib
- ========================================
- printf: [SKIP]
- selftests: printf.sh [FAIL]
- TAP version 13
- Running tests in membarrier
- ========================================
- TAP version 13
- Running tests in memfd
- ========================================
- fuse: device not found, try 'modprobe fuse' first
- memfd: CREATE
- memfd: BASIC
- memfd: SEAL-WRITE
- memfd: SEAL-SHRINK
- memfd: SEAL-GROW
- memfd: SEAL-RESIZE
- memfd: SHARE-DUP
- memfd: SHARE-MMAP
- memfd: SHARE-OPEN
- memfd: SHARE-FORK
- memfd: SHARE-DUP (shared file-table)
- memfd: SHARE-MMAP (shared file-table)
- memfd: SHARE-OPEN (shared file-table)
- memfd: SHARE-FORK (shared file-table)
- memfd: DONE
- run_tests.sh (2218): drop_caches: 3
- memfd-hugetlb: CREATE
- memfd_create("", 0) failed: Invalid argument
- ./run_tests.sh: line 62: 2228 Aborted (core dumped) ./memfd_test hugetlbfs
- fusermount: failed to unmount /opt/kselftests/mainline/memfd/mnt: Invalid argument
- fuse: device not found, try 'modprobe fuse' first
- selftests: run_tests.sh [PASS]
- TAP version 13
- Rukselftest: Running tests in memory-hotplug
- nning tests in memory-hotplug
- =============================kselftest: Running tests in mount
- ===========
- TAP version 13
- Running tests in mount
- ========================================
- TAP version 13
- Rukselftest: Running tests in mqueue
- nning tests in mqueue
- ========================================
- Initial system state:
- Using queue path: /test1
- RLIMIT_MSGQUEUE(soft): 819200
- RLIMIT_MSGQUEUE(hard): 819200
- Maximum Message Size: 8192
- Maximum Queue Size: 10
- Default Message Size: 8192
- Default Queue Size: 10
- Adjusted system state for testing:
- RLIMIT_MSGQUEUE(soft): 819200
- RLIMIT_MSGQUEUE(hard): 819200
- Maximum Message Size: 8192
- Maximum Queue Size: 10
- Default Message Size: 8192
- Default Queue Size: 10
- Test series 1, behavior when no attr struct passed to mq_open:
- Kernel supports setting defaults separately from maximums: PASS
- Given sane values, mq_open without an attr struct succeeds: PASS
- Kernel properly honors default setting knobs: PASS
- Kernel properly limits default values to lesser of default/max: PASS
- Kernel properly fails to create queue when defaults would
- exceed rlimit: PASS
- Test series 2, behavior when attr struct is passed to mq_open:
- Queue open in excess of rlimit max when euid = 0 failed: PASS
- Queue open with mq_maxmsg > limit when euid = 0 succeeded: PASS
- Queue open with mq_msgsize > limit when euid = 0 succeeded: PASS
- Queue open with total size > 2GB when euid = 0 failed: PASS
- Queue open in excess of rlimit max when euid = 99 failed: PASS
- Queue open with mq_maxmsg > limit when euid = 99 failed: PASS
- Queue open with mq_msgsize > limit when euid = 99 failed: PASS
- Queue open with total size > 2GB when euid = 99 failed: PASS
- Initial system state:
- Using queue path: /mq_perf_tests
- RLIMIT_MSGQUEUE(soft): 819200
- RLIMIT_MSGQUEUE(hard): 819200
- Maximum Message Size: 8192
- Maximum Queue Size: 10
- Nice value: 0
- Adjusted system state for testing:
- RLIMIT_MSGQUEUE(soft): (unlimited)
- RLIMIT_MSGQUEUE(hard): (unlimited)
- Maximum Message Size: 16777216
- Maximum Queue Size: 65530
- Nice value: -20
- Continuous mode: (disabled)
- CPUs to pin: 7
- Queue /mq_perf_tests created:
- mq_flags: O_NONBLOCK
- mq_maxmsg: 65530
- mq_msgsize: 16
- mq_curmsgs: 0
- Started mqueue performance test thread on CPU 7
- Max priorities: 32768
- Clock resolution: 1 nsec
- Test #1: Time send/recv message, queue empty
- (10000000 iterations)
- Send msg: 89.551144445s total time
- 8955 nsec/msg
- Recv msg: 107.644725323s total time
- 10764 nsec/msg
- Test #2a: Time send/recv message, queue full, constant prio
- :
- (100000 iterations)
- Filling queue...done. 0.318596668s
- Testing...done.
- Send msg: 0.899125268s total time
- 8991 nsec/msg
- Recv msg: 0.971990014s total time
- 9719 nsec/msg
- Draining queue...done. 0.365185834s
- Test #2b: Time send/recv message, queue full, increasing prio
- :
- (100000 iterations)
- Filling queue...done. 0.375832500s
- Testing...done.
- Send msg: 0.951239014s total time
- 9512 nsec/msg
- Recv msg: 1.89356737s total time
- 10893 nsec/msg
- Draining queue...done. 0.397614167s
- Test #2c: Time send/recv message, queue full, decreasing prio
- :
- (100000 iterations)
- Filling queue...done. 0.374169167s
- Testing...done.
- Send msg: 0.955662572s total time
- 9556 nsec/msg
- Recv msg: 1.60907466s total time
- 10609 nsec/msg
- Draining queue...done. 0.399725000s
- Test #2d: Time send/recv message, queue full, random prio
- :
- (100000 iterations)
- Filling queue...done. 0.403492500s
- Testing...done.
- Send msg: 0.996808351s total time
- 9968 nsec/msg
- Recv msg: 1.89992446s total time
- 10899 nsec/msg
- Draining queue...done. 0.395238333s
- TAP version 13
- Rkselftest: Running tests in net
- unning tests in net
- ========================================
- ---- IPv4 UDP ----
- Testing EBPF mod 10...
- ./reuseport_bpf: failed to set SO_ATTACH_REUSEPORT_EBPF: Protocol not available
- selftests: reuseport_bpf [FAIL]
- ---- UDP IPv4 created before IPv6 ----
- ---- UDP IPv6 created before IPv4 ----
- ---- UDP IPv4 created before IPv6 (large) ----
- ---- UDP IPv6 created before IPv4 (large) ----
- ---- TCP IPv4 created before IPv6 ----
- ---- TCP IPv6 created before IPv4 ----
- SUCCESS
- selftests: reuseport_dualstack [PASS]
- Opening 127.0.0.1:9999
- Opening INADDR_ANY:9999
- bind: Address already in use
- Opening in6addr_any:9999
- Opening INADDR_ANY:9999
- bind: Address already in use
- Opening INADDR_ANY:9999 after closing ipv6 socket
- bind: Address already in use
- Successselftests: reuseaddr_conflict [PASS]
- --------------------
- running socket test
- --------------------
- [PASS]
- selftests: run_netsocktests [PASS]
- selftests: netdevice.sh [PASS]
- RTNETLINK answers: Operation not supported
- veth not supported
- TEST: vti6: PMTU exceptions [SKIP]
- RTNETLINK answers: Operation not supported
- veth not supported
- TEST: vti4: PMTU exceptions [SKIP]
- RTNETLINK answers: Operation not supported
- veth not supported
- TEST: vti4: default MTU assignment [SKIP]
- RTNETLINK answers: Operation not supported
- veth not supported
- TEST: vti6: default MTU assignment [SKIP]
- RTNETLINK answers: Operation not supported
- TEST: vti4: MTU setting on link creation [SKIP]
- vti not supported
- RTNETLINK answers: Operation not supported
- TEST: vti6: MTU setting on link creation [SKIP]
- vti6 not supported
- RTNETLINK answers: Operation not supported
- TEST: vti6: MTU changes on link changes [SKIP]
- dummy not supported
- selftests: kselftest: Running tests in nsfs
- pmtu.sh [PASS]
- TAP versionkselftest: Running tests in powerpc
- 13
- Running tests in nsfs
- ===kselftest: Running tests in proc
- =====================================
- TAP version 13
- Running tests in powerpc
- ========================================
- ./run_kselftest.sh: line 194: cd: powerpc: No such file or directory
- TAP version 13
- Running tests in proc
- ========================================
- selftests: proc-loadavg-001 [PASS]
- selftests: proc-self-map-files-001 [FAIL]
- selftests: proc-self-map-files-002 [FAIL]
- selftests: proc-self-syscall [PASS]
- selftests: proc-self-wchan [PASS]
- selftests: proc-uptime-001 [PASS]
- selftests: proc-uptime-002 [PASS]
- ICMPv6: process `read' is using deprecated sysctl (syscall) net.ipv6.neigh.default.base_reachable_time - use net.ipv6.neigh.default.base_reachable_time_ms instead
- nr_pdflush_threads exported in /proc is scheduled for removal
- sysrq: SysRq : HELP : loglevel(0-9) reboot(b) crash(c) show-all-locks(d) terminate-all-tasks(e) memory-full-oom-kill(f) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) show-blocked-tasks(w) dump-ftrace-buffer(z)
- selftests: read [PASS]
- TAP version 13
- Rkselftest: Running tests in pstore
- unning tests in pstore
- kselftest: Running tests in ptrace
- ========================================
- TAP version 13
- Running tests in ptrace
- ========================================
- PASS
- selftests: peeksiginfo [PASS]
- TAP vkselftest: Running tests in seccomp
- ersion 13
- Running tests in seccomp
- ========================================
- Calibrating reasonable sample size...
- 1529568706.422940066 - 1529568706.422908400 = 31666
- 1529568706.423124233 - 1529568706.423065066 = 59167
- 1529568706.423270066 - 1529568706.423153400 = 116666
- 1529568706.423531733 - 1529568706.423299233 = 232500
- 1529568706.424026733 - 1529568706.423561733 = 465000
- 1529568706.424983400 - 1529568706.424053400 = 930000
- 1529568706.426909233 - 1529568706.425009233 = 1900000
- 1529568706.430683400 - 1529568706.426939233 = 3744167
- 1529568706.438183400 - 1529568706.430710066 = 7473334
- 1529568706.453240900 - 1529568706.438212566 = 15028334
- 1529568706.483212566 - 1529568706.453275900 = 29936666
- 1529568706.544590066 - 1529568706.483254233 = 61335833
- 1529568706.693695900 - 1529568706.544640900 = 149055000
- 1529568706.992448400 - 1529568706.693745900 = 298702500
- 1529568707.480607566 - 1529568706.992530066 = 488077500
- 1529568708.438055066 - 1529568707.480655066 = 957400000
- 1529568710.361870066 - 1529568708.438098399 = 1923771667
- 1529568714.210866732 - 1529568710.361914233 = 3848952499
- 1529568721.908528398 - 1529568714.210910899 = 7697617499
- Benchmarking 8388608 samples...
- 23.179049172 - 15.487610003 = 7691439169
- getpid native: 916 ns
- 32.901651673 - 23.179194172 = 9722457501
- getpid RET_ALLkselftest: Running tests in sigaltstack
- OW: 1159 ns
- Estimated kselftest: Running tests in size
- seccomp overhead per syscall: 243 ns
- selftests: seccomp_benchmark [PASS]
- TAP version 13
- Running tests in sigaltstack
- ========================================
- TAP version 13
- Running tests in size
- ===kselftest: Running tests in splice
- =====================================
- TAP version 13
- # Testing system size.
- ok 1 get runtime memory use
- # System runtime memory report (units in Kilobytes):
- ---
- Total: 1929112
- Free: 1805668
- Buffer: 1816
- In use: 121628
- ...
- 1..1
- selftests: get_size [PASS]
- TAP vekselftest: Running tests in static_keys
- rsion 13
- Running tests in splice
- ========================================
- selftests: default_file_splice_read.sh [PASS]
- TAP version 13
- Running tests in static_keys
- ========================================
- static_key: [kselftest: Running tests in sync
- FAIL]
- selftests: test_kselftest: Running tests in sysctl
- static_keys.sh [FAIL]
- kselftest: Running tests in timers
- TAP version 13
- Running tests in sync
- ========================================
- TAP version 13
- Running tests in sysctl
- ========================================
- TAP version 13
- Running tests in timers
- ========================================
- Testing posix timers. False negative may happen on CPU execution
- based timers if other threads run on the CPU...
- Check itimer virtual... [OK]
- Check itimer prof... [OK]
- Check itimer real... [OK]
- Check timer_create() per thread... [OK]
- Check timer_create() per process... [OK]
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- selftests: posix_timers [PASS]
- Nanosleep CLOCK_REALTIME [OK]
- Nanosleep CLOCK_MONOTONIC [OK]
- Nanosleep CLOCK_MONOTONIC_RAW [UNSUPPORTED]
- Nanosleep CLOCK_REALTIME_COARSE [UNSUPPORTED]
- Nanosleep CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
- Nanosleep CLOCK_BOOTTIME [OK]
- Nanosleep CLOCK_REALTIME_ALARM [OK]
- Nanosleep CLOCK_BOOTTIME_ALARM [OK]
- Nanosleep CLOCK_TAI [OK]
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- selftests: nanosleep [PASS]
- nsleep latency CLOCK_REALTIME [OK]
- nsleep latency CLOCK_MONOTONIC [OK]
- nsleep latency CLOCK_MONOTONIC_RAW [UNSUPPORTED]
- nsleep latency CLOCK_REALTIME_COARSE [UNSUPPORTED]
- nsleep latency CLOCK_MONOTONIC_COARSE [UNSUPPORTED]
- nsleep latency CLOCK_BOOTTIME [OK]
- nsleep latency CLOCK_REALTIME_ALARM [OK]
- nsleep latency CLOCK_BOOTTIME_ALARM [OK]
- nsleep latency CLOCK_TAI [OK]
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- selftests: nsleep-lat [PASS]
- Setting timers for every 1 seconds
- CLOCK_REALTIME ABSTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_REALTIME ABSTIME PERIODIC max latency: 2843333 ns : [OK]
- CLOCK_REALTIME RELTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_REALTIME RELTIME PERIODIC max latency: 2971667 ns : [OK]
- CLOCK_REALTIME ABSTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_REALTIME ABSTIME ONE-SHOT max latency: 249167 ns : [OK]
- CLOCK_REALTIME ABSTIME ONE-SHOT count: 1 : [OK]
- CLOCK_REALTIME RELTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_REALTIME RELTIME ONE-SHOT max latency: 535000 ns : [OK]
- CLOCK_REALTIME RELTIME ONE-SHOT count: 1 : [OK]
- CLOCK_MONOTONIC ABSTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_MONOTONIC ABSTIME PERIODIC max latency: 554166 ns : [OK]
- CLOCK_MONOTONIC RELTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_MONOTONIC RELTIME PERIODIC max latency: 559999 ns : [OK]
- CLOCK_MONOTONIC ABSTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_MONOTONIC ABSTIME ONE-SHOT max latency: 244166 ns : [OK]
- CLOCK_MONOTONIC ABSTIME ONE-SHOT count: 1 : [OK]
- CLOCK_MONOTONIC RELTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_MONOTONIC RELTIME ONE-SHOT max latency: 529999 ns : [OK]
- CLOCK_MONOTONIC RELTIME ONE-SHOT count: 1 : [OK]
- CLOCK_BOOTTIME ABSTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_BOOTTIME ABSTIME PERIODIC max latency: 562500 ns : [OK]
- CLOCK_BOOTTIME RELTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_BOOTTIME RELTIME PERIODIC max latency: 569999 ns : [OK]
- CLOCK_BOOTTIME ABSTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_BOOTTIME ABSTIME ONE-SHOT max latency: 243334 ns : [OK]
- CLOCK_BOOTTIME ABSTIME ONE-SHOT count: 1 : [OK]
- CLOCK_BOOTTIME RELTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_BOOTTIME RELTIME ONE-SHOT max latency: 552500 ns : [OK]
- CLOCK_BOOTTIME RELTIME ONE-SHOT count: 1 : [OK]
- CLOCK_REALTIME_ALARM ABSTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_REALTIME_ALARM ABSTIME PERIODIC max latency: 540833 ns : [OK]
- CLOCK_REALTIME_ALARM RELTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_REALTIME_ALARM RELTIME PERIODIC max latency: 567499 ns : [OK]
- CLOCK_REALTIME_ALARM ABSTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_REALTIME_ALARM ABSTIME ONE-SHOT max latency: 266667 ns : [OK]
- CLOCK_REALTIME_ALARM ABSTIME ONE-SHOT count: 1 : [OK]
- CLOCK_REALTIME_ALARM RELTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_REALTIME_ALARM RELTIME ONE-SHOT max latency: 882500 ns : [OK]
- CLOCK_REALTIME_ALARM RELTIME ONE-SHOT count: 1 : [OK]
- CLOCK_BOOTTIME_ALARM ABSTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_BOOTTIME_ALARM ABSTIME PERIODIC max latency: 536667 ns : [OK]
- CLOCK_BOOTTIME_ALARM RELTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_BOOTTIME_ALARM RELTIME PERIODIC max latency: 583333 ns : [OK]
- CLOCK_BOOTTIME_ALARM ABSTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_BOOTTIME_ALARM ABSTIME ONE-SHOT max latency: 615834 ns : [OK]
- CLOCK_BOOTTIME_ALARM ABSTIME ONE-SHOT count: 1 : [OK]
- CLOCK_BOOTTIME_ALARM RELTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_BOOTTIME_ALARM RELTIME ONE-SHOT max latency: 567500 ns : [OK]
- CLOCK_BOOTTIME_ALARM RELTIME ONE-SHOT count: 1 : [OK]
- CLOCK_TAI ABSTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_TAI ABSTIME PERIODIC max latency: 545833 ns : [OK]
- CLOCK_TAI RELTIME PERIODIC timer fired early: 0 : [OK]
- CLOCK_TAI RELTIME PERIODIC max latency: 1289166 ns : [OK]
- CLOCK_TAI ABSTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_TAI ABSTIME ONE-SHOT max latency: 285000 ns : [OK]
- CLOCK_TAI ABSTIME ONE-SHOT count: 1 : [OK]
- CLOCK_TAI RELTIME ONE-SHOT timer fired early: 0 : [OK]
- CLOCK_TAI RELTIME ONE-SHOT max latency: 581666 ns : [OK]
- CLOCK_TAI RELTIME ONE-SHOT count: 1 : [OK]
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- selftests: set-timer-lat [PASS]
- Mqueue latency : [OK]
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- selftests: mqueue-lat [PASS]
- Consistent CLOCK_REALTIME [OK]
- Consistent CLOCK_MONOTONIC [OK]
- Consistent CLOCK_PROCESS_CPUTIME_ID [OK]
- Consistent CLOCK_THREAD_CPUTIME_ID [OK]
- Consistent CLOCK_MONOTONIC_RAW [OK]
- Consistent CLOCK_REALTIME_COARSE [OK]
- Consistent CLOCK_MONOTONIC_COARSE [OK]
- Consistent CLOCK_BOOTTIME [OK]
- Consistent CLOCK_REALTIME_ALARM [OK]
- Consistent CLOCK_BOOTTIME_ALARM [OK]
- Consistent CLOCK_TAI [OK]
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- selftests: inconsistency-check [PASS]
- Estimating clock drift: 0.3(est) 0.0(act) [OK]
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- selftests: raw_skew [PASS]
- Thu, 21 Jun 2018 08:20:45 +0000
- Testing consistency with 8 threads for 30 seconds: [OK]
- Pass 0 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0
- 1..0
- skselftest: Running tests in user
- elftests: threadtest [PASS]
- TAP version 13
- Running tests in user
- ========================================
- user_copy: [FAIL]
- selftests: test_user_ckselftest: Running tests in vm
- opy.sh [FAIL]
- TAP verkselftest: Running tests in x86
- sion 13
- Running tests ikselftest: Running tests in zram
- n vm
- ========================================
- TAP version 13
- Running tests in x86
- ========================================
- ./run_kselftest.sh: line 300: cd: x86: No such file or directory
- TAP version 13
- Running tests in zram
- ========================================
- zram.sh : No zram.ko module or /dev/zram0 device file not found
- zram.sh : CONFIG_ZRAM is not set
- selftests: zram.sh [FAIL]
- hikey:/opt/kselftests/mainline#
Add Comment
Please, Sign In to add comment