general protection fault, probably for non-canonical address 0xdffffc0000000030: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000180-0x0000000000000187] CPU: 0 PID: 9952 Comm: syz-executor.3 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:perf_tp_event_match kernel/events/core.c:9687 [inline] RIP: 0010:perf_tp_event+0x1d5/0xb70 kernel/events/core.c:9738 Code: 89 85 e8 fd ff ff eb 0f e8 08 0b e1 ff 48 83 eb 60 0f 84 4a 01 00 00 e8 f9 0a e1 ff 48 8d bb e0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e 50 08 00 00 44 8b bb e0 01 RSP: 0018:ffffc9000b187800 EFLAGS: 00010206 RAX: 0000000000000030 RBX: ffffffffffffffa1 RCX: ffffc90005824000 RDX: 0000000000040000 RSI: ffffffff8195c7e7 RDI: 0000000000000181 RBP: ffffc9000b187a70 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b1cfd R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b9c34860 R14: 0000000000000001 R15: 1ffff1101738691d FS: 00007f7fdb1a2700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31c36000 CR3: 0000000069366000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: perf_trace_run_bpf_submit+0x11c/0x210 kernel/events/core.c:9713 perf_trace_lock_acquire+0x34c/0x550 include/trace/events/lock.h:13 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x416/0x510 kernel/locking/lockdep.c:5608 down_write+0x90/0x150 kernel/locking/rwsem.c:1527 inode_lock include/linux/fs.h:783 [inline] chown_common+0x320/0x5b0 fs/open.c:675 vfs_fchown fs/open.c:746 [inline] vfs_fchown fs/open.c:738 [inline] ksys_fchown+0x111/0x170 fs/open.c:757 __do_sys_fchown fs/open.c:765 [inline] __se_sys_fchown fs/open.c:763 [inline] __x64_sys_fchown+0x6f/0xb0 fs/open.c:763 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7fddc2cae9 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:00007f7fdb1a2188 EFLAGS: 00000246 ORIG_RAX: 000000000000005d RAX: ffffffffffffffda RBX: 00007f7fddd3ff60 RCX: 00007f7fddc2cae9 RDX: ffffffffffffffff RSI: 00000000000041ed RDI: 0000000000000006 RBP: 00007f7fddc86f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb4d2a33f R14: 00007f7fdb1a2300 R15: 0000000000022000 Modules linked in: ---------------- Code disassembly (best guess): 0: 89 85 e8 fd ff ff mov %eax,-0x218(%rbp) 6: eb 0f jmp 0x17 8: e8 08 0b e1 ff callq 0xffe10b15 d: 48 83 eb 60 sub $0x60,%rbx 11: 0f 84 4a 01 00 00 je 0x161 17: e8 f9 0a e1 ff callq 0xffe10b15 1c: 48 8d bb e0 01 00 00 lea 0x1e0(%rbx),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 74 08 je 0x3b 33: 3c 03 cmp $0x3,%al 35: 0f 8e 50 08 00 00 jle 0x88b 3b: 44 rex.R 3c: 8b .byte 0x8b 3d: bb .byte 0xbb 3e: e0 01 loopne 0x41