general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 PID: 4913 Comm: syz-executor.5 Not tainted 6.2.0-rc7-syzkaller-00013-g513c1a3d3f19 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:mark_buffer_dirty_inode+0x50/0x300 Code: ff 48 83 c5 30 48 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 ef e8 af b4 e0 ff 4c 8b 75 00 49 8d 6d 10 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 91 b4 e0 ff 48 8b 6d 00 48 83 c5 RSP: 0018:ffffc90017387848 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffff888063023a80 RDX: 0000000000000000 RSI: ffff8880369107c0 RDI: 0000000000000000 RBP: 0000000000000010 R08: ffffffff82fad470 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff8880369109e8 R15: 1ffff92002e70f28 FS: 00007f9e0200e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562f8844d678 CR3: 000000007dc6a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_rename+0xb21/0x14b0 vfs_rename+0xc51/0x1190 do_renameat2+0xa70/0x1250 __x64_sys_rename+0x86/0x90 do_syscall_64+0x41/0xc0 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9e0b88c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9e0200e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f9e0b9ac120 RCX: 00007f9e0b88c0f9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000020000040 RBP: 00007f9e0b8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd506c57ef R14: 00007f9e0200e300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:mark_buffer_dirty_inode+0x50/0x300 Code: ff 48 83 c5 30 48 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 ef e8 af b4 e0 ff 4c 8b 75 00 49 8d 6d 10 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 91 b4 e0 ff 48 8b 6d 00 48 83 c5 RSP: 0018:ffffc90017387848 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffff888063023a80 RDX: 0000000000000000 RSI: ffff8880369107c0 RDI: 0000000000000000 RBP: 0000000000000010 R08: ffffffff82fad470 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff8880369109e8 R15: 1ffff92002e70f28 FS: 00007f9e0200e700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2db9fad988 CR3: 000000007dc6a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 83 c5 30 add $0x30,%rbp 4: 48 89 e8 mov %rbp,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 10: 74 08 je 0x1a 12: 48 89 ef mov %rbp,%rdi 15: e8 af b4 e0 ff callq 0xffe0b4c9 1a: 4c 8b 75 00 mov 0x0(%rbp),%r14 1e: 49 8d 6d 10 lea 0x10(%r13),%rbp 22: 48 89 e8 mov %rbp,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 ef mov %rbp,%rdi 33: e8 91 b4 e0 ff callq 0xffe0b4c9 38: 48 8b 6d 00 mov 0x0(%rbp),%rbp 3c: 48 rex.W 3d: 83 .byte 0x83 3e: c5 .byte 0xc5