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:22288 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:0x7fa9d89a66c5
RSP: 002b:00007ffdd7f4aea8 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fa9d8aa7fe8 RCX: 00007fa9d89a66c5
RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000001
RBP: 0000000000000001 R08: 00007ffdd7f4ae38 R09: 0000000000000000
R10: 00007ffdd7f4acd0 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fa9d8aa6680 R15: 00007fa9d8aa8000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c31ef60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3941:
#0: ffff88814cbbf1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: __tty_hangup+0xc0/0x670 drivers/tty/tty_io.c:599
#1: ffff88814cbbf098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:300 [inline]
#1: ffff88814cbbf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x68/0xb0 drivers/tty/tty_ldisc.c:324
3 locks held by kworker/u5:5/4196:
#0: ffff88802357d138 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc90002f9fd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2: ffff888055f353f0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open+0xa4/0x12a0 net/bluetooth/hci_core.c:1464
3 locks held by kworker/u4:15/5519:
1 lock held by syz-executor/7342:
2 locks held by syz.5.1095/9856:
#0: ffff88801f3871c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_release+0xa4/0x1630 drivers/tty/tty_io.c:1755
#1: ffff8880649262c8 (&port->mutex){+.+.}-{3:3}, at: tty_port_shutdown+0x30/0x210 drivers/tty/tty_port.c:317
1 lock held by rm/9922:
=============================================
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 07/24/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: 7393 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:kasan_check_range+0x1b0/0x290 mm/kasan/generic.c:-1
Code: f3 4d 01 f3 49 89 df 49 8d 5f 07 4d 85 ff 49 0f 49 df 48 83 e3 f8 49 29 df 74 0e 41 80 3b 00 75 69 49 ff c3 49 ff cf 75 f2 5b <41> 5c 41 5e 41 5f 5d c3 45 84 ff 0f 85 91 00 00 00 41 f7 c7 00 ff
RSP: 0018:ffffc900030bf978 EFLAGS: 00000256
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff815d6bd4
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8d8b1228
RBP: ffffc900030bfab0 R08: ffffffff8d8b122f R09: 1ffffffff1b16245
R10: dffffc0000000000 R11: fffffbfff1b16246 R12: dffffc0000000001
R13: dffffc0000000000 R14: 1ffffffff1b16245 R15: 0000000000000001
FS: 0000555559490500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33b09ff8 CR3: 0000000075e92000 CR4: 00000000003506e0
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
cpumask_test_cpu include/linux/cpumask.h:344 [inline]
cpu_online include/linux/cpumask.h:895 [inline]
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0xa4/0x8a0 kernel/locking/lockdep.c:5634
ioctl_setflags fs/ioctl.c:727 [inline]
do_vfs_ioctl+0x3b9/0x1f40 fs/ioctl.c:843
__do_sys_ioctl fs/ioctl.c:872 [inline]
__se_sys_ioctl+0x83/0x170 fs/ioctl.c:860
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:0x7f9089947deb
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007ffe287354d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000dbf RCX: 00007f9089947deb
RDX: 00007ffe28735548 RSI: 0000000040086602 RDI: 0000000000000007
RBP: 00007ffe287355e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe287366d0
R13: 00007f90899de48b R14: 00005555594904e8 R15: 0000000000000007