loop0: detected capacity change from 0 to 64 ------------[ cut here ]------------ !buffer_uptodate(bh) WARNING: fs/buffer.c:991 at mark_buffer_dirty+0x299/0x410 fs/buffer.c:991, CPU#0: syz.0.0/5318 Modules linked in: CPU: 0 UID: 0 PID: 5318 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:mark_buffer_dirty+0x299/0x410 fs/buffer.c:991 Code: 4c 89 f7 e8 d9 d5 d7 ff 49 8b 3e be 40 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 34 44 fb ff e8 8f 56 65 ff eb 8c e8 88 56 65 ff 90 <0f> 0b 90 e9 a5 fd ff ff e8 7a 56 65 ff 90 0f 0b 90 e9 cf fd ff ff RSP: 0018:ffffc9000e067c90 EFLAGS: 00010293 RAX: ffffffff8262caf8 RBX: ffff8880144097e0 RCX: ffff88803475a580 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000001 R08: ffff8880144097e7 R09: 1ffff110028812fc R10: dffffc0000000000 R11: ffffed10028812fd R12: 1ffff11007b450cf R13: ffff888030afd500 R14: ffff88803da28678 R15: ffff888030afd548 FS: 00007fefd86f56c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055fc5f850370 CR3: 0000000041337000 CR4: 0000000000352ef0 Call Trace: minix_put_super+0x16d/0x460 fs/minix/inode.c:70 generic_shutdown_super+0x13d/0x2d0 fs/super.c:751 kill_block_super+0x44/0xa0 fs/super.c:1903 deactivate_locked_super+0xbe/0x110 fs/super.c:586 cleanup_mnt+0x204/0x2a0 fs/namespace.c:1392 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fefd779f44a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007fefd86f4e18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffec RBX: 00007fefd86f4ea0 RCX: 00007fefd779f44a RDX: 0000200000000000 RSI: 0000200000000040 RDI: 00007fefd86f4e60 RBP: 0000200000000000 R08: 00007fefd86f4ea0 R09: 0000000000000008 R10: 0000000000000008 R11: 0000000000000246 R12: 0000200000000040 R13: 00007fefd86f4e60 R14: 000000000000018e R15: 0000200000000080