bisecting fixing commit since 521b619acdc8f1f5acdac15b84f81fd9515b2aff building syzkaller on 64069d48f293e0be98d4a78a6f7be23861cc1e06 testing commit 521b619acdc8f1f5acdac15b84f81fd9515b2aff with gcc (GCC) 8.1.0 kernel signature: 3e2905ceb5145de4cf91cb98e751c1f3742dbe369bfbf00a84d5daca8f9ec11e all runs: crashed: WARNING in __writeback_inodes_sb_nr testing current HEAD cd796ed3345030aa1bb332fe5c793b3dddaf56e7 testing commit cd796ed3345030aa1bb332fe5c793b3dddaf56e7 with gcc (GCC) 8.1.0 kernel signature: 7870896d9a24559ec8f423840c6b4cd566a77998f4064d64426e8ca7433253a0 all runs: crashed: WARNING in __writeback_inodes_sb_nr revisions tested: 2, total time: 15m39.431613186s (build: 8m45.841372625s, test: 6m32.378776969s) the crash still happens on HEAD commit msg: Merge tag 'trace-v5.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace crash: WARNING in __writeback_inodes_sb_nr BTRFS info (device loop2): enabling ssd optimizations BTRFS info (device loop2): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 0 PID: 13057 at fs/fs-writeback.c:2470 __writeback_inodes_sb_nr+0xb1/0xc0 fs/fs-writeback.c:2474 Modules linked in: CPU: 0 PID: 13057 Comm: syz-executor.2 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr+0xb1/0xc0 fs/fs-writeback.c:2470 Code: 24 10 48 89 c7 0f b6 d1 e8 6c f8 ff ff 48 89 e7 e8 d4 f7 ff ff 48 8b 44 24 48 65 48 33 04 25 28 00 00 00 75 09 48 83 c4 50 c3 <0f> 0b eb cf e8 76 a3 16 02 66 0f 1f 44 00 00 31 c9 e9 39 ff ff ff RSP: 0018:ffffc90001f5fb80 EFLAGS: 00010246 RAX: ffff88811ec9a000 RBX: ffff888119015068 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000b45a RDI: ffff88811ec9b000 RBP: ffff88811ef0c000 R08: ffff88811ec9a730 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88811c186800 R13: ffff88811ef0cbe0 R14: ffff88811ef0ccb0 R15: ffffc90001f5fc50 FS: 00007fda91a5d700(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffbda579028 CR3: 000000011efb6000 CR4: 0000000000350ef0 Call Trace: btrfs_start_delalloc_flush fs/btrfs/transaction.c:1973 [inline] btrfs_commit_transaction+0x38f/0xca0 fs/btrfs/transaction.c:2153 btrfs_sync_file+0x374/0x5a0 fs/btrfs/file.c:2271 generic_write_sync include/linux/fs.h:2739 [inline] btrfs_file_write_iter+0x433/0x690 fs/btrfs/file.c:2018 call_write_iter include/linux/fs.h:1903 [inline] do_iter_readv_writev+0x15b/0x1b0 fs/read_write.c:740 do_iter_write+0x7e/0x1b0 fs/read_write.c:866 vfs_writev+0x97/0x280 fs/read_write.c:939 do_pwritev+0x87/0xd0 fs/read_write.c:1036 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45deb9 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fda91a5cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 RAX: ffffffffffffffda RBX: 0000000000026480 RCX: 000000000045deb9 RDX: 0000000000000001 RSI: 00000000200014c0 RDI: 0000000000000003 RBP: 000000000118bf70 R08: 0000000000000020 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffcbcdc126f R14: 00007fda91a5d9c0 R15: 000000000118bf2c