INFO: task kworker/u4:1:12 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:24048 pid:12 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:1) Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747 jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 jfs_write_inode+0x145/0x220 fs/jfs/inode.c:132 write_inode fs/fs-writeback.c:1473 [inline] __writeback_single_inode+0x705/0xee0 fs/fs-writeback.c:1690 writeback_sb_inodes+0x77c/0xef0 fs/fs-writeback.c:1916 __writeback_inodes_wb+0x111/0x240 fs/fs-writeback.c:1987 wb_writeback+0x464/0xba0 fs/fs-writeback.c:2097 wb_check_background_flush fs/fs-writeback.c:2167 [inline] wb_do_writeback fs/fs-writeback.c:2255 [inline] wb_workfn+0xb32/0xe20 fs/fs-writeback.c:2282 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 INFO: task kworker/u4:5:1080 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:5 state:D stack:22472 pid:1080 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6832 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b7/0xcc0 kernel/locking/mutex.c:747 jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 jfs_write_inode+0x145/0x220 fs/jfs/inode.c:132 write_inode fs/fs-writeback.c:1473 [inline] __writeback_single_inode+0x705/0xee0 fs/fs-writeback.c:1690 writeback_sb_inodes+0x77c/0xef0 fs/fs-writeback.c:1916 __writeback_inodes_wb+0x111/0x240 fs/fs-writeback.c:1987 wb_writeback+0x464/0xba0 fs/fs-writeback.c:2097 wb_check_background_flush fs/fs-writeback.c:2167 [inline] wb_do_writeback fs/fs-writeback.c:2255 [inline] wb_workfn+0xb32/0xe20 fs/fs-writeback.c:2282 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Showing all locks held in the system: 4 locks held by kworker/u4:1/12: #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90000117d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90000117d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff88807ee220e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff88805ea5d508 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 1 lock held by khungtaskd/28: #0: ffffffff8cd2fc20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2fc20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2fc20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 4 locks held by kworker/u4:3/48: #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90000b8fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90000b8fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff88802f5ae0e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff88805e83de48 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 3 locks held by kworker/u4:4/66: #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900015b7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900015b7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfbc488 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:286 4 locks held by kworker/u4:5/1080: #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90004affd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90004affd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff88807848e0e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff88805ea59d88 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 4 locks held by kworker/u4:6/1090: #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90004b7fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90004b7fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff88807de220e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff88805e839d88 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 4 locks held by kworker/u4:8/1127: #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90004b3fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90004b3fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff88807f2ac0e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff888076ef1448 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 4 locks held by kworker/u4:9/1322: #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000549fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000549fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff88805af200e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff88805ea34bc8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 2 locks held by getty/5543: #0: ffff88814dd100a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 4 locks held by syz.0.17/5946: 4 locks held by syz.1.18/5976: 6 locks held by syz.2.19/5997: 4 locks held by syz.3.20/6019: 4 locks held by syz.4.21/6055: 4 locks held by syz.5.22/6084: 4 locks held by kworker/u4:10/6085: #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc90003927d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc90003927d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff88807b2a00e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff88805e82a6c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 4 locks held by kworker/u4:11/6096: #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff88801de50d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900039e7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900039e7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff888060d9c0e0 (&type->s_umount_key#56){++++}-{3:3}, at: super_trylock_shared+0x20/0xf0 fs/super.c:607 #3: ffff88805e82e788 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1cb/0x520 fs/jfs/inode.c:102 4 locks held by syz.6.23/6113: 3 locks held by kworker/u4:12/6124: 4 locks held by syz.7.24/6148: 2 locks held by syz-executor/6151: #0: ffffffff8dfbc488 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8dfbc488 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x76f/0xf10 net/core/rtnetlink.c:6472 #1: ffffffff8cd35bf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8cd35bf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x448/0x830 kernel/rcu/tree_exp.h:1004 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6161 Comm: kworker/u4:13 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_switch+0x96/0x120 kernel/kcov.c:350 Code: 41 54 53 48 8b 54 24 20 65 4c 8b 05 24 25 7e 7e 45 31 c9 eb 08 49 ff c1 4c 39 c8 74 77 4e 8b 54 ce 10 65 44 8b 1d 12 25 7e 7e <41> 81 e3 00 01 ff 00 74 13 41 81 fb 00 01 00 00 75 d9 41 83 b8 1c RSP: 0018:ffffc90003bb7570 EFLAGS: 00000202 RAX: 0000000000000008 RBX: 0000000000000000 RCX: 0000000000000003 RDX: ffffffff813aaa02 RSI: ffffffff8cb9e560 RDI: 0000000000000005 RBP: ffffc90003bb76b8 R08: ffff888029e11e00 R09: 0000000000000007 R10: 0000000000000009 R11: 0000000080000002 R12: ffffc90003bb7668 R13: dffffc0000000000 R14: 0000000000000005 R15: ffffffff8ed94b54 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7370c30910 CR3: 000000000cb30000 CR4: 00000000003506e0 Call Trace: unwind_next_frame+0x742/0x2970 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x2e/0x50 mm/kasan/generic.c:522 ____kasan_slab_free+0x126/0x1e0 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1806 [inline] slab_free_freelist_hook+0x130/0x1b0 mm/slub.c:1832 slab_free mm/slub.c:3816 [inline] kmem_cache_free+0xf8/0x280 mm/slub.c:3838 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline] nsim_dev_trap_report_work+0x76f/0xb00 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293