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: 1 PID: 10519 Comm: syz-executor.1 Not tainted 6.10.0-rc4-syzkaller-00164-g66cc544fd75c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 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 70 f7 d9 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:ffffc900063af6f0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 000000000000000e RCX: ffffc9000cb73000 RDX: 0000000000000000 RSI: ffffffff81b49880 RDI: 0000000000000000 RBP: ffff8880536ec070 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88801d3f8000 R14: 0000000000000000 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff88802c100000(0063) knlGS:00000000f5ea8b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f73c2c70 CR3: 0000000059c64000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __xdp_do_redirect_frame net/core/filter.c:4402 [inline] xdp_do_redirect_frame+0x1b8/0x590 net/core/filter.c:4456 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+0x1787/0x5830 kernel/bpf/syscall.c:5706 __do_sys_bpf kernel/bpf/syscall.c:5795 [inline] __se_sys_bpf kernel/bpf/syscall.c:5793 [inline] __ia32_sys_bpf+0x76/0xe0 kernel/bpf/syscall.c:5793 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf72b6579 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:00000000f5ea85ac EFLAGS: 00000292 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000240 RDX: 0000000000000050 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: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 70 f7 d9 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:ffffc900063af6f0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 000000000000000e RCX: ffffc9000cb73000 RDX: 0000000000000000 RSI: ffffffff81b49880 RDI: 0000000000000000 RBP: ffff8880536ec070 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88801d3f8000 R14: 0000000000000000 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff88802c100000(0063) knlGS:00000000f5ea8b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f73c2c70 CR3: 0000000059c64000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 70 f7 d9 ff call 0xffd9f789 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