general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f] CPU: 1 PID: 13382 Comm: syz-executor.4 Not tainted 6.8.0-rc1-next-20240125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:bpf_struct_ops_find_value+0x49/0x140 kernel/bpf/btf.c:8763 Code: fd f9 dc ff 45 85 e4 0f 84 d7 00 00 00 e8 0f ff dc ff 48 8d bb 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e0 00 00 00 48 8b 9b 88 00 00 00 48 85 db 0f 84 RSP: 0018:ffffc90004a67b18 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000b285000 RDX: 0000000000000011 RSI: ffffffff81af4061 RDI: 0000000000000088 RBP: ffffc90004a67dc0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8af6d500 R15: 000000000000001a FS: 00007fbc37f596c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fef58e8c683 CR3: 000000002d6ae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_struct_ops_map_alloc+0x12f/0x5d0 kernel/bpf/bpf_struct_ops.c:674 map_create+0x57b/0x1c10 kernel/bpf/syscall.c:1268 __sys_bpf+0xae9/0x4b80 kernel/bpf/syscall.c:5555 __do_sys_bpf kernel/bpf/syscall.c:5680 [inline] __se_sys_bpf kernel/bpf/syscall.c:5678 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5678 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fbc3727cda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbc37f590c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fbc373abf80 RCX: 00007fbc3727cda9 RDX: 0000000000000048 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007fbc372c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbc373abf80 R15: 00007fff8e23ab58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bpf_struct_ops_find_value+0x49/0x140 kernel/bpf/btf.c:8763 Code: fd f9 dc ff 45 85 e4 0f 84 d7 00 00 00 e8 0f ff dc ff 48 8d bb 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e0 00 00 00 48 8b 9b 88 00 00 00 48 85 db 0f 84 RSP: 0018:ffffc90004a67b18 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000b285000 RDX: 0000000000000011 RSI: ffffffff81af4061 RDI: 0000000000000088 RBP: ffffc90004a67dc0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8af6d500 R15: 000000000000001a FS: 00007fbc37f596c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32722000 CR3: 000000002d6ae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fd std 1: f9 stc 2: dc ff fdivr %st,%st(7) 4: 45 85 e4 test %r12d,%r12d 7: 0f 84 d7 00 00 00 je 0xe4 d: e8 0f ff dc ff call 0xffdcff21 12: 48 8d bb 88 00 00 00 lea 0x88(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 e0 00 00 00 jne 0x114 34: 48 8b 9b 88 00 00 00 mov 0x88(%rbx),%rbx 3b: 48 85 db test %rbx,%rbx 3e: 0f .byte 0xf 3f: 84 .byte 0x84