INFO: task getty:3939 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: 3939 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:0x7fcab03756c5
RSP: 002b:00007ffcfa60a0c8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fcab0476fe8 RCX: 00007fcab03756c5
RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000001
RBP: 0000000000000001 R08: 00007ffcfa60a058 R09: 0000000000000000
R10: 00007ffcfa609ef0 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fcab0475680 R15: 00007fcab0477000
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
3 locks held by kworker/0:3/2302:
#0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc9000669fd00 (free_ipc_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:290 [inline]
#2: ffffffff8d123a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2d1/0x750 kernel/rcu/tree_exp.h:845
2 locks held by getty/3939:
#0:
ffff88802d07d1c0
(
&tty->legacy_mutex){+.+.}-{3:3}, at: __tty_hangup+0xc0/0x670 drivers/tty/tty_io.c:599
#1: ffff88802d07d098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:300 [inline]
#1: ffff88802d07d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x68/0xb0 drivers/tty/tty_ldisc.c:324
3 locks held by sshd-session/4171:
3 locks held by syz-executor/4187:
#0:
ffff888063d453f0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755
#1: ffff888063d44478 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x408/0x1020 net/bluetooth/hci_core.c:1800
#2:
ffffffff8e3946c8
(
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
4 locks held by syz-executor/4194:
#0:
ffff888063d4d3f0
(
&hdev->req_lock
){+.+.}-{3:3}
, at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755
#1:
ffff888063d4c478
(
&hdev->lock
){+.+.}-{3:3}
, at: hci_dev_do_close+0x408/0x1020 net/bluetooth/hci_core.c:1800
#2: ffffffff8e3946c8
(
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:
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
3 locks held by kworker/u5:4/4198:
#0:
ffff888077f68138
(
(wq_completion)hci5
){+.+.}-{0:0}
, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1:
ffffc90002f4fd00
(
(work_completion)(&hdev->power_on)
){+.+.}-{0:0}
, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2:
ffff8880543f93f0
(
&hdev->req_lock
){+.+.}-{3:3}
, at: hci_dev_do_open+0xa4/0x12a0 net/bluetooth/hci_core.c:1464
8 locks held by kworker/u4:6/4309:
1 lock held by dhcpcd/6780:
#0:
ffff8880746b8210
(
&sb->s_type->i_mutex_key
#11
){+.+.}-{3:3}
, at: inode_lock include/linux/fs.h:793 [inline]
, at: __sock_release net/socket.c:650 [inline]
, at: sock_close+0x82/0x210 net/socket.c:1346
2 locks held by syz-executor/7149:
#0:
ffff888021132118
(&disk->open_mutex
){+.+.}-{3:3}
, at: blkdev_put+0xf1/0x780 block/bdev.c:911
#1: ffff88814789c468
(
&lo->lo_mutex
){+.+.}-{3:3}
, at: __loop_clr_fd+0xa9/0xb50 drivers/block/loop.c:1366
3 locks held by syz-executor/7744:
#0:
ffff8880675093f0
(
&hdev->req_lock
){+.+.}-{3:3}
, at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755
#1:
ffff888067508478
(
&hdev->lock
){+.+.}-{3:3}
, at: hci_dev_do_close+0x408/0x1020 net/bluetooth/hci_core.c:1800
#2:
ffffffff8e3946c8
(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
7 locks held by syz.4.811/7965:
#0:
ffff88802d0905f0
(
&f->f_pos_lock
){+.+.}-{3:3}
, at: __fdget_pos+0x2bf/0x370 fs/file.c:1056
#1:
ffff88805d3ea460
(
sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x296/0xd70 fs/read_write.c:590
#2: ffff8880609a9c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1dc/0x500 fs/kernfs/file.c:287
#3: ffff8881417c7178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:809 [inline]
#3: ffff8881417c7178 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1064 [inline]
#3: ffff8881417c7178 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa1/0x710 drivers/base/dd.c:1279
#4: ffffffff8d80bdc8 (serial_mutex){+.+.}-{3:3}, at: serial8250_unregister_port+0x49/0x240 drivers/tty/serial/8250/8250_core.c:1143
#5: ffffffff8d8090a8 (port_mutex){+.+.}-{3:3}, at: uart_remove_one_port+0xda/0x820 drivers/tty/serial/serial_core.c:3042
#6: ffff88802d07d1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: __tty_hangup+0xc0/0x670 drivers/tty/tty_io.c:599
1 lock held by dhcpcd-run-hook/8405:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7517 Comm: kworker/u4:8 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Workqueue: bat_events batadv_nc_worker
RIP: 0010:find_held_lock kernel/locking/lockdep.c:5227 [inline]
RIP: 0010:__lock_release kernel/locking/lockdep.c:5414 [inline]
RIP: 0010:lock_release+0x1f4/0x8a0 kernel/locking/lockdep.c:5757
Code: 44 8d 79 ff 48 8d 9f f0 0a 00 00 4d 63 f7 48 89 4c 24 28 83 f9 32 0f 83 dd 04 00 00 4b 8d 04 b6 4c 8d 24 c3 48 89 c3 4c 89 e7 <48> 8b 74 24 08 e8 f2 a8 64 08 44 89 7c 24 3c 44 89 fa 85 c0 0f 84
RSP: 0018:ffffc90000007ba0 EFLAGS: 00000087
RAX: 000000000000000f RBX: 000000000000000f RCX: 0000000000000004
RDX: 0000000000000000 RSI: ffffffff8a2b39e0 RDI: ffff88805e162928
RBP: ffffc90000007cb8 R08: ffffffff8e6b282f R09: 1ffffffff1cd6505
R10: dffffc0000000000 R11: fffffbfff1cd6506 R12: ffff88805e162928
R13: dffffc0000000000 R14: 0000000000000003 R15: 0000000000000003
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c0cc697660 CR3: 000000007d846000 CR4: 00000000003506f0
Call Trace:
__raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline]
_raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186
raw_spin_rq_unlock kernel/sched/core.c:519 [inline]
rq_unlock kernel/sched/sched.h:1654 [inline]
ttwu_queue kernel/sched/core.c:3843 [inline]
try_to_wake_up+0x657/0x1020 kernel/sched/core.c:4165
hrtimer_wakeup+0x4a/0x60 kernel/time/hrtimer.c:1921
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x4ea/0xb60 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x397/0x8b0 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:should_resched arch/x86/include/asm/preempt.h:103 [inline]
RIP: 0010:__local_bh_enable_ip+0x13e/0x1c0 kernel/softirq.c:408
Code: 8a e8 16 f1 78 08 65 66 8b 05 ae 61 ba 7e 66 85 c0 75 54 bf 01 00 00 00 e8 df 21 09 00 e8 ca 17 36 00 fb 65 8b 05 5a 38 b9 7e <85> c0 75 05 e8 99 45 b7 ff 48 c7 04 24 0e 36 e0 45 4b c7 04 37 00
RSP: 0018:ffffc900034b7ac0 EFLAGS: 00000282
RAX: 0000000080000000 RBX: 0000000000000201 RCX: c1b70ec0ae964800
RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a4c00
RBP: ffffc900034b7b40 R08: ffffffff910151b7 R09: 1ffffffff2202a36
R10: dffffc0000000000 R11: fffffbfff2202a37 R12: ffffffff8996dcc5
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000696f58
spin_unlock_bh include/linux/spinlock.h:409 [inline]
batadv_nc_purge_paths+0x305/0x3a0 net/batman-adv/network-coding.c:475
batadv_nc_worker+0x2e1/0x5c0 net/batman-adv/network-coding.c:724
process_one_work+0x867/0xff0 kernel/workqueue.c:2310
worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287