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: 28283 Comm: syz-executor.5 Not tainted 5.16.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:9687 [inline] RIP: 0010:perf_tp_event+0x1d5/0xbc0 kernel/events/core.c:9738 Code: 89 85 e8 fd ff ff eb 0f e8 48 d6 e0 ff 48 83 eb 60 0f 84 4a 01 00 00 e8 39 d6 e0 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 94 08 00 00 44 8b bb e0 01 RSP: 0018:ffffc90000cf6e80 EFLAGS: 00010206 RAX: 0000000000000030 RBX: ffffffffffffffa1 RCX: ffffc90006071000 RDX: 0000000000040000 RSI: ffffffff8196d4b7 RDI: 0000000000000181 RBP: ffffc90000cf70f0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817bf47d R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b9d34860 R14: 0000000000000001 R15: 1ffff110173a691d FS: 00007fd1e28b5700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeb180cd28 CR3: 000000004c6df000 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:9713 perf_trace_ext4_mballoc_prealloc+0x5d1/0x890 include/trace/events/ext4.h:1080 trace_ext4_mballoc_prealloc include/trace/events/ext4.h:1080 [inline] ext4_mb_collect_stats fs/ext4/mballoc.c:4206 [inline] ext4_mb_release_context fs/ext4/mballoc.c:5449 [inline] ext4_mb_new_blocks+0x2b56/0x51f0 fs/ext4/mballoc.c:5629 ext4_alloc_branch fs/ext4/indirect.c:333 [inline] ext4_ind_map_blocks+0x1a49/0x24b0 fs/ext4/indirect.c:628 ext4_map_blocks+0x9c9/0x17d0 fs/ext4/inode.c:639 ext4_iomap_alloc fs/ext4/inode.c:3365 [inline] ext4_iomap_begin+0x4a1/0x7f0 fs/ext4/inode.c:3415 iomap_iter+0x454/0x11b0 fs/iomap/iter.c:74 __iomap_dio_rw+0x6b2/0x1a10 fs/iomap/direct-io.c:588 iomap_dio_rw+0x38/0x90 fs/iomap/direct-io.c:679 ext4_dio_write_iter fs/ext4/file.c:568 [inline] ext4_file_write_iter+0xe1b/0x14e0 fs/ext4/file.c:679 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write+0x429/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x12d/0x250 fs/read_write.c:643 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:0x7fd1e3f3fe99 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:00007fd1e28b5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fd1e4052f60 RCX: 00007fd1e3f3fe99 RDX: 000000000020b000 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007fd1e3f9a031 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeff83640f R14: 00007fd1e28b5300 R15: 0000000000022000 Modules linked in: ---[ end trace 8f5901ee214a8ee9 ]--- RIP: 0010:perf_tp_event_match kernel/events/core.c:9687 [inline] RIP: 0010:perf_tp_event+0x1d5/0xbc0 kernel/events/core.c:9738 Code: 89 85 e8 fd ff ff eb 0f e8 48 d6 e0 ff 48 83 eb 60 0f 84 4a 01 00 00 e8 39 d6 e0 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 94 08 00 00 44 8b bb e0 01 RSP: 0018:ffffc90000cf6e80 EFLAGS: 00010206 RAX: 0000000000000030 RBX: ffffffffffffffa1 RCX: ffffc90006071000 RDX: 0000000000040000 RSI: ffffffff8196d4b7 RDI: 0000000000000181 RBP: ffffc90000cf70f0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817bf47d R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b9d34860 R14: 0000000000000001 R15: 1ffff110173a691d FS: 00007fd1e28b5700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeb180cd28 CR3: 000000004c6df000 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 d6 e0 ff callq 0xffe0d655 d: 48 83 eb 60 sub $0x60,%rbx 11: 0f 84 4a 01 00 00 je 0x161 17: e8 39 d6 e0 ff callq 0xffe0d655 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 94 08 00 00 jle 0x8cf 3b: 44 rex.R 3c: 8b .byte 0x8b 3d: bb .byte 0xbb 3e: e0 01 loopne 0x41