general protection fault, probably for non-canonical address 0xdffffc0000000030: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000180-0x0000000000000187] CPU: 1 PID: 11041 Comm: syz-executor.1 Not tainted 5.15.0-rc4-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:9657 [inline] RIP: 0010:perf_tp_event+0x1d5/0xb70 kernel/events/core.c:9708 Code: 89 85 e8 fd ff ff eb 0f e8 48 39 e1 ff 48 83 eb 60 0f 84 4a 01 00 00 e8 39 39 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:ffffc90002caf680 EFLAGS: 00010006 RAX: 0000000000000030 RBX: ffffffffffffffa1 RCX: ffffc900128a8000 RDX: 0000000000040000 RSI: ffffffff8194c547 RDI: 0000000000000181 RBP: ffffc90002caf8f0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817a48bd R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b9d2c800 R14: 0000000000000001 R15: 1ffff110173a5911 FS: 00007f4bf0cdf700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ea22000 CR3: 000000007b6c3000 CR4: 00000000003506e0 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:9683 perf_trace_sched_switch+0x4a4/0x690 include/trace/events/sched.h:220 __traceiter_sched_switch+0x5f/0xa0 include/trace/events/sched.h:220 trace_sched_switch include/trace/events/sched.h:220 [inline] __schedule+0x1338/0x26f0 kernel/sched/core.c:6284 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6687 irqentry_exit+0x31/0x80 kernel/entry/common.c:425 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:kasan_set_free_info+0x2e/0x30 mm/kasan/generic.c:363 Code: e8 67 e4 ff ff 48 85 c0 74 20 48 8d 78 08 be 00 08 00 00 48 c1 eb 03 e8 00 e2 ff ff 48 b8 00 00 00 00 00 fc ff df c6 04 03 fa <5b> c3 48 ba 00 00 00 00 00 fc ff df 48 89 f1 31 c0 48 c1 e9 03 80 RSP: 0018:ffffc90002cafc68 EFLAGS: 00000286 RAX: dffffc0000000000 RBX: 1ffff110034b8ef5 RCX: ffffffff89400068 RDX: 0000000000031066 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88801a5c77a8 R08: 0000000042577bb1 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888010c41280 R13: ffffffff81bcb7f4 R14: ffff88801a5c77a8 R15: ffffc90002cafd10 ____kasan_slab_free mm/kasan/common.c:366 [inline] ____kasan_slab_free mm/kasan/common.c:328 [inline] __kasan_slab_free+0xff/0x130 mm/kasan/common.c:374 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1700 [inline] slab_free_freelist_hook+0x81/0x190 mm/slub.c:1725 slab_free mm/slub.c:3483 [inline] kfree+0xe4/0x530 mm/slub.c:4543 put_fs_context+0x14f/0x650 fs/fs_context.c:469 do_new_mount fs/namespace.c:2992 [inline] path_mount+0x632/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 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:0x7f4bf37cb8d9 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:00007f4bf0cdf188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f4bf38d01a0 RCX: 00007f4bf37cb8d9 RDX: 0000000020000080 RSI: 0000000020000000 RDI: 0000000020000000 RBP: 00007f4bf3825cb4 R08: 0000000020000100 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc422e69df R14: 00007f4bf0cdf300 R15: 0000000000022000 Modules linked in: ---[ end trace fc127a355ec8f55b ]--- RIP: 0010:perf_tp_event_match kernel/events/core.c:9657 [inline] RIP: 0010:perf_tp_event+0x1d5/0xb70 kernel/events/core.c:9708 Code: 89 85 e8 fd ff ff eb 0f e8 48 39 e1 ff 48 83 eb 60 0f 84 4a 01 00 00 e8 39 39 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:ffffc90002caf680 EFLAGS: 00010006 RAX: 0000000000000030 RBX: ffffffffffffffa1 RCX: ffffc900128a8000 RDX: 0000000000040000 RSI: ffffffff8194c547 RDI: 0000000000000181 RBP: ffffc90002caf8f0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817a48bd R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b9d2c800 R14: 0000000000000001 R15: 1ffff110173a5911 FS: 00007f4bf0cdf700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ea22000 CR3: 000000007b6c3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 85 e8 fd ff ff mov %eax,-0x218(%rbp) 6: eb 0f jmp 0x17 8: e8 48 39 e1 ff callq 0xffe13955 d: 48 83 eb 60 sub $0x60,%rbx 11: 0f 84 4a 01 00 00 je 0x161 17: e8 39 39 e1 ff callq 0xffe13955 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