general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 1 PID: 4012 Comm: syz.3.859 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:bpf_overflow_handler+0x288/0x370 kernel/events/core.c:9868 Code: ff 55 00 41 89 c4 42 80 3c 3b 00 74 0a 48 8b 7c 24 10 e8 bb 5e 1a 00 48 8b 44 24 10 4c 8b 28 49 83 c5 20 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 99 5e 1a 00 bb 70 02 00 00 49 03 RSP: 0018:ffffc900013972a0 EFLAGS: 00010202 RAX: 0000000000000004 RBX: 1ffff11023458e79 RCX: a328bb8422129000 RDX: ffffc90005107000 RSI: 00000000000027c3 RDI: 00000000000027c4 RBP: ffffc90001397388 R08: ffff88811bd840b7 R09: 1ffff110237b0816 R10: dffffc0000000000 R11: ffffed10237b0817 R12: 0000000000000031 R13: 0000000000000020 R14: 1ffff92000272e5c R15: dffffc0000000000 FS: 00007fdc7fcc16c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000031000 CR3: 0000000115bd3000 CR4: 00000000003506a0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __perf_event_overflow+0x19d/0x350 kernel/events/core.c:9092 perf_swevent_overflow kernel/events/core.c:9168 [inline] perf_swevent_event+0x2f5/0x540 kernel/events/core.c:-1 do_perf_sw_event kernel/events/core.c:9309 [inline] ___perf_sw_event+0x394/0x4c0 kernel/events/core.c:9340 __perf_sw_event+0x134/0x270 kernel/events/core.c:9352 perf_sw_event include/linux/perf_event.h:1179 [inline] do_user_addr_fault+0xdfb/0xe20 arch/x86/mm/fault.c:1236 handle_page_fault arch/x86/mm/fault.c:1436 [inline] exc_page_fault+0x5a/0xc0 arch/x86/mm/fault.c:1492 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571 RIP: 0010:copy_user_enhanced_fast_string+0xe/0x40 arch/x86/lib/copy_user_64.S:206 Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 90 90 90 90 90 90 90 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 90 90 90 90 90 90 90 90 90 90 89 d1 83 f8 RSP: 0018:ffffc900013978b0 EFLAGS: 00050206 RAX: ffffffff823cae01 RBX: 0000000000008000 RCX: 0000000000004cc0 RDX: 0000000000008000 RSI: 0000200000031000 RDI: ffff88811a893340 RBP: ffffc90001397940 R08: ffff88811a897fff R09: 1ffff11023512fff R10: dffffc0000000000 R11: ffffed1023513000 R12: 0000000000008000 R13: dffffc00000000ff R14: 000020000002dcc0 R15: ffff88811a890000 skb_copy_datagram_from_iter+0x2ce/0x6b0 net/core/datagram.c:579 unix_stream_sendmsg+0x73d/0xbe0 net/unix/af_unix.c:1941 sock_sendmsg_nosec net/socket.c:652 [inline] __sock_sendmsg net/socket.c:664 [inline] sock_write_iter+0x2a6/0x3a0 net/socket.c:1019 call_write_iter include/linux/fs.h:2072 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x770/0xd70 fs/read_write.c:605 ksys_write+0x14a/0x260 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:667 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fdc81268159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdc7fcc1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fdc814effa0 RCX: 00007fdc81268159 RDX: 00000000fffffeff RSI: 00002000000005c0 RDI: 000000000000000a RBP: 00007fdc812ff06b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdc814f0038 R14: 00007fdc814effa0 R15: 00007ffd4333c3b8 Modules linked in: ---[ end trace 3e4495f7a492f71b ]--- RIP: 0010:bpf_overflow_handler+0x288/0x370 kernel/events/core.c:9868 Code: ff 55 00 41 89 c4 42 80 3c 3b 00 74 0a 48 8b 7c 24 10 e8 bb 5e 1a 00 48 8b 44 24 10 4c 8b 28 49 83 c5 20 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 99 5e 1a 00 bb 70 02 00 00 49 03 RSP: 0018:ffffc900013972a0 EFLAGS: 00010202 RAX: 0000000000000004 RBX: 1ffff11023458e79 RCX: a328bb8422129000 RDX: ffffc90005107000 RSI: 00000000000027c3 RDI: 00000000000027c4 RBP: ffffc90001397388 R08: ffff88811bd840b7 R09: 1ffff110237b0816 R10: dffffc0000000000 R11: ffffed10237b0817 R12: 0000000000000031 R13: 0000000000000020 R14: 1ffff92000272e5c R15: dffffc0000000000 FS: 00007fdc7fcc16c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000031000 CR3: 0000000115bd3000 CR4: 00000000003506a0 DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: ff 55 00 call *0x0(%rbp) 3: 41 89 c4 mov %eax,%r12d 6: 42 80 3c 3b 00 cmpb $0x0,(%rbx,%r15,1) b: 74 0a je 0x17 d: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 12: e8 bb 5e 1a 00 call 0x1a5ed2 17: 48 8b 44 24 10 mov 0x10(%rsp),%rax 1c: 4c 8b 28 mov (%rax),%r13 1f: 49 83 c5 20 add $0x20,%r13 23: 4c 89 e8 mov %r13,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ef mov %r13,%rdi 34: e8 99 5e 1a 00 call 0x1a5ed2 39: bb 70 02 00 00 mov $0x270,%ebx 3e: 49 rex.WB 3f: 03 .byte 0x3