INFO: task syz.1.407:6340 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.407 state:D stack:28032 pid:6340 ppid:4266 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6696 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x555/0xaf0 kernel/locking/mutex.c:747 sync_bdevs+0x1ab/0x320 block/bdev.c:1054 ksys_sync+0xb6/0x150 fs/sync.c:105 __ia32_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f4e2938efc9 RSP: 002b:00007f4e2a2ce038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f4e295e5fa0 RCX: 00007f4e2938efc9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f4e295e5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4e295e6038 R14: 00007f4e295e5fa0 R15: 00007ffd643fc318 INFO: task syz.5.409:6348 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.409 state:D stack:27176 pid:6348 ppid:4637 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6696 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x555/0xaf0 kernel/locking/mutex.c:747 sync_bdevs+0x1ab/0x320 block/bdev.c:1054 ksys_sync+0xb6/0x150 fs/sync.c:105 __ia32_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f3464b8efc9 RSP: 002b:00007f3465b0e038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f3464de5fa0 RCX: 00007f3464b8efc9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f3464de5fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3464de6038 R14: 00007f3464de5fa0 R15: 00007ffee9e16cb8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb2b630 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb2be50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 2 locks held by getty/4030: #0: ffff88802fdb9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 1 lock held by udevd/4416: #0: ffff88814378a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x13d/0xa60 block/bdev.c:815 1 lock held by udevd/4441: #0: ffff888024bd24c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x13d/0xa60 block/bdev.c:815 6 locks held by kworker/u4:8/4525: 1 lock held by syz.1.407/6340: #0: ffff888024bd24c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1ab/0x320 block/bdev.c:1054 1 lock held by syz.5.409/6348: #0: ffff888024bd24c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1ab/0x320 block/bdev.c:1054 2 locks held by kworker/0:19/7378: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003757d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 1 lock held by syz.8.639/7526: #0: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x830 kernel/rcu/tree_exp.h:962 2 locks held by sed/7574: ============================================= 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 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xeee/0xf30 kernel/hung_task.c:377 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:lock_release+0x22/0x910 kernel/locking/lockdep.c:5670 Code: 00 e9 e4 f8 ff ff 66 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec e0 00 00 00 48 89 74 24 30 48 89 7c 24 10 <65> 48 8b 04 25 28 00 00 00 48 89 84 24 c0 00 00 00 49 bd 00 00 00 RSP: 0018:ffffc900001b7920 EFLAGS: 00000082 RAX: f3f3f300f1f1f1f1 RBX: 0000000000000806 RCX: 0000000000000003 RDX: ffff888055a7fef0 RSI: ffffffff81709f30 RDI: ffffffff96e657e8 RBP: ffffc900001b7a30 R08: 0000000000000004 R09: 0000000000000003 R10: fffff52000036f2c R11: 1ffff92000036f2c R12: dffffc0000000000 R13: 1ffff110171e5088 R14: ffffffff96e657d0 R15: 1ffff92000036f48 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564a157a2048 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x6d/0x100 kernel/locking/spinlock.c:194 debug_timer_deactivate kernel/time/timer.c:787 [inline] debug_deactivate kernel/time/timer.c:831 [inline] detach_timer+0x30/0x350 kernel/time/timer.c:878 expire_timers kernel/time/timer.c:1538 [inline] __run_timers+0x4ab/0x7c0 kernel/time/timer.c:1820 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833 handle_softirqs+0x2a1/0x920 kernel/softirq.c:596 run_ksoftirqd+0x98/0xf0 kernel/softirq.c:963 smpboot_thread_fn+0x64a/0xa40 kernel/smpboot.c:164 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295