loop0: detected capacity change from 0 to 1024 ======================================================= WARNING: The mand mount option has been deprecated and and is ignored by this kernel. Remove the mand option from the mount to silence this warning. ======================================================= Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted 6.12.0-rc5-syzkaller-00044-gc1e939a21eb1 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:hfsplus_rename_cat+0x4b3/0x1090 fs/hfsplus/catalog.c:480 Code: 60 42 80 3c 20 00 48 8b 5c 24 20 74 05 e8 c5 99 78 ff 48 8b 94 24 20 01 00 00 48 83 c3 40 48 89 d8 48 c1 e8 03 48 89 44 24 68 <42> 80 3c 20 00 48 89 54 24 08 74 0d 48 89 df e8 99 99 78 ff 48 8b RSP: 0018:ffffc9000d167720 EFLAGS: 00010202 RAX: 0000000000000008 RBX: 0000000000000040 RCX: 0000000000040000 RDX: ffff888043832000 RSI: 00000000000012d9 RDI: ffffc9000d167840 RBP: ffffc9000d167b90 R08: ffffffff828674d4 R09: b7af47e301000000 R10: b7af47e301000000 R11: b7af47e3b7af47e3 R12: dffffc0000000000 R13: ffffc9000d16780c R14: ffffc9000d1678a0 R15: 1ffff92001a2cef8 FS: 00007fa01f72f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bfc42757c8 CR3: 000000003e51c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_link+0x3ab/0x800 fs/hfsplus/dir.c:323 vfs_link+0x4f0/0x6e0 fs/namei.c:4739 do_linkat+0x555/0x6f0 fs/namei.c:4809 __do_sys_link fs/namei.c:4843 [inline] __se_sys_link fs/namei.c:4841 [inline] __x64_sys_link+0x82/0x90 fs/namei.c:4841 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa01e97e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa01f72f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000056 RAX: ffffffffffffffda RBX: 00007fa01eb35f80 RCX: 00007fa01e97e719 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000200 RBP: 00007fa01e9f132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa01eb35f80 R15: 00007ffd3e2c4778 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfsplus_rename_cat+0x4b3/0x1090 fs/hfsplus/catalog.c:480 Code: 60 42 80 3c 20 00 48 8b 5c 24 20 74 05 e8 c5 99 78 ff 48 8b 94 24 20 01 00 00 48 83 c3 40 48 89 d8 48 c1 e8 03 48 89 44 24 68 <42> 80 3c 20 00 48 89 54 24 08 74 0d 48 89 df e8 99 99 78 ff 48 8b RSP: 0018:ffffc9000d167720 EFLAGS: 00010202 RAX: 0000000000000008 RBX: 0000000000000040 RCX: 0000000000040000 RDX: ffff888043832000 RSI: 00000000000012d9 RDI: ffffc9000d167840 RBP: ffffc9000d167b90 R08: ffffffff828674d4 R09: b7af47e301000000 R10: b7af47e301000000 R11: b7af47e3b7af47e3 R12: dffffc0000000000 R13: ffffc9000d16780c R14: ffffc9000d1678a0 R15: 1ffff92001a2cef8 FS: 00007fa01f72f6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa01f70df98 CR3: 000000003e51c000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 5: 48 8b 5c 24 20 mov 0x20(%rsp),%rbx a: 74 05 je 0x11 c: e8 c5 99 78 ff call 0xff7899d6 11: 48 8b 94 24 20 01 00 mov 0x120(%rsp),%rdx 18: 00 19: 48 83 c3 40 add $0x40,%rbx 1d: 48 89 d8 mov %rbx,%rax 20: 48 c1 e8 03 shr $0x3,%rax 24: 48 89 44 24 68 mov %rax,0x68(%rsp) * 29: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2e: 48 89 54 24 08 mov %rdx,0x8(%rsp) 33: 74 0d je 0x42 35: 48 89 df mov %rbx,%rdi 38: e8 99 99 78 ff call 0xff7899d6 3d: 48 rex.W 3e: 8b .byte 0x8b