loop0: detected capacity change from 0 to 64 syz.0.0: attempt to access beyond end of device loop0: rw=2049, sector=268435468, nr_sectors = 2 limit=64 loop0: detected capacity change from 64 to 0 Unable to read inode block Unable to read inode block Unable to read inode block Unable to read inode block ------------[ cut here ]------------ !(inode_state_read_once(inode) & I_LINKABLE) WARNING: fs/inode.c:472 at inc_nlink+0x122/0x150 fs/inode.c:472, CPU#0: syz.0.0/5335 Modules linked in: CPU: 0 UID: 0 PID: 5335 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 04/01/2014 RIP: 0010:inc_nlink+0x122/0x150 fs/inode.c:472 Code: e6 ff e9 3a ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 4c ff ff ff 48 89 df e8 f9 86 e6 ff e9 3f ff ff ff e8 8f a0 79 ff 90 <0f> 0b 90 eb 80 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 50 ff ff ff RSP: 0018:ffffc9000c2ff4f0 EFLAGS: 00010293 RAX: ffffffff824c2591 RBX: ffff888046d63650 RCX: ffff888036a9ca80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff903058f7 R09: 1ffffffff2060b1e R10: dffffc0000000000 R11: fffffbfff2060b1f R12: dffffc0000000000 R13: 1ffff11008dac6ca R14: ffff888046d63608 R15: ffff888046d636d8 FS: 00007f77122a96c0(0000) GS:ffff88808c895000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7712265f68 CR3: 000000001fd86000 CR4: 0000000000352ef0 Call Trace: inode_inc_link_count include/linux/fs.h:2248 [inline] minix_mkdir+0x44/0x120 fs/minix/namei.c:117 vfs_mkdir+0x413/0x630 fs/namei.c:5261 ovl_do_mkdir fs/overlayfs/overlayfs.h:257 [inline] ovl_workdir_create+0x4d7/0x940 fs/overlayfs/super.c:345 ovl_make_workdir fs/overlayfs/super.c:678 [inline] ovl_get_workdir fs/overlayfs/super.c:836 [inline] ovl_fill_super_creds fs/overlayfs/super.c:1449 [inline] ovl_fill_super+0x1a38/0x5e20 fs/overlayfs/super.c:1560 vfs_get_super fs/super.c:1327 [inline] get_tree_nodev+0xbb/0x150 fs/super.c:1346 vfs_get_tree+0x92/0x2a0 fs/super.c:1754 fc_mount fs/namespace.c:1193 [inline] do_new_mount_fc fs/namespace.c:3758 [inline] do_new_mount+0x341/0xd30 fs/namespace.c:3834 do_mount fs/namespace.c:4167 [inline] __do_sys_mount fs/namespace.c:4383 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4360 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f771139ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f77122a8fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f7711615fa0 RCX: 00007f771139ce59 RDX: 0000200000000200 RSI: 00002000000003c0 RDI: 0000000000000000 RBP: 00007f7711432d6f R08: 0000200000001100 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7711616038 R14: 00007f7711615fa0 R15: 00007ffde64c2458