loop0: detected capacity change from 0 to 32768 ======================================================= 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. ======================================================= ocfs2: Slot 0 on device (7,0) was already allocated to this node! ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. overlayfs: upper fs does not support tmpfile. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 5327 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3432 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x2f41/0x5450 fs/ocfs2/dir.c:4296 Code: aa 8b e8 22 9b 19 00 e9 fd 11 00 00 e8 f8 47 1e fe e9 a7 02 00 00 e8 ee 47 1e fe 49 8d 7f 08 4d 8d 77 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 41 20 00 00 4c 89 f0 48 c1 e8 03 42 0f RSP: 0018:ffffc9000d36e900 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff888042f55e48 RCX: 0000000000100000 RDX: ffffc9000ddba000 RSI: 0000000000004a62 RDI: 0000000000000008 RBP: ffffc9000d36f010 R08: ffffffff8f7d0277 R09: 1ffffffff1efa04e R10: dffffc0000000000 R11: fffffbfff1efa04f R12: dffffc0000000000 R13: ffff888042f55df8 R14: 0000000000000009 R15: 0000000000000000 FS: 00007fd39e4cf6c0(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000432c9000 CR4: 0000000000352ef0 Call Trace: __ocfs2_prepare_orphan_dir+0x145/0x2c0 fs/ocfs2/namei.c:2179 ocfs2_prepare_orphan_dir+0xf9/0x3f0 fs/ocfs2/namei.c:2224 ocfs2_unlink+0x90d/0x1940 fs/ocfs2/namei.c:962 vfs_unlink+0x394/0x650 fs/namei.c:4673 ovl_do_unlink fs/overlayfs/overlayfs.h:218 [inline] ovl_cleanup_locked fs/overlayfs/dir.c:36 [inline] ovl_cleanup+0x151/0x230 fs/overlayfs/dir.c:56 ovl_check_rename_whiteout fs/overlayfs/super.c:617 [inline] ovl_make_workdir fs/overlayfs/super.c:714 [inline] ovl_get_workdir+0xaae/0x17b0 fs/overlayfs/super.c:837 ovl_fill_super+0x154a/0x3da0 fs/overlayfs/super.c:1468 vfs_get_super fs/super.c:1324 [inline] get_tree_nodev+0xbb/0x150 fs/super.c:1343 vfs_get_tree+0x92/0x2b0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x302/0xa10 fs/namespace.c:3727 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x313/0x410 fs/namespace.c:4215 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd39d58f6c9 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:00007fd39e4cf038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd39d7e5fa0 RCX: 00007fd39d58f6c9 RDX: 0000200000000000 RSI: 0000200000000100 RDI: 0000000000000000 RBP: 00007fd39d611f91 R08: 0000200000000240 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd39d7e6038 R14: 00007fd39d7e5fa0 R15: 00007ffe82a2c7a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3432 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x2f41/0x5450 fs/ocfs2/dir.c:4296 Code: aa 8b e8 22 9b 19 00 e9 fd 11 00 00 e8 f8 47 1e fe e9 a7 02 00 00 e8 ee 47 1e fe 49 8d 7f 08 4d 8d 77 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 41 20 00 00 4c 89 f0 48 c1 e8 03 42 0f RSP: 0018:ffffc9000d36e900 EFLAGS: 00010202 RAX: 0000000000000001 RBX: ffff888042f55e48 RCX: 0000000000100000 RDX: ffffc9000ddba000 RSI: 0000000000004a62 RDI: 0000000000000008 RBP: ffffc9000d36f010 R08: ffffffff8f7d0277 R09: 1ffffffff1efa04e R10: dffffc0000000000 R11: fffffbfff1efa04f R12: dffffc0000000000 R13: ffff888042f55df8 R14: 0000000000000009 R15: 0000000000000000 FS: 00007fd39e4cf6c0(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560596349168 CR3: 00000000432c9000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: e8 22 9b 19 00 call 0x199b27 5: e9 fd 11 00 00 jmp 0x1207 a: e8 f8 47 1e fe call 0xfe1e4807 f: e9 a7 02 00 00 jmp 0x2bb 14: e8 ee 47 1e fe call 0xfe1e4807 19: 49 8d 7f 08 lea 0x8(%r15),%rdi 1d: 4d 8d 77 09 lea 0x9(%r15),%r14 21: 48 89 f8 mov %rdi,%rax 24: 48 c1 e8 03 shr $0x3,%rax * 28: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2d: 84 c0 test %al,%al 2f: 0f 85 41 20 00 00 jne 0x2076 35: 4c 89 f0 mov %r14,%rax 38: 48 c1 e8 03 shr $0x3,%rax 3c: 42 rex.X 3d: 0f .byte 0xf