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: 9806 Comm: syz.2.2052 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:dev_map_generic_redirect+0x9d/0x610 kernel/bpf/devmap.c:667 Code: f1 00 f2 f2 f2 4b 89 44 3d 00 43 c7 44 3d 0f f3 f3 f3 f3 43 c6 44 3d 13 f3 e8 7f a2 e2 ff 48 89 d8 48 c1 e8 03 48 89 44 24 58 <42> 80 3c 38 00 74 08 48 89 df e8 b4 94 2c 00 48 89 5c 24 28 4c 8b RSP: 0018:ffffc900000075a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888029e6d940 RDX: 0000000000000100 RSI: ffff8880649af000 RDI: 0000000000000000 RBP: ffffc90000007718 R08: ffffffff88605c95 R09: ffffffff88605b47 R10: 0000000000000004 R11: ffff888029e6d940 R12: ffff8880649af000 R13: 1ffff92000000ec4 R14: 0000000000000019 R15: dffffc0000000000 FS: 00007f2639f3d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000016c0 CR3: 0000000021ae2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xdp_do_generic_redirect_map net/core/filter.c:4177 [inline] xdp_do_generic_redirect+0x4c4/0x850 net/core/filter.c:4236 do_xdp_generic+0x4f5/0x6c0 net/core/dev.c:4942 __netif_receive_skb_core+0x1bf1/0x3df0 net/core/dev.c:5347 __netif_receive_skb_one_core net/core/dev.c:5522 [inline] __netif_receive_skb+0x11c/0x530 net/core/dev.c:5638 process_backlog+0x363/0x7f0 net/core/dev.c:6515 __napi_poll+0xc7/0x440 net/core/dev.c:7074 napi_poll net/core/dev.c:7141 [inline] net_rx_action+0x617/0xda0 net/core/dev.c:7231 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 do_softirq+0x162/0x240 kernel/softirq.c:459 __local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:383 rcu_read_unlock_bh include/linux/rcupdate.h:809 [inline] ip_finish_output2+0xdf1/0x11a0 net/ipv4/ip_output.c:229 dst_output include/net/dst.h:452 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb+0x113/0x1a0 net/ipv4/ip_output.c:1581 udp_send_skb+0x947/0x1200 net/ipv4/udp.c:991 udp_sendmsg+0x1fcd/0x2e80 net/ipv4/udp.c:1279 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2436 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2490 __sys_sendmmsg+0x2bf/0x560 net/socket.c:2576 __do_sys_sendmmsg net/socket.c:2605 [inline] __se_sys_sendmmsg net/socket.c:2602 [inline] __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2602 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:0x7f263c0d4169 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:00007f2639f3d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f263c2ecfa0 RCX: 00007f263c0d4169 RDX: 0000000000000001 RSI: 0000200000003240 RDI: 0000000000000003 RBP: 00007f263c1552a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000004000800 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f263c2ecfa0 R15: 00007ffca69aa448 Modules linked in: ---[ end trace d3e8d56f39911761 ]--- RIP: 0010:dev_map_generic_redirect+0x9d/0x610 kernel/bpf/devmap.c:667 Code: f1 00 f2 f2 f2 4b 89 44 3d 00 43 c7 44 3d 0f f3 f3 f3 f3 43 c6 44 3d 13 f3 e8 7f a2 e2 ff 48 89 d8 48 c1 e8 03 48 89 44 24 58 <42> 80 3c 38 00 74 08 48 89 df e8 b4 94 2c 00 48 89 5c 24 28 4c 8b RSP: 0018:ffffc900000075a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888029e6d940 RDX: 0000000000000100 RSI: ffff8880649af000 RDI: 0000000000000000 RBP: ffffc90000007718 R08: ffffffff88605c95 R09: ffffffff88605b47 R10: 0000000000000004 R11: ffff888029e6d940 R12: ffff8880649af000 R13: 1ffff92000000ec4 R14: 0000000000000019 R15: dffffc0000000000 FS: 00007f2639f3d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000016c0 CR3: 0000000021ae2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f1 int1 1: 00 f2 add %dh,%dl 3: f2 f2 4b 89 44 3d 00 repnz repnz mov %rax,0x0(%r13,%r15,1) a: 43 c7 44 3d 0f f3 f3 movl $0xf3f3f3f3,0xf(%r13,%r15,1) 11: f3 f3 13: 43 c6 44 3d 13 f3 movb $0xf3,0x13(%r13,%r15,1) 19: e8 7f a2 e2 ff call 0xffe2a29d 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 48 89 44 24 58 mov %rax,0x58(%rsp) * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 b4 94 2c 00 call 0x2c94ed 39: 48 89 5c 24 28 mov %rbx,0x28(%rsp) 3e: 4c rex.WR 3f: 8b .byte 0x8b