INFO: task syz-executor.0:5266 blocked for more than 143 seconds. Not tainted 6.8.0-rc4-syzkaller-g8d3dea210042 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27384 pid:5266 tgid:5265 ppid:5146 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a3/0xd70 kernel/locking/mutex.c:752 bdev_release+0x114/0x910 block/bdev.c:969 blkdev_release+0x3b/0x50 block/fops.c:631 __fput+0x42b/0x8a0 fs/file_table.c:376 task_work_run+0x250/0x310 kernel/task_work.c:180 get_signal+0x1672/0x1850 kernel/signal.c:2669 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0xc8/0x370 kernel/entry/common.c:212 do_syscall_64+0x108/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x4551e9 RSP: 002b:00007f68c267a0d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 000000000054cf00 RCX: 00000000004551e9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00000000004a06fd R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000049f8fd R13: 000000000000000b R14: 000000000054cf00 R15: 00007ffc1f2a4678 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4819: #0: ffff88802b26e0a0 (&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+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by udevd/5139: #0: ffff8880202e74c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x8a0 block/bdev.c:859 1 lock held by syz-executor.0/5266: #0: ffff8880202e74c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x114/0x910 block/bdev.c:969 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc4-syzkaller-g8d3dea210042 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 49 Comm: kworker/u4:3 Not tainted 6.8.0-rc4-syzkaller-g8d3dea210042 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:validate_chain+0x5b9/0x58e0 kernel/locking/lockdep.c:3881 Code: 13 0e 00 48 8b 8c 24 b8 00 00 00 0f 84 1c 3f 00 00 b8 01 00 00 00 48 c7 84 24 00 01 00 00 0e 36 e0 45 49 c7 04 0c 00 00 00 00 <49> c7 44 0c 09 00 00 00 00 49 c7 44 0c 11 00 00 00 00 49 c7 44 0c RSP: 0018:ffffc90000b9f060 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000020021 RCX: 1ffff92000173e2c RDX: 0000000000000000 RSI: ffff88801beae4c8 RDI: ffff88801bead940 RBP: ffffc90000b9f360 R08: ffffffff92c8a427 R09: 1ffffffff2591484 R10: dffffc0000000000 R11: fffffbfff2591485 R12: dffffc0000000000 R13: ffff88801beae4e8 R14: c92e0ee2125f738a R15: ffff88801bead940 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056322238b680 CR3: 000000000df32000 CR4: 0000000000350ef0 Call Trace: __lock_acquire+0x1345/0x1fd0 kernel/locking/lockdep.c:5137 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] __pte_offset_map+0x9e/0x380 mm/pgtable-generic.c:285 __pte_offset_map_lock+0xc7/0x300 mm/pgtable-generic.c:369 get_locked_pte include/linux/mm.h:2683 [inline] __text_poke+0x2c5/0xd30 arch/x86/kernel/alternative.c:1901 text_poke arch/x86/kernel/alternative.c:1986 [inline] text_poke_bp_batch+0x8cd/0xb30 arch/x86/kernel/alternative.c:2375 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2495 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x915/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242