general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 3 PID: 28207 Comm: syz-executor.0 Not tainted 6.6.0-rc2-syzkaller-00143-gb5cbe7c00aa0 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:bpf_prog_offload_verifier_prep+0xaa/0x170 kernel/bpf/offload.c:295 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a1 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 10 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 93 00 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffffc90022ac77d8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffc90023384000 RCX: ffffc90003ac1000 RDX: 0000000000000000 RSI: ffffffff81aa1a76 RDI: ffff88801d941790 RBP: ffff88801d941780 R08: 0000000000000001 R09: fffffbfff1992791 R10: ffffffff8cc93c8f R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000005 R14: 0000000000000003 R15: ffffc90023384060 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7f38b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020001380 CR3: 000000002b160000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_check+0x52f3/0xabd0 kernel/bpf/verifier.c:19762 bpf_prog_load+0x153a/0x2270 kernel/bpf/syscall.c:2708 __sys_bpf+0xeed/0x4d30 kernel/bpf/syscall.c:5335 __do_sys_bpf kernel/bpf/syscall.c:5439 [inline] __se_sys_bpf kernel/bpf/syscall.c:5437 [inline] __ia32_sys_bpf+0x76/0xd0 kernel/bpf/syscall.c:5437 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x61/0xe0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f3d579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f385ac EFLAGS: 00000292 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000020000580 RDX: 0000000000000090 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bpf_prog_offload_verifier_prep+0xaa/0x170 kernel/bpf/offload.c:295 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a1 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 65 10 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 93 00 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b RSP: 0018:ffffc90022ac77d8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffc90023384000 RCX: ffffc90003ac1000 RDX: 0000000000000000 RSI: ffffffff81aa1a76 RDI: ffff88801d941790 RBP: ffff88801d941780 R08: 0000000000000001 R09: fffffbfff1992791 R10: ffffffff8cc93c8f R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000005 R14: 0000000000000003 R15: ffffc90023384060 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7f38b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020001380 CR3: 000000002b160000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 a1 00 00 00 jne 0xb3 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 4c 8b 65 10 mov 0x10(%rbp),%r12 20: 4c 89 e2 mov %r12,%rdx 23: 48 c1 ea 03 shr $0x3,%rdx * 27: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2b: 0f 85 93 00 00 00 jne 0xc4 31: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 38: fc ff df 3b: 4d rex.WRB 3c: 8b .byte 0x8b