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/5323 Modules linked in: CPU: 0 UID: 0 PID: 5323 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 a9 01 d8 ff 49 8b 3e be 40 00 00 00 5b 41 5c 41 5e 41 5f 5d e9 74 52 fb ff e8 8f 62 66 ff eb 8c e8 88 62 66 ff 90 <0f> 0b 90 e9 a5 fd ff ff e8 7a 62 66 ff 90 0f 0b 90 e9 cf fd ff ff RSP: 0000:ffffc9000f60fc90 EFLAGS: 00010293 RAX: ffffffff82617938 RBX: ffff888044294b60 RCX: ffff888033fd2580 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000001 R08: ffff888044294b67 R09: 1ffff1100885296c R10: dffffc0000000000 R11: ffffed100885296d R12: 1ffff110024d6ccf R13: ffff888036619080 R14: ffff8880126b6678 R15: ffff8880366190c8 FS: 00007f6c3630d6c0(0000) GS:ffff88808c2c6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3f68cb947 CR3: 0000000012724000 CR4: 0000000000352ef0 Call Trace: minix_put_super+0x16d/0x460 fs/minix/inode.c:70 generic_shutdown_super+0x13d/0x2d0 fs/super.c:769 kill_block_super+0x44/0xa0 fs/super.c:1918 deactivate_locked_super+0xbc/0x110 fs/super.c:603 cleanup_mnt+0x3d3/0x460 fs/namespace.c:1317 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:336 [inline] do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6c3539f3ca 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:00007f6c3630ce18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: fffffffffffffffe RBX: 00007f6c3630cea0 RCX: 00007f6c3539f3ca RDX: 0000200000000080 RSI: 00002000000001c0 RDI: 00007f6c3630ce60 RBP: 0000200000000080 R08: 00007f6c3630cea0 R09: 0000000000000008 R10: 0000000000000008 R11: 0000000000000246 R12: 00002000000001c0 R13: 00007f6c3630ce60 R14: 000000000000018e R15: 0000200000000480