general protection fault, probably for non-canonical address 0xdffffc0000000033: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000198-0x000000000000019f] CPU: 0 PID: 40227 Comm: syz-executor.5 Not tainted 5.19.0-rc2-next-20220617 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:x86_pmu_enable_event+0x6a/0x2f0 Code: 00 e8 ca 7e 43 00 48 c7 c7 00 64 60 84 e8 7e d0 19 03 48 8d bb 98 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 65 4c 8b 2d 52 2b 01 7f 84 c0 74 08 3c 03 0f 8e 1e 02 RSP: 0018:ffff88806ce09bf8 EFLAGS: 00010016 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000033 RSI: 0000000000010002 RDI: 0000000000000198 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffff88806ce21c20 R14: fffffbfff0b1de5d R15: 0000000000000002 FS: 00007fe650559700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e123000 CR3: 0000000041a8e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Call Trace: amd_pmu_enable_all+0x12c/0x1a0 x86_pmu_enable+0x580/0xd90 perf_event_task_tick+0xa7c/0x1030 scheduler_tick+0x17e/0x350 update_process_times+0x138/0x190 tick_sched_handle+0x9b/0x180 tick_sched_timer+0xee/0x120 __hrtimer_run_queues+0x1ca/0xbd0 hrtimer_interrupt+0x315/0x770 __sysvec_apic_timer_interrupt+0x144/0x4f0 sysvec_apic_timer_interrupt+0x89/0xc0 asm_sysvec_apic_timer_interrupt+0x1b/0x20 RIP: 0010:___slab_alloc+0x82d/0xe50 Code: 00 00 00 00 48 c7 c6 af 01 77 81 48 89 df e8 aa 19 b2 ff 41 f7 c5 00 02 00 00 74 06 e8 0c 3e d4 ff fb 48 8b 84 24 88 00 00 00 <65> 48 2b 04 25 28 00 00 00 0f 85 0a 06 00 00 48 81 c4 90 00 00 00 RSP: 0018:ffff888047ccfc70 EFLAGS: 00000202 RAX: 980869d2a6bab200 RBX: ffff88806ce3e220 RCX: 1ffffffff0b1ddf1 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88800806d280 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: 000000000003e220 R13: 0000000000000246 R14: ffff88804170e600 R15: ffff88804170e600 __slab_alloc.constprop.0+0x45/0x80 kmem_cache_alloc+0x3ac/0x490 getname_flags.part.0+0x50/0x4f0 getname_flags+0x9a/0xe0 user_path_at_empty+0x2b/0x60 path_setxattr+0x92/0x1c0 __x64_sys_setxattr+0xc0/0x160 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7fe652fe3b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe650559188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fe6530f6f60 RCX: 00007fe652fe3b19 RDX: 0000000020000140 RSI: 0000000020000100 RDI: 00000000200000c0 RBP: 00007fe65303df6d R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000014 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffce22bf82f R14: 00007fe650559300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:x86_pmu_enable_event+0x6a/0x2f0 Code: 00 e8 ca 7e 43 00 48 c7 c7 00 64 60 84 e8 7e d0 19 03 48 8d bb 98 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 65 4c 8b 2d 52 2b 01 7f 84 c0 74 08 3c 03 0f 8e 1e 02 RSP: 0018:ffff88806ce09bf8 EFLAGS: 00010016 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000033 RSI: 0000000000010002 RDI: 0000000000000198 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffff88806ce21c20 R14: fffffbfff0b1de5d R15: 0000000000000002 FS: 00007fe650559700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e123000 CR3: 0000000041a8e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 e8 add %ch,%al 2: ca 7e 43 lret $0x437e 5: 00 48 c7 add %cl,-0x39(%rax) 8: c7 00 64 60 84 e8 movl $0xe8846064,(%rax) e: 7e d0 jle 0xffffffe0 10: 19 03 sbb %eax,(%rbx) 12: 48 8d bb 98 01 00 00 lea 0x198(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 65 4c 8b 2d 52 2b 01 mov %gs:0x7f012b52(%rip),%r13 # 0x7f012b88 35: 7f 36: 84 c0 test %al,%al 38: 74 08 je 0x42 3a: 3c 03 cmp $0x3,%al 3c: 0f .byte 0xf 3d: 8e 1e mov (%rsi),%ds 3f: 02 .byte 0x2