INFO: task syz-executor209:5096 blocked for more than 143 seconds.
Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor209 state:D stack:26048 pid:5096 tgid:5095 ppid:5092 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5192 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
bdev_release+0x184/0x700 block/bdev.c:1080
blkdev_release+0x15/0x20 block/fops.c:623
__fput+0x406/0x8b0 fs/file_table.c:422
task_work_run+0x24f/0x310 kernel/task_work.c:180
ptrace_notify+0x2d2/0x380 kernel/signal.c:2402
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+0x273/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:0x7fb4e0e6b859
RSP: 002b:00007fb4e0e22218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007fb4e0ef33e8 RCX: 00007fb4e0e6b859
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007fb4e0ef33e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb4e0ef33ec
R13: 00007fb4e0ec01c4 R14: 64626e2f7665642f R15: 00000000ffffff00
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:327 [inline]
#0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:839 [inline]
#0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6689
BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30
caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324
debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694
check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline]
watchdog+0xf9a/0x1020 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
5 locks held by kworker/u8:4/61:
#0: ffff8880b953e7d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560
#1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
#2: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_change+0xfd/0x280 kernel/sched/psi.c:912
#3: ffffffff9499ffe8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x16d/0x510 lib/debugobjects.c:708
#4: ffffffff8e1e3468 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:145
BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30
caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324
debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694
check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline]
watchdog+0xf9a/0x1020 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
1 lock held by klogd/4535:
#0: ffff8880b953e7d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560
BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30
caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324
debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694
check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline]
watchdog+0xf9a/0x1020 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
2 locks held by getty/4848:
#0: ffff88802a6ed0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30
caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324
debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694
check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline]
watchdog+0xf9a/0x1020 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
1 lock held by udevd/5093:
#0: ffff88802038d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xe5/0xc60 block/bdev.c:897
BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30
caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324
debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694
check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline]
watchdog+0xf9a/0x1020 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
1 lock held by syz-executor209/5096:
#0: ffff88802038d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x184/0x700 block/bdev.c:1080
BUG: using smp_processor_id() in preemptible [00000000] code: khungtaskd/30
caller is nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
check_preemption_disabled+0x10e/0x120 lib/smp_processor_id.c:49
nbcon_get_cpu_emergency_nesting+0x15/0x90 kernel/printk/nbcon.c:959
nbcon_cpu_emergency_flush+0x11/0x190 kernel/printk/nbcon.c:1324
debug_show_all_locks+0x19c/0x2a0 kernel/locking/lockdep.c:6694
check_hung_uninterruptible_tasks kernel/hung_task.c:219 [inline]
watchdog+0xf9a/0x1020 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
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
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+0xfde/0x1020 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 PID: 61 Comm: kworker/u8:4 Not tainted 6.10.0-rc1-next-20240531-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:144 [inline]
RIP: 0010:cpumask_check include/linux/cpumask.h:151 [inline]
RIP: 0010:cpumask_any_but include/linux/cpumask.h:411 [inline]
RIP: 0010:flush_tlb_mm_range+0x272/0x5c0 arch/x86/mm/tlb.c:1026
Code: d8 48 c1 e8 03 48 be 00 00 00 00 00 fc ff df 0f b6 04 30 84 c0 0f 85 94 02 00 00 44 89 3b 48 8b 44 24 18 4c 8d a8 c0 08 00 00 <41> 83 fc 08 0f 83 1d 02 00 00 4c 89 e8 48 c1 e8 03 80 3c 30 00 74
RSP: 0018:ffffc900015c7660 EFLAGS: 00000046
RAX: ffff888015070000 RBX: ffff8880b953d6e0 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: dffffc0000000000 RDI: ffffffff8c200960
RBP: ffffc900015c7730 R08: ffff88801507061f R09: 1ffff11002a0e0c3
R10: dffffc0000000000 R11: ffffed1002a0e0c4 R12: 0000000000000001
R13: ffff8880150708c0 R14: ffff8880b953d6c0 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056449eb7e680 CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__text_poke+0x955/0xd30 arch/x86/kernel/alternative.c:1931
text_poke arch/x86/kernel/alternative.c:1968 [inline]
text_poke_bp_batch+0x8cd/0xb30 arch/x86/kernel/alternative.c:2357
text_poke_flush arch/x86/kernel/alternative.c:2470 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xce/0x1c0 kernel/jump_label.c:235
static_key_disable+0x1a/0x20 kernel/jump_label.c:243
toggle_allocation_gate+0x1b8/0x250 mm/kfence/core.c:831
process_one_work kernel/workqueue.c:3248 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329
worker_thread+0x86d/0xd50 kernel/workqueue.c:3409
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.270 msecs