INFO: task syz-executor257:5858 blocked for more than 143 seconds. Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor257 state:D stack:25368 pid:5858 tgid:5857 ppid:5854 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752 bdev_release+0x17e/0x700 block/bdev.c:1087 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x23f/0x880 fs/file_table.c:431 task_work_run+0x24f/0x310 kernel/task_work.c:239 ptrace_notify+0x2d2/0x380 kernel/signal.c:2404 ptrace_report_syscall include/linux/ptrace.h:415 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:477 [inline] syscall_exit_work+0xc6/0x190 kernel/entry/common.c:173 syscall_exit_to_user_mode_prepare kernel/entry/common.c:200 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:205 [inline] syscall_exit_to_user_mode+0x279/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2b3fb85469 RSP: 002b:00007f2b3fb34218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f2b3fc053e8 RCX: 00007f2b3fb85469 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 00007f2b3fc053e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2b3fc053ec R13: 00007f2b3fbd23bc R14: 64626e2f7665642f R15: 00000000ffffff43 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/5584: #0: ffff888031b970a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by udevd/5855: #0: ffff8880257084c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xf0/0xc50 block/bdev.c:904 1 lock held by syz-executor257/5858: #0: ffff8880257084c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x17e/0x700 block/bdev.c:1087 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 80 Comm: kworker/u8:4 Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:___update_load_sum kernel/sched/pelt.c:190 [inline] RIP: 0010:update_rt_rq_load_avg+0x47/0x960 kernel/sched/pelt.c:348 Code: be 00 00 00 00 00 fc ff df 48 8d 9e 00 0c 00 00 48 89 dd 48 c1 ed 03 42 80 7c 35 00 00 74 08 48 89 df e8 7c 08 91 00 48 8b 03 <4d> 89 fc 49 29 c4 0f 88 93 00 00 00 45 31 ff 49 81 fc 00 04 00 00 RSP: 0018:ffffc900020df420 EFLAGS: 00000046 RAX: 00000063916a2400 RBX: ffff8880b873f640 RCX: ffff888021adbc00 RDX: 0000000000000000 RSI: ffff8880b873ea40 RDI: 0000006391e043e0 RBP: 1ffff110170e7ec8 R08: ffffffff8135a8c1 R09: fffff5200041be80 R10: dffffc0000000000 R11: fffff5200041be80 R12: ffff8880b873ea40 R13: ffff8880b873ea40 R14: dffffc0000000000 R15: 0000006391e043e0 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cda5de8680 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_other_load_avgs+0x1b5/0x360 kernel/sched/pelt.c:485 __update_blocked_others kernel/sched/fair.c:9736 [inline] sched_balance_update_blocked_averages+0x210/0x14f0 kernel/sched/fair.c:9864 sched_balance_newidle+0x49a/0xfd0 kernel/sched/fair.c:12782 pick_next_task_fair+0x40/0xc90 kernel/sched/fair.c:8943 __pick_next_task+0xdd/0x400 kernel/sched/core.c:5968 __schedule+0x776/0x4bd0 kernel/sched/core.c:6644 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 toggle_allocation_gate+0x171/0x260 mm/kfence/core.c:851 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.353 msecs