general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 11812 Comm: syz.0.16240 Tainted: G W 5.15.178-syzkaller-00034-g5e1b899f19c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:dev_map_generic_redirect+0x91/0x6f0 kernel/bpf/devmap.c:667 Code: f1 00 f2 f2 f2 4b 89 44 35 00 43 c7 44 35 0f f3 f3 f3 f3 43 c6 44 35 13 f3 e8 cb 0f e1 ff 48 89 d8 48 c1 e8 03 48 89 44 24 40 <42> 80 3c 30 00 74 08 48 89 df e8 d0 7a 23 00 48 89 5c 24 08 4c 8b RSP: 0018:ffffc900000076c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881187e13c0 RDX: 0000000000000100 RSI: ffff888112f860f8 RDI: 0000000000000000 RBP: ffffc90000007810 R08: ffffffff83f1855d R09: ffffffff83f1847b R10: 0000000000000004 R11: ffff8881187e13c0 R12: 0000000000000019 R13: 1ffff92000000ee4 R14: dffffc0000000000 R15: ffff888112f860f8 FS: 00007fe9f19b96c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f862edfcea7 CR3: 0000000112e3f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000008114 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: xdp_do_generic_redirect_map net/core/filter.c:4177 [inline] xdp_do_generic_redirect+0x42e/0xb40 net/core/filter.c:4236 do_xdp_generic+0x50b/0x7c0 net/core/dev.c:4919 __netif_receive_skb_core+0x1706/0x3640 net/core/dev.c:5324 __netif_receive_skb_one_core net/core/dev.c:5499 [inline] __netif_receive_skb+0x11c/0x530 net/core/dev.c:5615 process_backlog+0x31c/0x650 net/core/dev.c:6492 __napi_poll+0xc4/0x5a0 net/core/dev.c:7051 napi_poll net/core/dev.c:7118 [inline] net_rx_action+0x47d/0xc50 net/core/dev.c:7208 handle_softirqs+0x25e/0x5c0 kernel/softirq.c:565 __do_softirq kernel/softirq.c:603 [inline] invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:652 irq_exit_rcu+0x9/0x10 kernel/softirq.c:664 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] RIP: 0010:_raw_spin_lock_irqsave+0x9f/0x210 kernel/locking/spinlock.c:162 Code: f3 4c 89 e3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 e7 e8 44 bb ca fc 48 c7 44 24 50 00 00 00 00 9c 8f 44 24 50 42 80 3c 3b 00 <74> 08 4c 89 e7 e8 87 ba ca fc 48 8b 44 24 50 48 89 44 24 18 fa bf RSP: 0018:ffffc90000c2f500 EFLAGS: 00000246 RAX: f300f204f1f1f1f1 RBX: 1ffff92000185eaa RCX: ffffffff83e184f0 RDX: ffff8881187e13c0 RSI: 0000000000000000 RDI: ffff88811a0b7564 RBP: ffffc90000c2f5d0 R08: ffffffff83e52dcb R09: ffffc90000c2f800 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000c2f550 R13: ffff88811a0b7564 R14: 1ffff92000185ea4 R15: dffffc0000000000 __skb_try_recv_datagram+0x198/0x6a0 net/core/datagram.c:264 __unix_dgram_recvmsg+0x3bf/0x1260 net/unix/af_unix.c:2311 unix_dgram_recvmsg+0xc4/0xe0 net/unix/af_unix.c:2409 ____sys_recvmsg+0x286/0x530 net/socket.c:-1 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2697 do_recvmmsg+0x36b/0x8b0 net/socket.c:2791 __sys_recvmmsg net/socket.c:2870 [inline] __do_sys_recvmmsg net/socket.c:2893 [inline] __se_sys_recvmmsg net/socket.c:2886 [inline] __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2886 x64_sys_call+0x7e5/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:300 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fe9f3370169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe9f19b9038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fe9f3589080 RCX: 00007fe9f3370169 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000004 RBP: 00007fe9f33f12a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe9f3589080 R15: 00007ffd2fc187b8 Modules linked in: ---[ end trace 044fafa76ec4a7ad ]--- RIP: 0010:dev_map_generic_redirect+0x91/0x6f0 kernel/bpf/devmap.c:667 Code: f1 00 f2 f2 f2 4b 89 44 35 00 43 c7 44 35 0f f3 f3 f3 f3 43 c6 44 35 13 f3 e8 cb 0f e1 ff 48 89 d8 48 c1 e8 03 48 89 44 24 40 <42> 80 3c 30 00 74 08 48 89 df e8 d0 7a 23 00 48 89 5c 24 08 4c 8b RSP: 0018:ffffc900000076c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881187e13c0 RDX: 0000000000000100 RSI: ffff888112f860f8 RDI: 0000000000000000 RBP: ffffc90000007810 R08: ffffffff83f1855d R09: ffffffff83f1847b R10: 0000000000000004 R11: ffff8881187e13c0 R12: 0000000000000019 R13: 1ffff92000000ee4 R14: dffffc0000000000 R15: ffff888112f860f8 FS: 00007fe9f19b96c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f862edfcea7 CR3: 0000000112e3f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000008114 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f1 int1 1: 00 f2 add %dh,%dl 3: f2 f2 4b 89 44 35 00 repnz repnz mov %rax,0x0(%r13,%r14,1) a: 43 c7 44 35 0f f3 f3 movl $0xf3f3f3f3,0xf(%r13,%r14,1) 11: f3 f3 13: 43 c6 44 35 13 f3 movb $0xf3,0x13(%r13,%r14,1) 19: e8 cb 0f e1 ff call 0xffe10fe9 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 48 89 44 24 40 mov %rax,0x40(%rsp) * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 d0 7a 23 00 call 0x237b09 39: 48 89 5c 24 08 mov %rbx,0x8(%rsp) 3e: 4c rex.WR 3f: 8b .byte 0x8b