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: 6522 Comm: syz-executor.3 Not tainted 6.2.0-rc5-syzkaller-00047-g7c46948a6e9c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:mark_buffer_dirty_inode+0x4c/0x300 fs/buffer.c:573 Code: ff 48 83 c5 30 48 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 ef e8 13 1d 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 f5 1c e0 ff 48 8b 6d 00 48 83 c5 RSP: 0018:ffffc9000369f848 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000db55000 RSI: 00000000000025ea RDI: 00000000000025eb RBP: 0000000000000010 R08: ffffffff8301a9f3 R09: fffffbfff1d2d2ce R10: fffffbfff1d2d2ce R11: 1ffffffff1d2d2cd R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888022fa29f0 R15: dffffc0000000000 FS: 00007f68c5e36700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f64c8593000 CR3: 000000007c8b3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_rename+0xbba/0x1450 fs/udf/namei.c:1190 vfs_rename+0xd53/0x1130 fs/namei.c:4779 do_renameat2+0xaad/0x12d0 fs/namei.c:4930 __do_sys_rename fs/namei.c:4976 [inline] __se_sys_rename fs/namei.c:4974 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4974 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f68c508c0c9 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:00007f68c5e36168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f68c51ac050 RCX: 00007f68c508c0c9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000020000040 RBP: 00007f68c50e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff70748f5f R14: 00007f68c5e36300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:mark_buffer_dirty_inode+0x4c/0x300 fs/buffer.c:573 Code: ff 48 83 c5 30 48 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 ef e8 13 1d 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 f5 1c e0 ff 48 8b 6d 00 48 83 c5 RSP: 0018:ffffc9000369f848 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000db55000 RSI: 00000000000025ea RDI: 00000000000025eb RBP: 0000000000000010 R08: ffffffff8301a9f3 R09: fffffbfff1d2d2ce R10: fffffbfff1d2d2ce R11: 1ffffffff1d2d2cd R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888022fa29f0 R15: dffffc0000000000 FS: 00007f68c5e36700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f73a15a8000 CR3: 000000007c8b3000 CR4: 00000000003506e0 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 13 1d e0 ff callq 0xffe01d2d 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 f5 1c e0 ff callq 0xffe01d2d 38: 48 8b 6d 00 mov 0x0(%rbp),%rbp 3c: 48 rex.W 3d: 83 .byte 0x83 3e: c5 .byte 0xc5