Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 9113 Comm: syz-executor.4 Not tainted 6.10.0-rc3-syzkaller-00022-gcea2a26553ac #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:dev_map_enqueue+0x31/0x3e0 kernel/bpf/devmap.c:539 Code: 56 41 55 49 89 d5 41 54 49 89 fc 55 48 89 f5 53 48 83 ec 08 e8 d0 c5 da ff 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 86 03 00 00 49 8d 7c 24 18 49 8b 1c 24 48 b8 00 RSP: 0018:ffffc90004bc7770 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: 0000000000000019 RCX: ffffc9000d37f000 RDX: 0000000000000000 RSI: ffffffff81b468d0 RDI: 0000000000000000 RBP: ffff88807a4cc070 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88805c0b8000 R14: 0000000000000000 R15: 0000000000000070 FS: 00007f880e46b6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ea2a000 CR3: 0000000075dae000 CR4: 0000000000350ef0 Call Trace: __xdp_do_redirect_frame net/core/filter.c:4397 [inline] xdp_do_redirect_frame+0x1b8/0x590 net/core/filter.c:4451 xdp_test_run_batch net/bpf/test_run.c:336 [inline] bpf_test_run_xdp_live+0x4a3/0x1bb0 net/bpf/test_run.c:384 bpf_prog_test_run_xdp+0x82d/0x1530 net/bpf/test_run.c:1281 bpf_prog_test_run kernel/bpf/syscall.c:4292 [inline] __sys_bpf+0x10d5/0x49a0 kernel/bpf/syscall.c:5706 __do_sys_bpf kernel/bpf/syscall.c:5795 [inline] __se_sys_bpf kernel/bpf/syscall.c:5793 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5793 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f880d67cea9 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:00007f880e46b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f880d7b3f80 RCX: 00007f880d67cea9 RDX: 0000000000000050 RSI: 0000000020000240 RDI: 000000000000000a RBP: 00007f880d6ebff4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f880d7b3f80 R15: 00007fff9e52f2c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dev_map_enqueue+0x31/0x3e0 kernel/bpf/devmap.c:539 Code: 56 41 55 49 89 d5 41 54 49 89 fc 55 48 89 f5 53 48 83 ec 08 e8 d0 c5 da ff 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 86 03 00 00 49 8d 7c 24 18 49 8b 1c 24 48 b8 00 RSP: 0018:ffffc90004bc7770 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: 0000000000000019 RCX: ffffc9000d37f000 RDX: 0000000000000000 RSI: ffffffff81b468d0 RDI: 0000000000000000 RBP: ffff88807a4cc070 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88805c0b8000 R14: 0000000000000000 R15: 0000000000000070 FS: 00007f880e46b6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ea2a000 CR3: 0000000075dae000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 56 push %rsi 1: 41 55 push %r13 3: 49 89 d5 mov %rdx,%r13 6: 41 54 push %r12 8: 49 89 fc mov %rdi,%r12 b: 55 push %rbp c: 48 89 f5 mov %rsi,%rbp f: 53 push %rbx 10: 48 83 ec 08 sub $0x8,%rsp 14: e8 d0 c5 da ff call 0xffdac5e9 19: 4c 89 e2 mov %r12,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 86 03 00 00 jne 0x3ba 34: 49 8d 7c 24 18 lea 0x18(%r12),%rdi 39: 49 8b 1c 24 mov (%r12),%rbx 3d: 48 rex.W 3e: b8 .byte 0xb8