INFO: task syz-executor377:3610 blocked for more than 143 seconds. Not tainted 6.0.0-syzkaller-06475-g4c86114194e6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor377 state:D stack:25984 pid: 3610 ppid: 3609 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5183 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6495 schedule+0xcb/0x190 kernel/sched/core.c:6571 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6630 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 blkdev_put+0x100/0x730 block/bdev.c:911 blkdev_close+0x55/0x80 block/fops.c:499 __fput+0x3ba/0x880 fs/file_table.c:320 task_work_run+0x146/0x1c0 kernel/task_work.c:177 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0x55e/0x20a0 kernel/exit.c:795 do_group_exit+0x23b/0x2f0 kernel/exit.c:925 get_signal+0x172f/0x1780 kernel/signal.c:2857 arch_do_signal_or_restart+0x8d/0x750 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:166 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9635b706c9 RSP: 002b:00007fff8f041bc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffe00 RBX: 0000000000000000 RCX: 00007f9635b706c9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006 RBP: 0000000000000000 R08: 00007fff8f041d68 R09: 00007fff8f041d68 R10: 000000000000ffff R11: 0000000000000246 R12: 00007f9635b2f750 R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cd1f1b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cd1f9b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/29: #0: ffffffff8cd1efe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3285: #0: ffff888027571098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 1 lock held by syz-executor377/3610: #0: ffff888147b5d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x730 block/bdev.c:911 1 lock held by udevd/3612: #0: ffff888147b5d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa40 block/bdev.c:813 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.0.0-syzkaller-06475-g4c86114194e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2424 Comm: kworker/u4:5 Not tainted 6.0.0-syzkaller-06475-g4c86114194e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:596 [inline] RIP: 0010:queued_spin_unlock arch/x86/include/asm/qspinlock.h:57 [inline] RIP: 0010:do_raw_spin_unlock+0x126/0x8a0 kernel/locking/spinlock_debug.c:141 Code: 06 ff ff ff ff 48 c7 c0 20 37 b9 8c 48 c1 e8 03 80 3c 28 00 74 0c 48 c7 c7 20 37 b9 8c e8 02 04 73 00 48 83 3d ca 56 4f 0b 00 <0f> 84 9b 05 00 00 4c 89 ff e8 9c d2 ff ff 90 48 83 c4 28 5b 41 5c RSP: 0018:ffffc900000077c0 EFLAGS: 00000086 RAX: 1ffffffff19726e4 RBX: 1ffffffff234a4c8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff91a52638 RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff234a4c8 R10: fffffbfff234a4c8 R11: 1ffffffff234a4c7 R12: 1ffffffff234a4c9 R13: ffffffff91a52648 R14: ffffffff91a52640 R15: ffffffff91a52638 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d306c95990 CR3: 000000000ca8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x7d/0x130 kernel/locking/spinlock.c:194 debug_object_activate+0x282/0x6a0 lib/debugobjects.c:686 debug_timer_activate kernel/time/timer.c:782 [inline] __mod_timer+0x855/0xd30 kernel/time/timer.c:1103 dsp_cmx_send+0x21bb/0x2240 drivers/isdn/mISDN/dsp_cmx.c:1850 call_timer_fn+0xf5/0x210 kernel/time/timer.c:1474 expire_timers kernel/time/timer.c:1519 [inline] __run_timers+0x76a/0x980 kernel/time/timer.c:1790 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1803 __do_softirq+0x277/0x75b kernel/softirq.c:571 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__text_poke+0x823/0x9d0 arch/x86/kernel/alternative.c:1193 Code: 03 dd aa 00 f6 84 24 21 01 00 00 02 48 8d 9c 24 60 01 00 00 0f 85 98 00 00 00 f7 44 24 58 00 02 00 00 74 01 fb 48 8b 44 24 70 <42> 80 3c 28 00 74 08 48 89 df e8 ce dc aa 00 48 8b bc 24 60 01 00 RSP: 0018:ffffc9000a0e77e0 EFLAGS: 00000206 RAX: 1ffff9200141cf28 RBX: ffffc9000a0e7940 RCX: ffffffff8168b11a RDX: dffffc0000000000 RSI: ffffffff8aad6140 RDI: ffffffff8b0a9660 RBP: ffffc9000a0e79b0 R08: dffffc0000000000 R09: fffffbfff1ff700b R10: fffffbfff1ff700b R11: 1ffffffff1ff700a R12: ffff8881400fb558 R13: dffffc0000000000 R14: ffffc9000a0e7900 R15: ffffffff81dbe460 text_poke arch/x86/kernel/alternative.c:1217 [inline] text_poke_bp_batch+0x64c/0x850 arch/x86/kernel/alternative.c:1566 text_poke_flush arch/x86/kernel/alternative.c:1670 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1677 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:811 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.972 msecs