INFO: task syz-executor.0:5510 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-syzkaller-gce9ecca0238b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25400 pid:5510 ppid:5387 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x19b9/0x4b10 kernel/sched/core.c:6695 schedule+0xbf/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x69f/0xd60 kernel/locking/mutex.c:747 blkdev_put+0xfb/0x770 block/bdev.c:884 blkdev_release+0x82/0x90 block/fops.c:604 __fput+0x3f8/0x910 fs/file_table.c:384 task_work_run+0x246/0x300 kernel/task_work.c:179 get_signal+0x166a/0x1840 kernel/signal.c:2668 arch_do_signal_or_restart+0x92/0x800 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe62a87cae9 RSP: 002b:00007fe62b6840c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fe62a99bf80 RCX: 00007fe62a87cae9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fe62a8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe62a99bf80 R15: 00007ffcc6d4df38 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d32a960 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32a960 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32a960 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6613 2 locks held by getty/4786: #0: ffff88814b2320a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1db0 drivers/tty/n_tty.c:2206 1 lock held by udevd/5382: #0: ffff8881417684c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x133/0x620 block/bdev.c:786 1 lock held by syz-executor.0/5510: #0: ffff8881417684c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x770 block/bdev.c:884 1 lock held by syz-executor.0/5765: #0: ffff8881417684c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x133/0x620 block/bdev.c:786 1 lock held by syz-executor.0/5781: #0: ffff8881417684c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x133/0x620 block/bdev.c:786 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller-gce9ecca0238b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x494/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x194/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfa1/0xfe0 kernel/hung_task.c:379 kthread+0x2cf/0x360 kernel/kthread.c:388 ret_from_fork+0x44/0x70 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 142 Comm: kworker/u4:6 Not tainted 6.6.0-rc2-syzkaller-gce9ecca0238b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline] RIP: 0010:wrmsrl arch/x86/include/asm/msr.h:262 [inline] RIP: 0010:native_x2apic_icr_write arch/x86/include/asm/apic.h:216 [inline] RIP: 0010:__x2apic_send_IPI_dest arch/x86/kernel/apic/x2apic_phys.c:113 [inline] RIP: 0010:x2apic_send_IPI+0x77/0xd0 arch/x86/kernel/apic/x2apic_phys.c:50 Code: 48 c1 e8 03 42 0f b6 04 38 84 c0 75 26 0f b7 13 0f ae f0 0f ae e8 41 83 fe 02 b8 00 04 00 00 41 0f 45 c6 b9 30 08 00 00 0f 30 <66> 90 5b 41 5e 41 5f 5d c3 89 d9 80 e1 07 fe c1 38 c1 7c cf 48 89 RSP: 0018:ffffc90002cef6f8 EFLAGS: 00000206 RAX: 00000000000000fb RBX: ffff8880b99219c8 RCX: 0000000000000830 RDX: 0000000000000001 RSI: 00000000000000fb RDI: 0000000000000001 RBP: ffffffff8cdf2908 R08: ffffffff8181f187 R09: 1ffffffff1d356d5 R10: dffffc0000000000 R11: fffffbfff1d356d6 R12: dffffc0000000000 R13: ffff8880b983c440 R14: 00000000000000fb R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a611c0a680 CR3: 000000000d12f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:103 [inline] send_call_function_single_ipi kernel/smp.c:117 [inline] smp_call_function_many_cond+0x13f2/0x2880 kernel/smp.c:826 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1998 [inline] text_poke_bp_batch+0x71e/0xb20 arch/x86/kernel/alternative.c:2270 text_poke_flush arch/x86/kernel/alternative.c:2399 [inline] text_poke_finish+0x2c/0x40 arch/x86/kernel/alternative.c:2406 arch_jump_label_transform_apply+0x18/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:205 static_key_enable+0x16/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb1/0x250 mm/kfence/core.c:830 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90b/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5b/0xff0 kernel/workqueue.c:2784 kthread+0x2cf/0x360 kernel/kthread.c:388 ret_from_fork+0x44/0x70 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304