INFO: task syz.4.340:7913 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.340 state:D stack:27504 pid:7913 ppid:6162 flags:0x00004004 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 sync_bdevs+0x1af/0x330 block/bdev.c:1076 ksys_sync+0xba/0x150 fs/sync.c:105 __ia32_sys_sync+0xe/0x20 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe138f8f749 RSP: 002b:00007fe139d3f038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007fe1391e5fa0 RCX: 00007fe138f8f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fe1391e5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe1391e6038 R14: 00007fe1391e5fa0 R15: 00007fff3b9b0ad8 Showing all locks held in the system: 4 locks held by kworker/u4:0/11: 1 lock held by khungtaskd/28: #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2ff20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 3 locks held by kworker/u4:9/3501: 2 locks held by getty/5523: #0: ffff88802cfc30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000328b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 1 lock held by udevd/5753: #0: ffff8881417714c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x121/0x600 block/bdev.c:805 2 locks held by kworker/1:3/5769: #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900046cfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900046cfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 8 locks held by kworker/0:8/7032: #0: ffff8880192fc938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff8880192fc938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc900047efd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc900047efd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffff888024f6d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #2: ffff888024f6d190 (&dev->mutex){....}-{3:3}, at: hub_event+0x185/0x49c0 drivers/usb/core/hub.c:5861 #3: ffff88807818b190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:995 [inline] #3: ffff88807818b190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x89/0x400 drivers/base/dd.c:1005 #4: ffff888024f58098 (&hub->status_mutex){+.+.}-{3:3}, at: hub_ext_port_status+0x54/0x6d0 drivers/usb/core/hub.c:625 #5: ffff8880b8e289c0 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline] #5: ffff8880b8e289c0 (psi_seq){-.-.}-{0:0}, at: __schedule+0x20ee/0x44d0 kernel/sched/core.c:6694 #6: ffff8880b8e3c018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:566 #7: ffff8880b8e289c0 (psi_seq){-.-.}-{0:0}, at: psi_enqueue kernel/sched/stats.h:143 [inline] #7: ffff8880b8e289c0 (psi_seq){-.-.}-{0:0}, at: enqueue_task+0x275/0x2c0 kernel/sched/core.c:2097 1 lock held by syz.4.340/7913: #0: ffff8881417714c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1af/0x330 block/bdev.c:1076 1 lock held by syz.5.389/8110: #0: ffff8881417714c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1af/0x330 block/bdev.c:1076 1 lock held by syz-executor/9038: #0: ffffffff8cd358f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8cd358f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x830 kernel/rcu/tree_exp.h:1004 4 locks held by syz.8.692/9878: 2 locks held by rm/9978: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7039 Comm: kworker/u4:10 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:__lock_acquire+0x18f0/0x7c80 kernel/locking/lockdep.c:5141 Code: 83 3d cf 3e e3 0c 00 0f 84 19 f8 ff ff 48 8b 44 24 48 42 0f b6 04 00 84 c0 0f 85 d3 53 00 00 41 be 01 00 00 00 41 f6 47 02 10 <0f> 85 bb 02 00 00 48 8b 84 24 b8 00 00 00 42 80 3c 00 00 48 8b 9c RSP: 0018:ffffc90004217700 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffffff90ee4fc0 RCX: ffffffff81671100 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90d945e8 RBP: ffffc90004217948 R08: dffffc0000000000 R09: 1ffffffff21b28bd R10: dffffc0000000000 R11: fffffbfff21b28be R12: cd56453e9983ce19 R13: ffff888023a68000 R14: 0000000000000001 R15: ffff888023a68ba0 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3c06fb16d0 CR3: 0000000069799000 CR4: 00000000003506f0 Call Trace: lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x36/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:816 [inline] nsim_dev_trap_report_work+0x6cc/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 F2FS-fs (loop9): inject write IO error in f2fs_write_end_io of req_bio_endio block/blk-mq.c:784 [inline] F2FS-fs (loop9): inject write IO error in f2fs_write_end_io of blk_update_request+0x597/0xe40 block/blk-mq.c:929 F2FS-fs (loop9): Stopped filesystem due to reason: 3