INFO: task syz.1.187:4320 blocked for more than 143 seconds.
Not tainted 6.1.99-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.187 state:D stack:26752 pid:4320 ppid:3553 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5245 [inline]
__schedule+0x142d/0x4550 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
blkdev_put+0x100/0x750 block/bdev.c:913
blkdev_close+0x56/0x80 block/fops.c:514
__fput+0x3f6/0x8d0 fs/file_table.c:320
task_work_run+0x246/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f58ebf75a19
RSP: 002b:00007f58ecd5a048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f58ec103f60 RCX: 00007f58ebf75a19
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007f58ebfe4e49 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f58ec103f60 R15: 00007ffe3d6803f8
INFO: task syz.1.187:4321 blocked for more than 144 seconds.
Not tainted 6.1.99-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.187 state:D stack:27560 pid:4321 ppid:3553 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5245 [inline]
__schedule+0x142d/0x4550 kernel/sched/core.c:6558
schedule+0xbf/0x180 kernel/sched/core.c:6634
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815
blkdev_open+0x12e/0x2e0 block/fops.c:500
do_dentry_open+0x7f9/0x10f0 fs/open.c:882
do_open fs/namei.c:3628 [inline]
path_openat+0x2644/0x2e60 fs/namei.c:3785
do_filp_open+0x230/0x480 fs/namei.c:3812
do_sys_openat2+0x13b/0x4f0 fs/open.c:1318
do_sys_open fs/open.c:1334 [inline]
__do_sys_openat fs/open.c:1350 [inline]
__se_sys_openat fs/open.c:1345 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1345
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f58ebf74450
RSP: 002b:00007f58ecd38b80 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f58ebf74450
RDX: 0000000000000000 RSI: 00007f58ecd38c20 RDI: 00000000ffffff9c
RBP: 00007f58ecd38c20 R08: 0000000000000000 R09: 002364626e2f7665
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
R13: 000000000000006e R14: 00007f58ec104038 R15: 00007ffe3d6803f8
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d12aed0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d12b6d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
3 locks held by kworker/0:1/14:
#0: ffff888012470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90000137d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e299c28 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263
3 locks held by kworker/1:1/26:
#0: ffff888012470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90000a1fd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e299c28 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104
1 lock held by khungtaskd/28:
#0: ffffffff8d12ad00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8d12ad00 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8d12ad00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494
2 locks held by getty/3304:
#0: ffff88814baaf098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198
1 lock held by udevd/3544:
#0: ffff88801f5d54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815
3 locks held by kworker/u5:5/3565:
#0: ffff888077991938 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc9000411fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffff88807d6790b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1dc/0x400 net/bluetooth/hci_sync.c:308
1 lock held by udevd/3568:
#0: ffff88801f6744c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815
2 locks held by kworker/0:11/3977:
#0: ffff888012472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc90005da7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
3 locks held by kworker/u4:8/4055:
1 lock held by syz.1.187/4320:
#0: ffff88801f5d54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x750 block/bdev.c:913
1 lock held by syz.1.187/4321:
#0: ffff88801f5d54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815
1 lock held by syz.0.240/4566:
#0: ffff88801f4ff4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x750 block/bdev.c:913
1 lock held by syz.3.275/4771:
#0: ffff88801f6744c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x100/0x750 block/bdev.c:913
1 lock held by syz.3.275/4773:
#0: ffff88801f6744c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815
1 lock held by syz.0.326/4935:
#0: ffff88801f4ff4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815
1 lock held by syz.0.326/4940:
#0: ffff88801f4ff4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa10 block/bdev.c:815
4 locks held by kworker/u4:20/5992:
5 locks held by kworker/u4:22/5996:
#0: ffff888012616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc900032f7d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2: ffffffff8e28d8d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:566
#3: ffffffff8e299c28 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe5/0x9d0 net/core/dev.c:11381
#4: ffffffff8d1302f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
#4: ffffffff8d1302f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962
1 lock held by syz-executor/6756:
#0: ffffffff8e299c28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline]
#0: ffffffff8e299c28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7c1/0xff0 net/core/rtnetlink.c:6118
1 lock held by syz.0.901/6879:
#0: ffffffff8e299c28 (rtnl_mutex){+.+.}-{3:3}, at: bpf_xdp_link_attach+0xdb/0x460 net/core/dev.c:9468
1 lock held by syz.0.901/6880:
#0: ffffffff8e299c28 (rtnl_mutex){+.+.}-{3:3}, at: dev_ioctl+0x4f5/0xf70 net/core/dev_ioctl.c:587
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.99-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3565 Comm: kworker/u5:5 Not tainted 6.1.99-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: hci1 hci_cmd_timeout
RIP: 0010:hlock_class kernel/locking/lockdep.c:240 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4748 [inline]
RIP: 0010:__lock_acquire+0x796/0x1f80 kernel/locking/lockdep.c:4999
Code: 00 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 20 c2 49 90 be 08 00 00 00 e8 64 a4 77 00 48 0f a3 1d dc 4a df 0e 73 1b <48> 8d 04 5b 48 c1 e0 06 48 8d 98 20 21 19 90 48 ba 00 00 00 00 00
RSP: 0018:ffffc900001e0980 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000abf RCX: ffffffff816a773c
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9049c370
RBP: ffff88807a3346d0 R08: dffffc0000000000 R09: fffffbfff209386f
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002
R13: ffff88807a3346d0 R14: 0000000000000002 R15: 1ffff1100f466802
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002002f000 CR3: 0000000050fe0000 CR4: 00000000003506e0
Call Trace:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
rcu_read_lock include/linux/rcupdate.h:791 [inline]
__lock_task_sighand+0x45/0x2d0 kernel/signal.c:1393
lock_task_sighand include/linux/sched/signal.h:745 [inline]
send_sigqueue+0x1de/0x720 kernel/signal.c:1978
posix_timer_event kernel/time/posix-timers.c:354 [inline]
posix_timer_fn+0x186/0x390 kernel/time/posix-timers.c:380
__run_hrtimer kernel/time/hrtimer.c:1686 [inline]
__hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
__sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1948 [inline]
RIP: 0010:vprintk_emit+0x4fa/0x740 kernel/printk/printk.c:2302
Code: 21 e3 0f 85 ad 01 00 00 e8 63 98 1c 00 44 8b 24 24 4d 85 ff 75 07 e8 55 98 1c 00 eb 06 e8 4e 98 1c 00 fb 48 c7 c7 00 6f 00 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 41 56 e8 ad
RSP: 0018:ffffc9000411f900 EFLAGS: 00000293
RAX: ffffffff816dfe02 RBX: 0000000000000000 RCX: ffff88807a333b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d006f00
RBP: ffffc9000411f9f0 R08: ffffffff816dfddf R09: fffffbfff2093860
R10: 0000000000000000 R11: dffffc0000000001 R12: 000000000000002a
R13: dffffc0000000000 R14: ffffffff816dfc50 R15: 0000000000000200
_printk+0xd1/0x111 kernel/printk/printk.c:2328
bt_err+0x123/0x170 net/bluetooth/lib.c:251
hci_cmd_timeout+0xd9/0x1e0 net/bluetooth/hci_core.c:1497
process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308