------------[ cut here ]------------ WARNING: CPU: 0 PID: 7577 at kernel/events/core.c:10304 __perf_event_overflow+0xaf9/0xe10 kernel/events/core.c:10304 Modules linked in: CPU: 0 UID: 0 PID: 7577 Comm: syz.4.468 Not tainted 6.15.0-syzkaller-g3b55a9e6738b #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__perf_event_overflow+0xaf9/0xe10 kernel/events/core.c:10304 Code: 89 3e 4c 8b 3c 24 e9 c3 fc ff ff e8 81 fe cf ff 49 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 28 e9 06 fe ff ff e8 68 fe cf ff 90 <0f> 0b 90 e9 1b ff ff ff e8 5a fe cf ff 48 c7 c7 e0 e1 93 8b e8 3e RSP: 0018:ffffc9000415f700 EFLAGS: 00010287 RAX: ffffffff81f062e8 RBX: ffff8880245576c0 RCX: 0000000000080000 RDX: ffffc9000cb5d000 RSI: 0000000000000217 RDI: 0000000000000218 RBP: ffffc9000415f810 R08: ffff88802455790f R09: 1ffff110048aaf21 R10: dffffc0000000000 R11: ffffed10048aaf22 R12: ffffc9000415fc88 R13: dffffc0000000000 R14: ffff888024557908 R15: 0000000000000000 FS: 00007f0c0c92e6c0(0000) GS:ffff888125c55000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000325d2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: perf_swevent_overflow kernel/events/core.c:10402 [inline] perf_swevent_event+0x2f4/0x5e0 kernel/events/core.c:-1 do_perf_sw_event kernel/events/core.c:10542 [inline] ___perf_sw_event+0x4a1/0x700 kernel/events/core.c:10569 __perf_sw_event+0xfa/0x1a0 kernel/events/core.c:10581 perf_sw_event include/linux/perf_event.h:1558 [inline] do_user_addr_fault+0x12e4/0x1390 arch/x86/mm/fault.c:1283 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:do_strncpy_from_user lib/strncpy_from_user.c:41 [inline] RIP: 0010:strncpy_from_user+0xb7/0x290 lib/strncpy_from_user.c:130 Code: 00 00 4c 89 f6 e8 c9 35 ca fc 49 83 fe 07 0f 86 9d 00 00 00 48 89 1c 24 4c 89 74 24 08 48 c7 c5 f8 ff ff ff 45 31 e4 4c 89 fb <4f> 8b 34 27 48 b8 ff fe fe fe fe fe fe fe 4d 8d 3c 06 4d 89 f5 49 RSP: 0018:ffffc9000415fd30 EFLAGS: 00050246 RAX: ffffffff84f63067 RBX: 0000000000000000 RCX: ffff8880259c1e00 RDX: 0000000000000002 RSI: 0000000000000fe0 RDI: 0000000000000007 RBP: fffffffffffffff8 R08: ffff888061d942ff R09: 1ffff1100c3b285f R10: dffffc0000000000 R11: ffffed100c3b2860 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000fe0 R15: 0000000000000000 getname_flags+0xf3/0x540 fs/namei.c:157 getname include/linux/fs.h:2903 [inline] do_sys_openat2+0xbc/0x1c0 fs/open.c:1431 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0c0bb8e929 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:00007f0c0c92e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0c0bdb5fa0 RCX: 00007f0c0bb8e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffffffff9c RBP: 00007f0c0bc10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0c0bdb5fa0 R15: 00007ffeef2bb008 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 4c 89 f6 mov %r14,%rsi 5: e8 c9 35 ca fc call 0xfcca35d3 a: 49 83 fe 07 cmp $0x7,%r14 e: 0f 86 9d 00 00 00 jbe 0xb1 14: 48 89 1c 24 mov %rbx,(%rsp) 18: 4c 89 74 24 08 mov %r14,0x8(%rsp) 1d: 48 c7 c5 f8 ff ff ff mov $0xfffffffffffffff8,%rbp 24: 45 31 e4 xor %r12d,%r12d 27: 4c 89 fb mov %r15,%rbx * 2a: 4f 8b 34 27 mov (%r15,%r12,1),%r14 <-- trapping instruction 2e: 48 b8 ff fe fe fe fe movabs $0xfefefefefefefeff,%rax 35: fe fe fe 38: 4d 8d 3c 06 lea (%r14,%rax,1),%r15 3c: 4d 89 f5 mov %r14,%r13 3f: 49 rex.WB