general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 32172 Comm: syz-executor.5 Not tainted 5.19.0-rc2-syzkaller-00518-g7c8121af1bfe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:check_return_code kernel/bpf/verifier.c:10575 [inline] RIP: 0010:do_check kernel/bpf/verifier.c:12346 [inline] RIP: 0010:do_check_common+0xb3d2/0xd250 kernel/bpf/verifier.c:14610 Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 75 6b 48 8b 9b 00 01 00 00 b8 ff ff 37 00 48 c1 e0 2a 48 8d 7b 08 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 4c 8b RSP: 0018:ffffc9000799f620 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90003552000 RDX: 0000000000000001 RSI: ffffffff818e322a RDI: 0000000000000008 RBP: ffffc9000799f8a0 R08: 0000000000000005 R09: 000000000000002b R10: 000000000000002b R11: 0000000000000001 R12: ffff88805d3e5020 R13: 0000000000000000 R14: ffff88805d3e5000 R15: 0000000000000007 FS: 00007f5f2c8ab700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe435f5ff8 CR3: 000000001ceb9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_check_main kernel/bpf/verifier.c:14673 [inline] bpf_check+0x72eb/0xb040 kernel/bpf/verifier.c:15243 bpf_prog_load+0xfb2/0x2250 kernel/bpf/syscall.c:2575 __sys_bpf+0x11a1/0x5790 kernel/bpf/syscall.c:4934 __do_sys_bpf kernel/bpf/syscall.c:5038 [inline] __se_sys_bpf kernel/bpf/syscall.c:5036 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:5036 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f5f2b689109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5f2c8ab168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f5f2b79bf60 RCX: 00007f5f2b689109 RDX: 0000000000000080 RSI: 0000000020000240 RDI: 0000000000000005 RBP: 00007f5f2b6e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2c14247f R14: 00007f5f2c8ab300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:check_return_code kernel/bpf/verifier.c:10575 [inline] RIP: 0010:do_check kernel/bpf/verifier.c:12346 [inline] RIP: 0010:do_check_common+0xb3d2/0xd250 kernel/bpf/verifier.c:14610 Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 75 6b 48 8b 9b 00 01 00 00 b8 ff ff 37 00 48 c1 e0 2a 48 8d 7b 08 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 4c 8b RSP: 0018:ffffc9000799f620 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90003552000 RDX: 0000000000000001 RSI: ffffffff818e322a RDI: 0000000000000008 RBP: ffffc9000799f8a0 R08: 0000000000000005 R09: 000000000000002b R10: 000000000000002b R11: 0000000000000001 R12: ffff88805d3e5020 R13: 0000000000000000 R14: ffff88805d3e5000 R15: 0000000000000007 FS: 00007f5f2c8ab700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd4d79691b8 CR3: 000000001ceb9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 89 fa mov %rdi,%rdx 5: 48 c1 ea 03 shr $0x3,%rdx 9: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) d: 75 6b jne 0x7a f: 48 8b 9b 00 01 00 00 mov 0x100(%rbx),%rbx 16: b8 ff ff 37 00 mov $0x37ffff,%eax 1b: 48 c1 e0 2a shl $0x2a,%rax 1f: 48 8d 7b 08 lea 0x8(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 04 jl 0x3f 3b: 84 d2 test %dl,%dl 3d: 75 4c jne 0x8b 3f: 8b .byte 0x8b