general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 3608 Comm: syz-executor406 Not tainted 5.19.0-rc5-syzkaller-01117-g96a233e600df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:check_helper_call+0x4af3/0x8f40 kernel/bpf/verifier.c:7335 Code: 48 c1 ea 03 80 3c 02 00 0f 85 b9 38 00 00 48 8b 9b 00 01 00 00 48 b8 00 00 00 00 00 fc ff df 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 08 84 d2 0f 85 14 RSP: 0018:ffffc9000306f410 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff818d35a2 RDI: 0000000000000008 RBP: ffffc9000306f610 R08: 0000000000000005 R09: 000000000000002b R10: 000000000000002b R11: 0000000000000001 R12: 000000000000002b R13: ffffc90000ade070 R14: ffff88801759a000 R15: 0000000000000070 FS: 00005555561e6300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3cce4f8a70 CR3: 00000000736bc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_check kernel/bpf/verifier.c:12304 [inline] do_check_common+0x612a/0xd2c0 kernel/bpf/verifier.c:14613 do_check_main kernel/bpf/verifier.c:14676 [inline] bpf_check+0x73ce/0xb050 kernel/bpf/verifier.c:15246 bpf_prog_load+0xfb2/0x2250 kernel/bpf/syscall.c:2595 __sys_bpf+0x133f/0x5750 kernel/bpf/syscall.c:4954 __do_sys_bpf kernel/bpf/syscall.c:5058 [inline] __se_sys_bpf kernel/bpf/syscall.c:5056 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:5056 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:0x7fe0c9f3cc59 Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd8f8a49a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe0c9f3cc59 RDX: 0000000000000080 RSI: 0000000020000a00 RDI: 0000000000000005 RBP: 00007fe0c9f00e00 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fe0c9f00e90 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:check_helper_call+0x4af3/0x8f40 kernel/bpf/verifier.c:7335 Code: 48 c1 ea 03 80 3c 02 00 0f 85 b9 38 00 00 48 8b 9b 00 01 00 00 48 b8 00 00 00 00 00 fc ff df 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 08 84 d2 0f 85 14 RSP: 0018:ffffc9000306f410 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff818d35a2 RDI: 0000000000000008 RBP: ffffc9000306f610 R08: 0000000000000005 R09: 000000000000002b R10: 000000000000002b R11: 0000000000000001 R12: 000000000000002b R13: ffffc90000ade070 R14: ffff88801759a000 R15: 0000000000000070 FS: 00005555561e6300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000061ba0c CR3: 00000000736bc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 b9 38 00 00 jne 0x38c7 e: 48 8b 9b 00 01 00 00 mov 0x100(%rbx),%rbx 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 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 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 .byte 0x85 3f: 14 .byte 0x14