INFO: task syz-executor.0:6159 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28376 pid:6159 tgid:6158 ppid:6130 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:1087 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 get_signal+0x1d3/0x26c0 kernel/signal.c:2789 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/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:0x4546c9 RSP: 002b:00007fe33cd1f0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 00000000004546c9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 0000000000000409 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004e3e00 R13: 00007fe33cd1f674 R14: 000000000054bf00 R15: 00000000004f4040 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e1bba80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bba80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bba80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by getty/5586: #0: ffff88814d2c50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fc62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by udevd/6131: #0: ffff8881437c14c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz-executor.0/6159: #0: ffff8881437c14c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 46 Comm: kworker/1:1 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_power_efficient wg_ratelimiter_gc_entries RIP: 0010:get_lock_parent_ip include/linux/ftrace.h:999 [inline] RIP: 0010:preempt_latency_start kernel/sched/core.c:5829 [inline] RIP: 0010:preempt_latency_start kernel/sched/core.c:5826 [inline] RIP: 0010:preempt_count_add+0x76/0x150 kernel/sched/core.c:5854 Code: a6 7e 3c f4 77 6b 65 8b 05 3f ad a6 7e 25 ff ff ff 7f 39 c3 74 07 5b 5d c3 cc cc cc cc 48 8b 5c 24 10 48 89 df e8 1a 97 0e 00 <85> c0 75 38 65 48 8b 2d 0e ad a6 7e 48 8d bd c8 14 00 00 48 b8 00 RSP: 0018:ffffc90000b67c48 EFLAGS: 00000283 RAX: 0000000000000001 RBX: ffffffff8b2769c2 RCX: 1ffffffff3508914 RDX: 0000000000000000 RSI: ffffffff8621665a RDI: ffffffff8b2769c2 RBP: 0000000000002000 R08: 0000000000000004 R09: 0000000000002000 R10: 0000000000001480 R11: 0000000000000002 R12: 000000000003d90c R13: ffffffff8f26a1c0 R14: 00000042c73448c8 R15: 0000000000001480 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005565bb85d680 CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock+0x12/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] wg_ratelimiter_gc_entries+0xc6/0x520 drivers/net/wireguard/ratelimiter.c:63 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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