INFO: task syz-executor426:5819 blocked for more than 143 seconds. Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor426 state:D stack:26560 pid:5819 tgid:5818 ppid:5815 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 bdev_release+0x15a/0x6d0 block/bdev.c:1086 blkdev_release+0x15/0x20 block/fops.c:635 __fput+0x3f8/0xb60 fs/file_table.c:450 task_work_run+0x14e/0x250 kernel/task_work.c:239 ptrace_notify+0x10e/0x130 kernel/signal.c:2503 ptrace_report_syscall include/linux/ptrace.h:415 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:477 [inline] syscall_exit_work kernel/entry/common.c:173 [inline] syscall_exit_to_user_mode_prepare+0x126/0x290 kernel/entry/common.c:200 __syscall_exit_to_user_mode_work kernel/entry/common.c:205 [inline] syscall_exit_to_user_mode+0x11/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f13fb5097b9 RSP: 002b:00007f13fb4c1218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f13fb591328 RCX: 00007f13fb5097b9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 00007f13fb591320 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f13fb59132c R13: 00007f13fb55e344 R14: 64626e2f7665642f R15: 00000000ffffff43 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 5 locks held by kworker/u8:6/1143: 1 lock held by klogd/5179: 2 locks held by getty/5571: #0: ffff88803693a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000330b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by udevd/5816: #0: ffff888025b7f4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe20 block/bdev.c:903 1 lock held by syz-executor426/5819: #0: ffff888025b7f4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1086 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 1143 Comm: kworker/u8:6 Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__this_cpu_preempt_check+0x0/0x20 lib/smp_processor_id.c:65 Code: c6 a0 ee d1 8b 48 c7 c7 e0 ee d1 8b e9 f9 fe ff ff 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 89 fe 48 c7 c7 20 ef d1 8b e9 cd fe ff ff 66 2e 0f RSP: 0018:ffffc9000421fb78 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff88802778a440 RCX: 1ffffffff20be0c9 RDX: 1ffff11004ef15df RSI: 0000000000000000 RDI: ffffffff8b6cdca0 RBP: 80739be259f87a79 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff905f4997 R11: 0000000000000002 R12: ffffffff81732f47 R13: ffffffff8e37c600 R14: 0000000000000296 R15: ffffc9000421fc58 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563fbadc9680 CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] lockdep_hardirqs_on_prepare+0x11b/0x420 kernel/locking/lockdep.c:4405 trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:78 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] prepare_to_wait_event+0xce/0x6a0 kernel/sched/wait.c:300 toggle_allocation_gate mm/kfence/core.c:851 [inline] toggle_allocation_gate+0x1f6/0x260 mm/kfence/core.c:841 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244