bisecting fixing commit since b09c34517e1ac4018e3bb75ed5c8610a8a1f486b building syzkaller on 9602ddf403bdf3cfd87efef14becc76f9a38b81d testing commit b09c34517e1ac4018e3bb75ed5c8610a8a1f486b with gcc (GCC) 8.4.1 20210217 kernel signature: c5abe089de6afaa0f368371f34a8aa1a7138f41c5106b9fffb2e4c2d27dfe661 all runs: crashed: WARNING in __writeback_inodes_sb_nr testing current HEAD 030194a5b292bb7613407668d85af0b987bb9839 testing commit 030194a5b292bb7613407668d85af0b987bb9839 with gcc (GCC) 8.4.1 20210217 kernel signature: 8d594b4097ce962d792b1f430dc80edab2c1f3661b345b59a8989cc3e567d79a all runs: crashed: WARNING in __writeback_inodes_sb_nr revisions tested: 2, total time: 28m56.654266636s (build: 21m40.269517906s, test: 6m40.899318994s) the crash still happens on HEAD commit msg: Linux 4.19.180 crash: WARNING in __writeback_inodes_sb_nr BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by syz-executor.4 (7612) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by systemd-udevd (7601) BTRFS info (device loop3): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7640 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Modules linked in: CPU: 1 PID: 7640 Comm: btrfs-transacti Not tainted 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881dd107c38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff1103ba20f89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881dd107d30 R08: ffffed103ece5081 R09: ffffed103ece5080 R10: ffffed103ece5080 R11: ffff8881f6728407 R12: ffff8881e9cee380 R13: ffff8881d6350e70 R14: ffff8881dd107c68 R15: ffff8881d6350d40 FS: 0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002577888 CR3: 000000000866d006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 138 hardirqs last enabled at (137): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (137): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (138): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (0): [] copy_process.part.2+0x176b/0x7960 kernel/fork.c:1855 softirqs last disabled at (0): [<0000000000000000>] (null) ---[ end trace fb78c0eecab97199 ]--- BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by syz-executor.5 (7639) BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by systemd-udevd (7605) BTRFS info (device loop2): turning on flush-on-commit BTRFS info (device loop2): disk space caching is enabled BTRFS info (device loop2): has skinny extents BTRFS info (device loop2): checking UUID tree BTRFS info (device loop0): turning on flush-on-commit BTRFS info (device loop0): disk space caching is enabled BTRFS info (device loop0): has skinny extents BTRFS info (device loop0): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by syz-executor.1 (7720) BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by systemd-udevd (7722) BTRFS info (device loop4): turning on flush-on-commit BTRFS info (device loop4): disk space caching is enabled BTRFS info (device loop4): has skinny extents BTRFS info (device loop4): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by syz-executor.5 (7745) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7758 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by systemd-udevd (7760) Modules linked in: CPU: 1 PID: 7758 Comm: btrfs-transacti Tainted: G W 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881e1027c38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff1103c204f89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881e1027d30 R08: ffffed103ece5081 R09: ffffed103ece5080 R10: ffffed103ece5080 R11: ffff8881f6728407 R12: ffff8881e97fd700 R13: ffff8881d1cacd30 R14: ffff8881e1027c68 R15: ffff8881d1cacc00 FS: 0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000053ab38 CR3: 000000000866d003 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 730 hardirqs last enabled at (729): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (729): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (730): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (724): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (603): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (603): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace fb78c0eecab9719a ]--- BTRFS warning (device ): duplicate device /dev/loop3 devid 1 generation 7 scanned by syz-executor.3 (7765) BTRFS warning (device ): duplicate device /dev/loop3 devid 1 generation 7 scanned by systemd-udevd (7769) BTRFS info (device loop1): turning on flush-on-commit BTRFS info (device loop1): disk space caching is enabled BTRFS info (device loop1): has skinny extents BTRFS info (device loop1): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7803 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Modules linked in: CPU: 1 PID: 7803 Comm: btrfs-transacti Tainted: G W 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881c6c6fc38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff11038d8df89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881c6c6fd30 R08: ffffed103ece5081 R09: ffffed103ece5080 R10: ffffed103ece5080 R11: ffff8881f6728407 R12: ffff8881f2d13500 R13: ffff8881e8dbc8f0 R14: ffff8881c6c6fc68 R15: ffff8881e8dbc7c0 FS: 0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f9b75a3378 CR3: 000000000866d004 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 122 hardirqs last enabled at (121): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (121): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (122): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (0): [] copy_process.part.2+0x176b/0x7960 kernel/fork.c:1855 softirqs last disabled at (0): [<0000000000000000>] (null) ---[ end trace fb78c0eecab9719b ]--- BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by syz-executor.2 (7806) BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by syz-executor.2 (7806) BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by systemd-udevd (7811) BTRFS info (device loop0): turning on flush-on-commit BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by syz-executor.5 (7822) BTRFS info (device loop0): disk space caching is enabled BTRFS info (device loop0): has skinny extents BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by systemd-udevd (7810) BTRFS info (device loop0): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7850 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Modules linked in: CPU: 1 PID: 7850 Comm: btrfs-transacti Tainted: G W 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881c6f4fc38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff11038de9f89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881c6f4fd30 R08: ffffed103ece5081 R09: ffffed103ece5080 R10: ffffed103ece5080 R11: ffff8881f6728407 R12: ffff8881e75f4400 R13: ffff8881e7a984b0 R14: ffff8881c6f4fc68 R15: ffff8881e7a98380 FS: 0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000055c071 CR3: 000000000866d005 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 160 hardirqs last enabled at (159): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (159): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (160): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (154): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (117): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (117): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace fb78c0eecab9719c ]--- BTRFS info (device loop3): turning on flush-on-commit BTRFS info (device loop3): disk space caching is enabled BTRFS info (device loop3): has skinny extents BTRFS info (device loop3): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7888 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Modules linked in: CPU: 1 PID: 7888 Comm: btrfs-transacti Tainted: G W 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881c6e6fc38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff11038dcdf89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881c6e6fd30 R08: ffffed103ece5081 R09: ffffed103ece5080 R10: ffffed103ece5080 R11: ffff8881f6728407 R12: ffff8881e88f49c0 R13: ffff8881e69d06f0 R14: ffff8881c6e6fc68 R15: ffff8881e69d05c0 FS: 0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfa6d41018 CR3: 000000000866d003 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 232 hardirqs last enabled at (231): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (231): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (232): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (226): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (117): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (117): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace fb78c0eecab9719d ]--- BTRFS info (device loop4): turning on flush-on-commit BTRFS info (device loop4): disk space caching is enabled BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by syz-executor.2 (7902) BTRFS info (device loop4): has skinny extents BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by systemd-udevd (7900) BTRFS info (device loop4): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by syz-executor.1 (7930) BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by syz-executor.1 (7930) BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by systemd-udevd (7935) BTRFS info (device loop5): turning on flush-on-commit BTRFS info (device loop5): disk space caching is enabled BTRFS info (device loop5): has skinny extents BTRFS info (device loop5): checking UUID tree BTRFS info (device loop0): turning on flush-on-commit BTRFS info (device loop0): disk space caching is enabled BTRFS info (device loop0): has skinny extents BTRFS info (device loop0): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8009 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Modules linked in: CPU: 1 PID: 8009 Comm: btrfs-transacti Tainted: G W 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881c64f7c38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff11038c9ef89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881c64f7d30 R08: ffffed103ece5081 R09: ffffed103ece5080 R10: ffffed103ece5080 R11: ffff8881f6728407 R12: ffff8881d0893540 R13: ffff8881e11f82b0 R14: ffff8881c64f7c68 R15: ffff8881e11f8180 FS: 0000000000000000(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfa6d46000 CR3: 000000000866d002 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 136 hardirqs last enabled at (135): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (135): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (136): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (130): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (117): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (117): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace fb78c0eecab9719e ]--- BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by syz-executor.4 (8015) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by systemd-udevd (8017) BTRFS info (device loop2): turning on flush-on-commit BTRFS info (device loop2): disk space caching is enabled BTRFS info (device loop2): has skinny extents BTRFS warning (device ): duplicate device /dev/loop3 devid 1 generation 7 scanned by syz-executor.3 (8039) BTRFS warning (device ): duplicate device /dev/loop3 devid 1 generation 7 scanned by systemd-udevd (8031) BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by syz-executor.1 (8061) BTRFS info (device loop2): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by systemd-udevd (8020) BTRFS info (device loop5): turning on flush-on-commit BTRFS info (device loop5): disk space caching is enabled BTRFS info (device loop5): has skinny extents BTRFS info (device loop5): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by syz-executor.4 (8106) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by systemd-udevd (8109) BTRFS info (device loop3): turning on flush-on-commit BTRFS info (device loop3): disk space caching is enabled BTRFS info (device loop3): has skinny extents BTRFS info (device loop3): checking UUID tree BTRFS info (device loop0): turning on flush-on-commit BTRFS info (device loop0): disk space caching is enabled BTRFS info (device loop0): has skinny extents BTRFS info (device loop0): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by syz-executor.1 (8183) BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 7 scanned by systemd-udevd (8187) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by syz-executor.4 (8191) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by systemd-udevd (8187) BTRFS info (device loop2): turning on flush-on-commit BTRFS info (device loop2): disk space caching is enabled BTRFS info (device loop2): has skinny extents BTRFS info (device loop2): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by syz-executor.5 (8229) BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by systemd-udevd (8231) BTRFS info (device loop3): turning on flush-on-commit BTRFS info (device loop3): disk space caching is enabled BTRFS info (device loop3): has skinny extents BTRFS info (device loop3): checking UUID tree BTRFS info (device loop1): turning on flush-on-commit BTRFS info (device loop1): disk space caching is enabled BTRFS info (device loop1): has skinny extents BTRFS info (device loop1): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by syz-executor.4 (8310) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by systemd-udevd (8313) BTRFS info (device loop0): turning on flush-on-commit BTRFS info (device loop0): disk space caching is enabled BTRFS info (device loop0): has skinny extents BTRFS info (device loop0): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by syz-executor.5 (8347) BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by systemd-udevd (8349) BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by syz-executor.2 (8356) BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by systemd-udevd (8358) BTRFS info (device loop3): turning on flush-on-commit BTRFS info (device loop3): disk space caching is enabled BTRFS info (device loop3): has skinny extents BTRFS info (device loop3): checking UUID tree BTRFS info (device loop5): turning on flush-on-commit BTRFS info (device loop5): disk space caching is enabled BTRFS info (device loop5): has skinny extents BTRFS info (device loop5): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by syz-executor.4 (8433) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by systemd-udevd (8435) BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by syz-executor.2 (8440) BTRFS info (device loop1): turning on flush-on-commit BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 7 scanned by syz-executor.0 (8450) BTRFS info (device loop1): disk space caching is enabled BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 7 scanned by systemd-udevd (8435) BTRFS info (device loop1): has skinny extents BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 7 scanned by systemd-udevd (8455) BTRFS info (device loop1): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8477 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Modules linked in: CPU: 0 PID: 8477 Comm: btrfs-transacti Tainted: G W 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881c40cfc38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff11038819f89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881c40cfd30 R08: ffffed103ecc5081 R09: ffffed103ecc5080 R10: ffffed103ecc5080 R11: ffff8881f6628407 R12: ffff8881d6e02c00 R13: ffff8881e81d44b0 R14: ffff8881c40cfc68 R15: ffff8881e81d4380 FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd7c512c60 CR3: 000000000866d002 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 120 hardirqs last enabled at (119): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (119): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (120): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (0): [] copy_process.part.2+0x176b/0x7960 kernel/fork.c:1855 softirqs last disabled at (0): [<0000000000000000>] (null) ---[ end trace fb78c0eecab9719f ]--- BTRFS info (device loop3): turning on flush-on-commit BTRFS info (device loop3): disk space caching is enabled BTRFS info (device loop3): has skinny extents BTRFS info (device loop3): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8514 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Modules linked in: CPU: 0 PID: 8514 Comm: btrfs-transacti Tainted: G W 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881d9607c38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff1103b2c0f89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881d9607d30 R08: ffffed103ecc5081 R09: ffffed103ecc5080 R10: ffffed103ecc5080 R11: ffff8881f6628407 R12: ffff8881d57f0580 R13: ffff8881d600cc70 R14: ffff8881d9607c68 R15: ffff8881d600cb40 FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfa6d55000 CR3: 000000000866d005 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 118 hardirqs last enabled at (117): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (117): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (118): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (0): [] copy_process.part.2+0x176b/0x7960 kernel/fork.c:1855 softirqs last disabled at (0): [<0000000000000000>] (null) ---[ end trace fb78c0eecab971a0 ]--- BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by syz-executor.4 (8517) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 7 scanned by systemd-udevd (8519) BTRFS info (device loop2): turning on flush-on-commit BTRFS info (device loop2): disk space caching is enabled BTRFS info (device loop2): has skinny extents BTRFS info (device loop2): checking UUID tree BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by syz-executor.5 (8559) BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by syz-executor.5 (8559) BTRFS warning (device ): duplicate device /dev/loop5 devid 1 generation 7 scanned by systemd-udevd (8563) BTRFS info (device loop2): turning on flush-on-commit BTRFS info (device loop2): disk space caching is enabled BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 7 scanned by syz-executor.0 (8627) BTRFS info (device loop2): has skinny extents BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 7 scanned by systemd-udevd (8612) BTRFS info (device loop2): checking UUID tree BTRFS info (device loop4): turning on flush-on-commit BTRFS info (device loop4): disk space caching is enabled BTRFS info (device loop4): has skinny extents BTRFS info (device loop4): checking UUID tree ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8686 at fs/fs-writeback.c:2390 __writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Modules linked in: CPU: 0 PID: 8686 Comm: btrfs-transacti Tainted: G W 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__writeback_inodes_sb_nr.cold.14+0xc/0x13 fs/fs-writeback.c:2390 Code: 09 ff ff ff e8 bc 31 b0 fa eb bb 48 c7 c7 a0 fa 53 87 e8 6a ff fe ff 0f 0b e9 a7 37 c3 fa 48 c7 c7 a0 fa 53 87 e8 57 ff fe ff <0f> 0b e9 7a 5e c3 fa 48 c7 c7 a0 fa 53 87 e8 44 ff fe ff 0f 0b e9 RSP: 0018:ffff8881c4627c38 EFLAGS: 00010282 RAX: 0000000000000024 RBX: 1ffff110388c4f89 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878b6040 RDI: ffffffff8a3e3aa0 RBP: ffff8881c4627d30 R08: ffffed103ecc5081 R09: ffffed103ecc5080 R10: ffffed103ecc5080 R11: ffff8881f6628407 R12: ffff8881d896b4c0 R13: ffff8881f25d4cf0 R14: ffff8881c4627c68 R15: ffff8881f25d4bc0 FS: 0000000000000000(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000055c071 CR3: 000000000866d001 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: writeback_inodes_sb_nr fs/fs-writeback.c:2410 [inline] writeback_inodes_sb+0x22/0x30 fs/fs-writeback.c:2425 btrfs_start_delalloc_flush fs/btrfs/transaction.c:1925 [inline] btrfs_commit_transaction+0x1974/0x2330 fs/btrfs/transaction.c:2076 transaction_kthread+0x2a2/0x380 fs/btrfs/disk-io.c:1794 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 irq event stamp: 206 hardirqs last enabled at (205): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (205): [] _raw_spin_unlock_irq+0x27/0x90 kernel/locking/spinlock.c:192 hardirqs last disabled at (206): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (200): [] __do_softirq+0x62d/0x919 kernel/softirq.c:318 softirqs last disabled at (115): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (115): [] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 ---[ end trace fb78c0eecab971a1 ]---