------------[ cut here ]------------ kernel BUG at fs/buffer.c:3111! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 18344 Comm: syz-executor.2 Not tainted 4.14.139 #35 kobject: 'loop3' (ffff8880a4adeaa0): kobject_uevent_env Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 kobject: 'loop3' (ffff8880a4adeaa0): fill_kobj_path: path = '/devices/virtual/block/loop3' task: ffff8880814f8680 task.stack: ffff8880871f0000 RIP: 0010:submit_bh_wbc+0x5a0/0x720 fs/buffer.c:3111 RSP: 0018:ffff8880871f7388 EFLAGS: 00010202 RAX: 0000000000040000 RBX: ffff888094346b28 RCX: ffffc9000ca73000 RDX: 0000000000008220 RSI: ffffffff8199ca60 RDI: 0000000000000001 RBP: ffff8880871f73d0 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: ffff8880814f8680 R12: ffff888094346b28 R13: 0000000000000800 R14: 0000000000000000 R15: 0000000000000001 FS: 00007fc54e87c700(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c4250c5000 CR3: 000000005f1b3000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bh fs/buffer.c:3158 [inline] __sync_dirty_buffer fs/buffer.c:3244 [inline] __sync_dirty_buffer+0xcf/0x260 fs/buffer.c:3235 sync_dirty_buffer+0x1b/0x20 fs/buffer.c:3257 kobject: 'loop3' (ffff8880a4adeaa0): kobject_uevent_env __fat_write_inode+0x723/0x8f0 fs/fat/inode.c:885 kobject: 'loop3' (ffff8880a4adeaa0): fill_kobj_path: path = '/devices/virtual/block/loop3' fat_write_inode+0x78/0x170 fs/fat/inode.c:901 write_inode fs/fs-writeback.c:1224 [inline] __writeback_single_inode+0xb44/0x1120 fs/fs-writeback.c:1423 writeback_single_inode+0x1fa/0x380 fs/fs-writeback.c:1477 sync_inode fs/fs-writeback.c:2505 [inline] sync_inode_metadata+0x8c/0xb0 fs/fs-writeback.c:2525 __generic_file_fsync+0x130/0x1a0 fs/libfs.c:988 fat_file_fsync+0x78/0x200 fs/fat/file.c:165 vfs_fsync_range+0x10e/0x260 fs/sync.c:196 generic_write_sync include/linux/fs.h:2677 [inline] generic_file_write_iter+0x47a/0x660 mm/filemap.c:3203 call_write_iter include/linux/fs.h:1777 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x4a7/0x6b0 fs/read_write.c:482 __kernel_write+0xfc/0x370 fs/read_write.c:501 write_pipe_buf+0x148/0x1c0 fs/splice.c:797 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x348/0x780 fs/splice.c:626 splice_from_pipe+0xf0/0x150 fs/splice.c:661 default_file_splice_write+0x3c/0x80 fs/splice.c:809 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x123/0x190 fs/splice.c:1018 splice_direct_to_actor+0x29e/0x7b0 fs/splice.c:973 do_splice_direct+0x18d/0x230 fs/splice.c:1061 do_sendfile+0x4db/0xbd0 fs/read_write.c:1441 SYSC_sendfile64 fs/read_write.c:1496 [inline] SyS_sendfile64+0x9d/0x110 fs/read_write.c:1488 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459829 RSP: 002b:00007fc54e87bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000459829 RDX: 0000000020000000 RSI: 0000000000000005 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 00008080fffffffe R11: 0000000000000246 R12: 00007fc54e87c6d4 R13: 00000000004c7005 R14: 00000000004dc630 R15: 00000000ffffffff Code: f0 80 63 01 f7 e9 3d fb ff ff 48 8d 43 20 48 89 45 d0 48 8d 43 10 48 89 45 c0 e9 34 fc ff ff e8 17 13 c3 ff 0f 0b e8 10 13 c3 ff <0f> 0b e8 09 13 c3 ff 0f 0b e8 02 13 c3 ff 0f 0b e8 fb 12 c3 ff RIP: submit_bh_wbc+0x5a0/0x720 fs/buffer.c:3111 RSP: ffff8880871f7388 loop_set_block_size: loop2 () has still dirty pages (nrpages=1) ---[ end trace a928ef880f7a439a ]---