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: 28227 Comm: syz.6.6862 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:bpf_overflow_handler+0x246/0x370 kernel/events/core.c:9868 Code: 3b 00 74 0a 48 8b 7c 24 10 e8 66 5f 1a 00 48 8b 44 24 10 4c 8b 28 49 8d 45 38 48 89 44 24 18 49 83 c5 30 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 3b 5f 1a 00 4c 89 e7 48 8b 74 24 RSP: 0018:ffffc90000e0f6e0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 1ffff11026f3bd79 RCX: 00000000000000ff RDX: 1ffffffff0dcf400 RSI: 00000085e2829044 RDI: ffffffff86e7a000 RBP: ffffc90000e0f7c8 R08: ffffffff86e7a008 R09: ffffffff86e7a018 R10: ffffffff86e7a01c R11: ffffffff86e7a003 R12: ffffc90000e0f740 R13: 0000000000000030 R14: 1ffff920001c1ee4 R15: dffffc0000000000 FS: 00007f215126e6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000117f1f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 00002000000011c0 DR2: 0000200000001280 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:do_strncpy_from_user lib/strncpy_from_user.c:72 [inline] RIP: 0010:strncpy_from_user+0x201/0x2d0 lib/strncpy_from_user.c:139 Code: fc e9 91 00 00 00 e8 ce 1d 0c ff 49 83 c4 08 49 89 dd 4c 8b 75 b8 31 ff 4c 89 ee e8 f9 21 0c ff 49 83 ed 01 72 47 48 8b 45 c8 <42> 8a 1c 20 4b 8d 3c 27 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 RSP: 0018:ffffc90000e0fcd8 EFLAGS: 00050212 RAX: 0000000000000000 RBX: 0000000000000fe0 RCX: ffff888119afd000 RDX: 0000000000000002 RSI: 0000000000000fe0 RDI: 0000000000000000 RBP: ffffc90000e0fd20 R08: ffffea0004f44c07 R09: 1ffffd40009e8980 R10: dffffc0000000000 R11: fffff940009e8981 R12: 0000000000000000 R13: 0000000000000fdf R14: 0000000000000fe0 R15: ffff88813d131120 getname_flags+0xf5/0x510 fs/namei.c:152 getname+0x19/0x20 fs/namei.c:212 do_sys_openat2+0xde/0x750 fs/open.c:1213 do_sys_open fs/open.c:1235 [inline] __do_sys_openat fs/open.c:1251 [inline] __se_sys_openat fs/open.c:1246 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1246 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f2152815559 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:00007f215126e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f2152a9cfa0 RCX: 00007f2152815559 RDX: 0000000000200002 RSI: 0000000000000000 RDI: ffffffffffffff9c RBP: 00007f21528acab8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2152a9d038 R14: 00007f2152a9cfa0 R15: 00007fff7313df68 Modules linked in: ---[ end trace c7e0b9be43770433 ]--- RIP: 0010:bpf_overflow_handler+0x246/0x370 kernel/events/core.c:9868 Code: 3b 00 74 0a 48 8b 7c 24 10 e8 66 5f 1a 00 48 8b 44 24 10 4c 8b 28 49 8d 45 38 48 89 44 24 18 49 83 c5 30 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 3b 5f 1a 00 4c 89 e7 48 8b 74 24 RSP: 0018:ffffc90000e0f6e0 EFLAGS: 00010206 RAX: 0000000000000006 RBX: 1ffff11026f3bd79 RCX: 00000000000000ff RDX: 1ffffffff0dcf400 RSI: 00000085e2829044 RDI: ffffffff86e7a000 RBP: ffffc90000e0f7c8 R08: ffffffff86e7a008 R09: ffffffff86e7a018 R10: ffffffff86e7a01c R11: ffffffff86e7a003 R12: ffffc90000e0f740 R13: 0000000000000030 R14: 1ffff920001c1ee4 R15: dffffc0000000000 FS: 00007f215126e6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000117f1f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 00002000000011c0 DR2: 0000200000001280 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 3b 00 cmp (%rax),%eax 2: 74 0a je 0xe 4: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 9: e8 66 5f 1a 00 call 0x1a5f74 e: 48 8b 44 24 10 mov 0x10(%rsp),%rax 13: 4c 8b 28 mov (%rax),%r13 16: 49 8d 45 38 lea 0x38(%r13),%rax 1a: 48 89 44 24 18 mov %rax,0x18(%rsp) 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 3b 5f 1a 00 call 0x1a5f74 39: 4c 89 e7 mov %r12,%rdi 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 74 24 je 0x64