INFO: task syz.3.1621:12152 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.1621 state:D stack:26584 pid:12152 tgid:12151 ppid:5809 task_flags:0x400140 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5325 [inline]
__schedule+0x1190/0x5de0 kernel/sched/core.c:6929
__schedule_loop kernel/sched/core.c:7011 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:7026
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083
__mutex_lock_common kernel/locking/mutex.c:676 [inline]
__mutex_lock+0x818/0x1060 kernel/locking/mutex.c:760
bdev_open+0x41a/0xe40 block/bdev.c:945
blkdev_open+0x34e/0x4f0 block/fops.c:701
do_dentry_open+0x982/0x1530 fs/open.c:965
vfs_open+0x82/0x3f0 fs/open.c:1097
do_open fs/namei.c:3975 [inline]
path_openat+0x1de4/0x2cb0 fs/namei.c:4134
do_filp_open+0x20b/0x470 fs/namei.c:4161
do_sys_openat2+0x11b/0x1d0 fs/open.c:1437
do_sys_open fs/open.c:1452 [inline]
__do_sys_openat fs/open.c:1468 [inline]
__se_sys_openat fs/open.c:1463 [inline]
__x64_sys_openat+0x174/0x210 fs/open.c:1463
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9c9998d810
RSP: 002b:00007f9c97bf5b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000062200 RCX: 00007f9c9998d810
RDX: 0000000000062200 RSI: 00007f9c97bf5c10 RDI: 00000000ffffff9c
RBP: 00007f9c97bf5c10 R08: 0000000000000000 R09: 002364626e2f7665
R10: 0000000000000000 R11: 0000000000000293 R12: cccccccccccccccd
R13: 00007f9c99be6038 R14: 00007f9c99be5fa0 R15: 00007ffeb3cc7838
Showing all locks held in the system:
3 locks held by kworker/0:0/9:
#0: ffff8880b843a398 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:646 [inline]
#0: ffff8880b843a398 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:631
#1: ffff8880b8424088 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:220 [inline]
#1: ffff8880b8424088 (psi_seq){-.-.}-{0:0}, at: __schedule+0x1861/0x5de0 kernel/sched/core.c:6923
#2: ffff8880b8425b18 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x127/0x1d0 kernel/time/timer.c:1004
1 lock held by khungtaskd/31:
#0: ffffffff8e3c4720 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e3c4720 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
#0: ffffffff8e3c4720 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6775
2 locks held by getty/5574:
#0: ffff88814ddc80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222
1 lock held by udevd/5808:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe40 block/bdev.c:945
5 locks held by kworker/1:2/10718:
#0: ffff888022e86948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3238
#1: ffffc9000c4e7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3239
#2: ffff888029419198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:914 [inline]
#2: ffff888029419198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1c0/0x4fe0 drivers/usb/core/hub.c:5898
#3: ffff88806a706198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:914 [inline]
#3: ffff88806a706198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1006
#4: ffff888032b14160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:914 [inline]
#4: ffff888032b14160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1006
1 lock held by syz.3.1621/12152:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe40 block/bdev.c:945
1 lock held by syz.7.1721/12563:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
2 locks held by kworker/u8:24/14315:
#0: ffff8880b843a398 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:646 [inline]
#0: ffff8880b843a398 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:631
#1: ffff8880b8524088 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:220 [inline]
#1: ffff8880b8524088 (psi_seq){-.-.}-{0:0}, at: __schedule+0x1861/0x5de0 kernel/sched/core.c:6923
1 lock held by syz.8.2171/14347:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
1 lock held by syz.8.2171/14349:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
1 lock held by syz.8.2171/14351:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
1 lock held by syz.8.2171/14355:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
1 lock held by syz.8.2171/14358:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
1 lock held by syz.8.2171/14364:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
1 lock held by syz.8.2171/14372:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
1 lock held by syz.8.2171/14374:
#0: ffff88802625f358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]
watchdog+0xf3f/0x1170 kernel/hung_task.c:495
kthread+0x3c5/0x780 kernel/kthread.c:463
ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 10718 Comm: kworker/1:2 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: usb_hub_wq hub_event
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3801 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3821 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3876 [inline]
RIP: 0010:__lock_acquire+0xbaa/0x1c90 kernel/locking/lockdep.c:5237
Code: 80 46 86 c8 61 e8 36 a7 ff ff 4c 8b 04 24 49 0f af d8 48 c1 eb 2d 48 8d 04 dd 60 ca e5 96 48 89 04 24 48 8b 04 dd 60 ca e5 96 <48> 8d 48 f8 48 85 c0 48 0f 45 c1 eb 04 48 83 e8 08 48 85 c0 74 16
RSP: 0018:ffffc90000a08b28 EFLAGS: 00000803
RAX: ffffffff93b29ba8 RBX: 0000000000072f29 RCX: 00000000fe0334a3
RDX: 458cd70f6c418202 RSI: 0000000038070f27 RDI: ffff888020fdd4a8
RBP: ffff888020fdc900 R08: 458cd70f6c418202 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888020fdd430
R13: ffff888020fdd4a8 R14: 00000000c9c6be9e R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888124b08000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f917ff8 CR3: 000000002a2ea000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000c0e
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5868 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5825
call_timer_fn+0x11d/0x620 kernel/time/timer.c:1744
expire_timers kernel/time/timer.c:1798 [inline]
__run_timers+0x6ef/0x960 kernel/time/timer.c:2372
__run_timer_base kernel/time/timer.c:2384 [inline]
__run_timer_base kernel/time/timer.c:2376 [inline]
run_timer_base+0x114/0x190 kernel/time/timer.c:2393
run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2403
handle_softirqs+0x219/0x8e0 kernel/softirq.c:622
__do_softirq kernel/softirq.c:656 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x109/0x170 kernel/softirq.c:723
irq_exit_rcu+0x9/0x30 kernel/softirq.c:739
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline]
sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2034 [inline]
RIP: 0010:vprintk_emit+0x526/0x680 kernel/printk/printk.c:2422
Code: 00 4d 85 ed 0f 85 19 01 00 00 e8 a5 1b 21 00 9c 5d 81 e5 00 02 00 00 31 ff 48 89 ee e8 03 17 21 00 48 85 ed 0f 85 25 01 00 00 85 1b 21 00 45 31 c9 41 b8 01 00 00 00 31 c9 48 8d 05 00 00 00
RSP: 0018:ffffc9000c4e7668 EFLAGS: 00000287
RAX: 00000000000288c3 RBX: 0000000000000029 RCX: ffffc9001cb21000
RDX: 0000000000100000 RSI: ffffffff819bf335 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff9200189cecf
R13: 0000000000000200 R14: ffff8880212e0000 R15: ffffc9000c4e7730
dev_vprintk_emit drivers/base/core.c:4914 [inline]
dev_printk_emit+0xfa/0x140 drivers/base/core.c:4925
__dev_printk+0xf5/0x270 drivers/base/core.c:4937
_dev_info+0xe4/0x120 drivers/base/core.c:4983
usb_disconnect+0xec/0x9c0 drivers/usb/core/hub.c:2326
hub_port_connect drivers/usb/core/hub.c:5406 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5706 [inline]
port_event drivers/usb/core/hub.c:5870 [inline]
hub_event+0x1c81/0x4fe0 drivers/usb/core/hub.c:5952
process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263
process_scheduled_works kernel/workqueue.c:3346 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427
kthread+0x3c5/0x780 kernel/kthread.c:463
ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245