F2FS-fs (loop6): inject write IO error in f2fs_write_end_io of blk_update_request+0x57e/0xe60 block/blk-mq.c:1016 ================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. ksoftirqd/0/15 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88807c4a5198 (&sb->s_type->i_lock_key#46){+.?.}-{3:3}, at: spin_lock include/linux/spinlock.h:342 [inline] ffff88807c4a5198 (&sb->s_type->i_lock_key#46){+.?.}-{3:3}, at: igrab+0x2d/0x1e0 fs/inode.c:1583 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158 spin_lock include/linux/spinlock.h:342 [inline] iget_locked+0x397/0x6a0 fs/inode.c:1489 f2fs_iget+0x56/0x5f30 fs/f2fs/inode.c:577 f2fs_fill_super+0x4419/0x78f0 fs/f2fs/super.c:5118 get_tree_bdev_flags+0x431/0x4f0 fs/super.c:1694 vfs_get_tree+0x92/0x2a0 fs/super.c:1754 fc_mount fs/namespace.c:1193 [inline] do_new_mount_fc fs/namespace.c:3764 [inline] do_new_mount+0x341/0xd30 fs/namespace.c:3840 do_mount fs/namespace.c:4173 [inline] __do_sys_mount fs/namespace.c:4372 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4349 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 2854728 hardirqs last enabled at (2854728): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (2854728): [] _raw_spin_unlock_irqrestore+0x30/0x80 kernel/locking/spinlock.c:198 hardirqs last disabled at (2854727): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (2854727): [] _raw_spin_lock_irqsave+0x1a/0x60 kernel/locking/spinlock.c:166 softirqs last enabled at (2854706): [] run_ksoftirqd+0x36/0x60 kernel/softirq.c:1076 softirqs last disabled at (2854711): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (2854711): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (2854711): [] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&sb->s_type->i_lock_key#46); lock(&sb->s_type->i_lock_key#46); *** DEADLOCK *** no locks held by ksoftirqd/0/15. stack backtrace: CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28b/0x2e0 kernel/locking/lockdep.c:4042 valid_state kernel/locking/lockdep.c:4056 [inline] mark_lock_irq+0x410/0x420 kernel/locking/lockdep.c:-1 mark_lock+0x115/0x190 kernel/locking/lockdep.c:4753 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x689/0x2cf0 kernel/locking/lockdep.c:5191 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158 spin_lock include/linux/spinlock.h:342 [inline] igrab+0x2d/0x1e0 fs/inode.c:1583 fserror_report+0x3c5/0x740 fs/fserror.c:159 fserror_report_io include/linux/fserror.h:48 [inline] f2fs_write_end_io+0x12c1/0x17a0 fs/f2fs/data.c:386 blk_update_request+0x57e/0xe60 block/blk-mq.c:1016 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1178 blk_complete_reqs block/blk-mq.c:1253 [inline] blk_done_softirq+0x10a/0x160 block/blk-mq.c:1258 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:finish_task_switch+0x427/0xbe0 kernel/sched/core.c:5211 Code: 41 c7 84 24 e0 0d 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 96 7c 1c 0a e8 21 b0 38 00 fb 49 8d bd 68 16 00 00 <48> 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 7b 03 00 00 41 80 RSP: 0018:ffffc90000147ab0 EFLAGS: 00000206 RAX: 00000000002b8f35 RBX: 1ffff110170c777c RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8dfc116d RDI: ffff88801de834e8 RBP: ffffc90000147b10 R08: ffffffff9031a6f7 R09: 1ffffffff20634de R10: dffffc0000000000 R11: fffffbfff20634df R12: ffff8880b863ae48 R13: ffff88801de81e80 R14: ffff88801b77db80 R15: dffffc0000000000 context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1664/0x5520 kernel/sched/core.c:6966 __schedule_loop kernel/sched/core.c:7049 [inline] schedule+0x164/0x360 kernel/sched/core.c:7064 smpboot_thread_fn+0x5bc/0xa50 kernel/smpboot.c:156 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 f2fs_handle_critical_error fs/f2fs/super.c:4719 [inline] f2fs_stop_checkpoint+0x3c7/0x590 fs/f2fs/super.c:4748 f2fs_write_end_io+0x12e5/0x17a0 fs/f2fs/data.c:390 blk_update_request+0x57e/0xe60 block/blk-mq.c:1016 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1178 blk_complete_reqs block/blk-mq.c:1253 [inline] blk_done_softirq+0x10a/0x160 block/blk-mq.c:1258 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:finish_task_switch+0x427/0xbe0 kernel/sched/core.c:5211 Code: 41 c7 84 24 e0 0d 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 96 7c 1c 0a e8 21 b0 38 00 fb 49 8d bd 68 16 00 00 <48> 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 7b 03 00 00 41 80 RSP: 0018:ffffc90000147ab0 EFLAGS: 00000206 RAX: 00000000002b8f35 RBX: 1ffff110170c777c RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8dfc116d RDI: ffff88801de834e8 RBP: ffffc90000147b10 R08: ffffffff9031a6f7 R09: 1ffffffff20634de R10: dffffc0000000000 R11: fffffbfff20634df R12: ffff8880b863ae48 R13: ffff88801de81e80 R14: ffff88801b77db80 R15: dffffc0000000000 context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1664/0x5520 kernel/sched/core.c:6966 __schedule_loop kernel/sched/core.c:7049 [inline] schedule+0x164/0x360 kernel/sched/core.c:7064 smpboot_thread_fn+0x5bc/0xa50 kernel/smpboot.c:156 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 F2FS-fs (loop6): Stopped filesystem due to reason: 3 CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 f2fs_handle_critical_error fs/f2fs/super.c:4719 [inline] f2fs_stop_checkpoint+0x3c7/0x590 fs/f2fs/super.c:4748 f2fs_write_end_io+0x12e5/0x17a0 fs/f2fs/data.c:390 blk_update_request+0x57e/0xe60 block/blk-mq.c:1016 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1178 blk_complete_reqs block/blk-mq.c:1253 [inline] blk_done_softirq+0x10a/0x160 block/blk-mq.c:1258 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:finish_task_switch+0x427/0xbe0 kernel/sched/core.c:5211 Code: 41 c7 84 24 e0 0d 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 96 7c 1c 0a e8 21 b0 38 00 fb 49 8d bd 68 16 00 00 <48> 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 7b 03 00 00 41 80 RSP: 0018:ffffc90000147ab0 EFLAGS: 00000206 RAX: 00000000002b8f35 RBX: 1ffff110170c777c RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8dfc116d RDI: ffff88801de834e8 RBP: ffffc90000147b10 R08: ffffffff9031a6f7 R09: 1ffffffff20634de R10: dffffc0000000000 R11: fffffbfff20634df R12: ffff8880b863ae48 R13: ffff88801de81e80 R14: ffff88801b77db80 R15: dffffc0000000000 context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1664/0x5520 kernel/sched/core.c:6966 __schedule_loop kernel/sched/core.c:7049 [inline] schedule+0x164/0x360 kernel/sched/core.c:7064 smpboot_thread_fn+0x5bc/0xa50 kernel/smpboot.c:156 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 F2FS-fs (loop6): Stopped filesystem due to reason: 3 CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 f2fs_handle_critical_error fs/f2fs/super.c:4719 [inline] f2fs_stop_checkpoint+0x3c7/0x590 fs/f2fs/super.c:4748 f2fs_write_end_io+0x12e5/0x17a0 fs/f2fs/data.c:390 blk_update_request+0x57e/0xe60 block/blk-mq.c:1016 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1178 blk_complete_reqs block/blk-mq.c:1253 [inline] blk_done_softirq+0x10a/0x160 block/blk-mq.c:1258 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:finish_task_switch+0x427/0xbe0 kernel/sched/core.c:5211 Code: 41 c7 84 24 e0 0d 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 96 7c 1c 0a e8 21 b0 38 00 fb 49 8d bd 68 16 00 00 <48> 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 7b 03 00 00 41 80 RSP: 0018:ffffc90000147ab0 EFLAGS: 00000206 RAX: 00000000002b8f35 RBX: 1ffff110170c777c RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8dfc116d RDI: ffff88801de834e8 RBP: ffffc90000147b10 R08: ffffffff9031a6f7 R09: 1ffffffff20634de R10: dffffc0000000000 R11: fffffbfff20634df R12: ffff8880b863ae48 R13: ffff88801de81e80 R14: ffff88801b77db80 R15: dffffc0000000000 context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1664/0x5520 kernel/sched/core.c:6966 __schedule_loop kernel/sched/core.c:7049 [inline] schedule+0x164/0x360 kernel/sched/core.c:7064 smpboot_thread_fn+0x5bc/0xa50 kernel/smpboot.c:156 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 F2FS-fs (loop6): Stopped filesystem due to reason: 3 CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 f2fs_handle_critical_error fs/f2fs/super.c:4719 [inline] f2fs_stop_checkpoint+0x3c7/0x590 fs/f2fs/super.c:4748 f2fs_write_end_io+0x12e5/0x17a0 fs/f2fs/data.c:390 blk_update_request+0x57e/0xe60 block/blk-mq.c:1016 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1178 blk_complete_reqs block/blk-mq.c:1253 [inline] blk_done_softirq+0x10a/0x160 block/blk-mq.c:1258 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:finish_task_switch+0x427/0xbe0 kernel/sched/core.c:5211 Code: 41 c7 84 24 e0 0d 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 96 7c 1c 0a e8 21 b0 38 00 fb 49 8d bd 68 16 00 00 <48> 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 7b 03 00 00 41 80 RSP: 0018:ffffc90000147ab0 EFLAGS: 00000206 RAX: 00000000002b8f35 RBX: 1ffff110170c777c RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8dfc116d RDI: ffff88801de834e8 RBP: ffffc90000147b10 R08: ffffffff9031a6f7 R09: 1ffffffff20634de R10: dffffc0000000000 R11: fffffbfff20634df R12: ffff8880b863ae48 R13: ffff88801de81e80 R14: ffff88801b77db80 R15: dffffc0000000000 context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1664/0x5520 kernel/sched/core.c:6966 __schedule_loop kernel/sched/core.c:7049 [inline] schedule+0x164/0x360 kernel/sched/core.c:7064 smpboot_thread_fn+0x5bc/0xa50 kernel/smpboot.c:156 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 F2FS-fs (loop6): Stopped filesystem due to reason: 3 CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 f2fs_handle_critical_error fs/f2fs/super.c:4719 [inline] f2fs_stop_checkpoint+0x3c7/0x590 fs/f2fs/super.c:4748 f2fs_write_end_io+0x12e5/0x17a0 fs/f2fs/data.c:390 blk_update_request+0x57e/0xe60 block/blk-mq.c:1016 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1178 blk_complete_reqs block/blk-mq.c:1253 [inline] blk_done_softirq+0x10a/0x160 block/blk-mq.c:1258 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:finish_task_switch+0x427/0xbe0 kernel/sched/core.c:5211 Code: 41 c7 84 24 e0 0d 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 96 7c 1c 0a e8 21 b0 38 00 fb 49 8d bd 68 16 00 00 <48> 89 f8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 7b 03 00 00 41 80 RSP: 0018:ffffc90000147ab0 EFLAGS: 00000206 RAX: 00000000002b8f35 RBX: 1ffff110170c777c RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8dfc116d RDI: ffff88801de834e8 RBP: ffffc90000147b10 R08: ffffffff9031a6f7 R09: 1ffffffff20634de R10: dffffc0000000000 R11: fffffbfff20634df R12: ffff8880b863ae48 R13: ffff88801de81e80 R14: ffff88801b77db80 R15: dffffc0000000000 context_switch kernel/sched/core.c:5357 [inline] __schedule+0x1664/0x5520 kernel/sched/core.c:6966 __schedule_loop kernel/sched/core.c:7049 [inline] schedule+0x164/0x360 kernel/sched/core.c:7064 smpboot_thread_fn+0x5bc/0xa50 kernel/smpboot.c:156 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 F2FS-fs (loop6): Stopped filesystem due to reason: 3 ---------------- Code disassembly (best guess): 0: 41 c7 84 24 e0 0d 00 movl $0x0,0xde0(%r12) 7: 00 00 00 00 00 c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 11: 49 83 c4 48 add $0x48,%r12 15: 4c 89 e7 mov %r12,%rdi 18: e8 96 7c 1c 0a call 0xa1c7cb3 1d: e8 21 b0 38 00 call 0x38b043 22: fb sti 23: 49 8d bd 68 16 00 00 lea 0x1668(%r13),%rdi * 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction 2d: 48 c1 e8 03 shr $0x3,%rax 31: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 36: 84 c0 test %al,%al 38: 0f 85 7b 03 00 00 jne 0x3b9 3e: 41 rex.B 3f: 80 .byte 0x80