general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] CPU: 0 PID: 10115 Comm: syz.3.2697 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:bpf_overflow_handler+0x115/0x370 kernel/events/core.c:9862 Code: 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 9d 65 1a 00 4c 8b 2b 49 8d 5d 38 49 83 c5 30 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 7c 65 1a 00 4c 89 e7 48 89 de 41 RSP: 0018:ffffc90000d575c0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000038 RCX: 0000000000080000 RDX: ffffc90003d34000 RSI: 0000000000020422 RDI: 0000000000020423 RBP: ffffc90000d576c0 R08: ffff88812777a34b R09: 1ffff11024eef469 R10: dffffc0000000000 R11: ffffed1024eef46a R12: ffffc90000d57620 R13: 0000000000000030 R14: 1ffff920001aaec0 R15: dffffc0000000000 FS: 00007f8d530546c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000001a3000 CR3: 0000000137d5a000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: __perf_event_overflow+0x1b3/0x340 kernel/events/core.c:9086 perf_swevent_overflow kernel/events/core.c:9162 [inline] perf_swevent_event+0x2f7/0x530 kernel/events/core.c:-1 do_perf_sw_event kernel/events/core.c:9303 [inline] ___perf_sw_event+0x3aa/0x4d0 kernel/events/core.c:9334 __perf_sw_event+0x134/0x270 kernel/events/core.c:9346 perf_sw_event include/linux/perf_event.h:1179 [inline] do_user_addr_fault+0xc76/0xc90 arch/x86/mm/fault.c:1255 handle_page_fault arch/x86/mm/fault.c:1428 [inline] exc_page_fault+0x5a/0xc0 arch/x86/mm/fault.c:1484 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:ffffc90000d57c00 EFLAGS: 00050206 RAX: ffffffff823e7701 RBX: 0000000000001400 RCX: 0000000000001180 RDX: 0000000000001400 RSI: 00002000001a3000 RDI: ffff888138f98280 RBP: ffffc90000d57c30 R08: ffff888138f993ff R09: 1ffff110271f327f R10: dffffc0000000000 R11: ffffed10271f3280 R12: 00007ffffffff000 R13: 00002000001a4180 R14: ffff888138f98000 R15: 00002000001a2d80 copy_from_user include/linux/uaccess.h:192 [inline] generic_map_update_batch+0x4ad/0x760 kernel/bpf/syscall.c:1372 bpf_map_do_batch+0x463/0x5f0 kernel/bpf/syscall.c:-1 __do_sys_bpf kernel/bpf/syscall.c:-1 [inline] __se_sys_bpf+0x5bf/0x740 kernel/bpf/syscall.c:4391 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4391 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8d545f9799 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:00007f8d53054028 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f8d54872fa0 RCX: 00007f8d545f9799 RDX: 0000000000000038 RSI: 0000200000000300 RDI: 000000000000001a RBP: 00007f8d5468fbd9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8d54873038 R14: 00007f8d54872fa0 R15: 00007ffe65484a18 Modules linked in: ---[ end trace 151fd488313ca27a ]--- RIP: 0010:bpf_overflow_handler+0x115/0x370 kernel/events/core.c:9862 Code: 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 9d 65 1a 00 4c 8b 2b 49 8d 5d 38 49 83 c5 30 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 7c 65 1a 00 4c 89 e7 48 89 de 41 RSP: 0018:ffffc90000d575c0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 0000000000000038 RCX: 0000000000080000 RDX: ffffc90003d34000 RSI: 0000000000020422 RDI: 0000000000020423 RBP: ffffc90000d576c0 R08: ffff88812777a34b R09: 1ffff11024eef469 R10: dffffc0000000000 R11: ffffed1024eef46a R12: ffffc90000d57620 R13: 0000000000000030 R14: 1ffff920001aaec0 R15: dffffc0000000000 FS: 00007f8d530546c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000001a3000 CR3: 0000000137d5a000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 89 d8 mov %rbx,%rax 5: 48 c1 e8 03 shr $0x3,%rax 9: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) e: 74 08 je 0x18 10: 48 89 df mov %rbx,%rdi 13: e8 9d 65 1a 00 call 0x1a65b5 18: 4c 8b 2b mov (%rbx),%r13 1b: 49 8d 5d 38 lea 0x38(%r13),%rbx 1f: 49 83 c5 30 add $0x30,%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 7c 65 1a 00 call 0x1a65b5 39: 4c 89 e7 mov %r12,%rdi 3c: 48 89 de mov %rbx,%rsi 3f: 41 rex.B