INFO: task getty:3941 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:getty state:D
stack:22256 pid: 3941 ppid: 1 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11c3/0x4350 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_timeout+0xbd/0x2d0 kernel/time/timer.c:2093
do_wait_for_common+0x295/0x460 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x48/0x60 kernel/sched/completion.c:138
__flush_work+0x15a/0x210 kernel/workqueue.c:3094
__cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3181
hci_unregister_dev+0x163/0x590 net/bluetooth/hci_core.c:4061
hci_uart_tty_close+0x268/0x330 drivers/bluetooth/hci_ldisc.c:575
tty_ldisc_reinit+0xe4/0x460 drivers/tty/tty_ldisc.c:679
tty_ldisc_hangup+0x360/0x4a0 drivers/tty/tty_ldisc.c:745
__tty_hangup+0x44e/0x670 drivers/tty/tty_io.c:639
disassociate_ctty+0x38d/0x860 drivers/tty/tty_jobctrl.c:275
do_exit+0x5f9/0x2110 kernel/exit.c:888
do_group_exit+0x12c/0x2f0 kernel/exit.c:1004
__do_sys_exit_group kernel/exit.c:1015 [inline]
__se_sys_exit_group kernel/exit.c:1013 [inline]
__x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1013
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f2faf1c06c5
RSP: 002b:00007ffe0882a778 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f2faf2c1fe8 RCX: 00007f2faf1c06c5
RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000001
RBP: 0000000000000001 R08: 00007ffe0882a708 R09: 0000000000000000
R10: 00007ffe0882a5a0 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f2faf2c0680 R15: 00007f2faf2c2000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0:
ffffffff8d11efa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
4 locks held by kworker/u4:4/1282:
#0: ffff888017879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1:
ffffc90004c7fd00
(
(linkwatch_work).work
){+.+.}-{0:0}
, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2:
ffffffff8e26bd48
(
rtnl_mutex
){+.+.}-{3:3}
, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251
#3:
ffffffff8d123a28
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
, at: synchronize_rcu_expedited+0x3a5/0x750 kernel/rcu/tree_exp.h:845
1 lock held by syslogd/3543:
#0:
ffff88802ca231c0
(
&tty->legacy_mutex
){+.+.}-{3:3}
, at: tty_lock_interruptible+0xa0/0x130 drivers/tty/tty_mutex.c:31
2 locks held by getty/3941:
#0:
ffff88802ca231c0
(
&tty->legacy_mutex
){+.+.}-{3:3}
, at: __tty_hangup+0xc0/0x670 drivers/tty/tty_io.c:599
#1:
ffff88802ca23098
(
&tty->ldisc_sem
){++++}-{0:0}
, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:300 [inline]
, at: tty_ldisc_lock+0x68/0xb0 drivers/tty/tty_ldisc.c:324
3 locks held by sshd-session/4173:
3 locks held by kworker/u5:4/4203:
#0: ffff88807e560938 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc9000300fd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2:
ffff8880254c13f0
(
&hdev->req_lock
){+.+.}-{3:3}
, at: hci_dev_do_open+0xa4/0x12a0 net/bluetooth/hci_core.c:1464
3 locks held by kworker/0:6/4267:
#0:
ffff888017870938
(
(wq_completion)events
){+.+.}-{0:0}
, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1:
ffffc900030cfd00
(
(work_completion)(&map->work)
){+.+.}-{0:0}
, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2:
ffffffff8d123a28
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
, at: synchronize_rcu_expedited+0x3a5/0x750 kernel/rcu/tree_exp.h:845
4 locks held by kworker/u4:5/4282:
#0:
ffff8880179cd938
(
(wq_completion)netns
){+.+.}-{0:0}
, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1:
ffffc900031dfd00
(
net_cleanup_work
){+.+.}-{0:0}
, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2:
ffffffff8e25fe10
(
pernet_ops_rwsem
){++++}-{3:3}
, at: cleanup_net+0x148/0xba0 net/core/net_namespace.c:589
#3:
ffffffff8e26bd48
(
rtnl_mutex
){+.+.}-{3:3}
, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1279
8 locks held by kworker/u4:6/4513:
3 locks held by syz-executor/4836:
#0:
ffff88805c5fd3f0
(
&hdev->req_lock
){+.+.}-{3:3}
, at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755
#1:
ffff88805c5fc478
(
&hdev->lock
){+.+.}-{3:3}
, at: hci_dev_do_close+0x408/0x1020 net/bluetooth/hci_core.c:1800
#2: ffffffff8e3b2e48 (hci_cb_list_lock){+.+.}-{3:3}
, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1519 [inline]
, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622
3 locks held by syz-executor/5204:
#0: ffff8880592693f0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755
#1: ffff888059268478 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x408/0x1020 net/bluetooth/hci_core.c:1800
#2: ffffffff8e3b2e48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1519 [inline]
#2: ffffffff8e3b2e48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622
2 locks held by kworker/1:17/5858:
#0: ffff888017872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc900034cfd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
2 locks held by kworker/1:35/6136:
#0: ffff888017870938 (
(wq_completion)events
){+.+.}-{0:0}
, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1:
ffffc900041efd00
(
xfrm_state_gc_work
){+.+.}-{0:0}
, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
2 locks held by kworker/1:36/6137:
#0:
ffff888017870938
(
(wq_completion)events){+.+.}-{0:0}
, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1:
ffffc900041ffd00 (
free_ipc_work
){+.+.}-{0:0}
, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
2 locks held by kworker/0:22/7646:
3 locks held by syz.8.976/8705:
#0:
ffff88802d6d13f0
(
&hdev->req_lock
){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755
#1: ffff88802d6d0478 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x408/0x1020 net/bluetooth/hci_core.c:1800
#2: ffffffff8e3b2e48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1519 [inline]
#2: ffffffff8e3b2e48 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622
6 locks held by syz-executor/8923:
#0: ffff88802e250460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x296/0xd70 fs/read_write.c:590
#1: ffff88805fa75c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1dc/0x500 fs/kernfs/file.c:287
#2: ffff888023c49660 (kn->active#285){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1fd/0x500 fs/kernfs/file.c:288
#3: ffffffff8dba3528 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x14c/0x770 drivers/net/netdevsim/bus.c:295
#4: ffff8880762e7178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:809 [inline]
#4: ffff8880762e7178 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x480 drivers/base/dd.c:974
#5: ffffffff8e26bd48 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x84/0x240 net/ipv4/nexthop.c:3620
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/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+0xe1b/0xe60 kernel/hung_task.c:369
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8923 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:format_decode+0x9/0x1330 lib/vsprintf.c:2519
Code: 0f 8c 6d ff ff ff 4c 89 e7 e8 73 ff b1 fd e9 60 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 41 57 41 56 41 55 41 54 <53> 48 83 ec 48 49 89 f6 49 89 fc 65 48 8b 04 25 28 00 00 00 48 89
RSP: 0018:ffffc90003f16ee0 EFLAGS: 00000a02
RAX: 1ffff920007e2e00 RBX: 0000000000000025 RCX: 1ffff920007e2e01
RDX: 1ffff920007e2e02 RSI: ffffc90003f16f58 RDI: ffffffff8a2be2a0
RBP: 000000000000000c R08: ffffc90003f17017 R09: ffffc90003f17000
R10: dffffc0000000000 R11: fffff520007e2e03 R12: ffffc90003f170ec
R13: ffffc90003f170e0 R14: ffffc90003f170e0 R15: ffffffff8a2be2a0
FS: 0000555577f8c500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb234e1ade0 CR3: 0000000061bc6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vsnprintf+0xef/0x1c20 lib/vsprintf.c:2763
snprintf+0xe5/0x140 lib/vsprintf.c:2944
print_caller kernel/printk/printk.c:1283 [inline]
info_print_prefix+0x1fa/0x360 kernel/printk/printk.c:1302
record_print_text kernel/printk/printk.c:1349 [inline]
console_unlock+0x650/0x10f0 kernel/printk/printk.c:2725
vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
_printk+0xda/0x130 kernel/printk/printk.c:2299
__dynamic_pr_debug+0x196/0x240 lib/dynamic_debug.c:619
start_creating+0x90/0x310 fs/debugfs/inode.c:330
__debugfs_create_file+0x6f/0x500 fs/debugfs/inode.c:399
nsim_bpf_dev_init+0x1b2/0x240 drivers/net/netdevsim/bpf.c:604
nsim_dev_probe+0x6f0/0x9d0 drivers/net/netdevsim/dev.c:1505
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x276/0xc70 drivers/base/dd.c:595
__driver_probe_device+0x1f5/0x390 drivers/base/dd.c:775
driver_probe_device+0x4f/0x420 drivers/base/dd.c:805
__device_attach_driver+0x2b0/0x500 drivers/base/dd.c:927
bus_for_each_drv+0x184/0x210 drivers/base/bus.c:429
__device_attach+0x2a7/0x480 drivers/base/dd.c:999
bus_probe_device+0xba/0x1d0 drivers/base/bus.c:489
device_add+0xbcf/0x1050 drivers/base/core.c:3427
nsim_bus_dev_new drivers/net/netdevsim/bus.c:435 [inline]
new_device_store+0x3e3/0x770 drivers/net/netdevsim/bus.c:302
kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296
call_write_iter include/linux/fs.h:2179 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x748/0xd70 fs/read_write.c:594
ksys_write+0x153/0x260 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fcb92212d8e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fff2a088908 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000555577f8c500 RCX: 00007fcb92212d8e
RDX: 0000000000000003 RSI: 00007fff2a088990 RDI: 0000000000000005
RBP: 00007fcb922ea408 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00007fff2a088990 R14: 00007fff2a0891d0 R15: 0000000000000003