INFO: task khidpd_0458fff9:9652 blocked for more than 143 seconds.
Not tainted 6.12.0-rc5-syzkaller-01203-g720d33143276 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:khidpd_0458fff9 state:D
stack:28256 pid:9652 tgid:9652 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0x18af/0x4bd0 kernel/sched/core.c:6690
__schedule_loop kernel/sched/core.c:6767 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6782
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2591
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
__flush_work+0xa37/0xc50 kernel/workqueue.c:4217
__cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4337
hidp_session_remove+0x64/0x260 net/bluetooth/hidp/core.c:1169
l2cap_unregister_user+0x19c/0x1c0 net/bluetooth/l2cap_core.c:1732
hidp_session_thread+0x450/0x490 net/bluetooth/hidp/core.c:1304
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0:
ffffffff8e937da0
(
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by kworker/u8:8/3467:
#0:
ffff88801ac89148
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3204 [inline]
, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1:
ffffc9000c7ffd00
(
(reaper_work).work
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3205 [inline]
, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
2 locks held by getty/5601:
#0:
ffff8880357f80a0
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1:
ffffc900032132f0
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
8 locks held by kworker/0:6/5900:
2 locks held by kworker/u8:14/6737:
#0:
ffff88801ac89148
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3204 [inline]
, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1:
ffffc9000ef6fd00
(
connector_reaper_work
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3205 [inline]
, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
3 locks held by kworker/u8:27/6755:
#0:
ffff88801ac89148
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3204 [inline]
, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc9000ce47d00
(
(linkwatch_work).work
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3205 [inline]
, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2:
ffffffff8fcd4868
(
rtnl_mutex
){+.+.}-{3:3}
, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
2 locks held by khidpd_0458fff9/9652:
#0:
ffff88807ba2c078
(
&hdev->lock
){+.+.}-{3:3}
, at: l2cap_unregister_user+0x6a/0x1c0 net/bluetooth/l2cap_core.c:1726
#1:
ffffffff8fe6a290
(
hidp_session_sem
){++++}-{3:3}
, at: hidp_session_remove+0x2d/0x260 net/bluetooth/hidp/core.c:1165
1 lock held by syz.6.995/10236:
#0:
ffffffff8fe6a290
(
hidp_session_sem
){++++}-{3:3}
, at: hidp_session_find+0x1c/0x110 net/bluetooth/hidp/core.c:1026
2 locks held by syz-executor/11157:
#0:
ffffffff8fcd4868
(
rtnl_mutex
){+.+.}-{3:3}
, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
#1:
ffffffff8e93d338
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
1 lock held by syz.8.1278/11464:
#0:
ffffffff8fe6a290
(
hidp_session_sem
){++++}-{3:3}
, at: hidp_session_find+0x1c/0x110 net/bluetooth/hidp/core.c:1026
2 locks held by syz.2.1285/11494:
#0:
ffff8880618b8e08
(
&sb->s_type->i_mutex_key
#10
){+.+.}-{3:3}
, at: inode_lock include/linux/fs.h:815 [inline]
, at: __sock_release net/socket.c:657 [inline]
, at: sock_close+0x90/0x240 net/socket.c:1426
#1:
ffffffff8e93d338
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
6 locks held by syz.2.1285/11495:
#0:
ffffffff8fcc7d10
(
pernet_ops_rwsem
){++++}-{3:3}
, at: copy_net_ns+0x328/0x570 net/core/net_namespace.c:497
#1:
ffffffff8fa435d0
(
devices_rwsem
){++++}-{3:3}
, at: rdma_dev_init_net+0x198/0x280 drivers/infiniband/core/device.c:1185
#2:
ffffffff8fa43790
(
rdma_nets_rwsem
){++++}-{3:3}
, at: rdma_dev_init_net+0x1e6/0x280 drivers/infiniband/core/device.c:1190
#3:
ffff88806a244f38
(
&device->compat_devs_mutex
){+.+.}-{3:3}
, at: add_one_compat_dev+0x10d/0x710 drivers/infiniband/core/device.c:949
#4:
ffff88806a245230
(
&rxe->usdev_lock
){+.+.}-{3:3}
, at: rxe_query_port+0x61/0x260 drivers/infiniband/sw/rxe/rxe_verbs.c:54
#5:
ffffffff8fcd4868
(
rtnl_mutex
){+.+.}-{3:3}
, at: ib_get_eth_speed+0x153/0x800 drivers/infiniband/core/verbs.c:1995
1 lock held by syz.2.1285/11496:
#0:
ffffffff8fcd4868
(
rtnl_mutex
){+.+.}-{3:3}
, at: dev_ioctl+0x86e/0x1340 net/core/dev_ioctl.c:807
1 lock held by syz.2.1285/11511:
#0: ffffffff8fcd4868 (rtnl_mutex){+.+.}-{3:3}, at: xsk_bind+0x151/0xdc0 net/xdp/xsk.c:1171
1 lock held by syz.2.1285/11512:
#0: ffffffff8fcd4868 (rtnl_mutex
){+.+.}-{3:3}
, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6796
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc5-syzkaller-01203-g720d33143276 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5900 Comm: kworker/0:6 Not tainted 6.12.0-rc5-syzkaller-01203-g720d33143276 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events hidp_session_dev_work
RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:406
Code: 60 20 4a fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 01 df b3 fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 e9 80 e1 07 38 c1 7c
RSP: 0018:ffffc90004296c78 EFLAGS: 00000002
RAX: 1ffffffff34e4f00 RBX: ffffffff9a727ec0 RCX: 0000000000000000
RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020
RBP: 0000000000000000 R08: ffffffff854ab9b6 R09: 1ffff110049c0046
R10: dffffc0000000000 R11: ffffffff854ab970 R12: dffffc0000000000
R13: ffffffff9a422ef0 R14: 00000000000003fd R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f59c7467d60 CR3: 000000000e734000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial_in drivers/tty/serial/8250/8250.h:137 [inline]
serial_lsr_in drivers/tty/serial/8250/8250.h:159 [inline]
wait_for_lsr drivers/tty/serial/8250/8250_port.c:2068 [inline]
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline]
serial8250_console_write+0x1373/0x1ed0 drivers/tty/serial/8250/8250_port.c:3393
console_emit_next_record kernel/printk/printk.c:3092 [inline]
console_flush_all+0x869/0xeb0 kernel/printk/printk.c:3180
__console_flush_and_unlock kernel/printk/printk.c:3239 [inline]
console_unlock+0x14f/0x3b0 kernel/printk/printk.c:3279
vprintk_emit+0x730/0xa10 kernel/printk/printk.c:2407
dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4910
dev_printk_emit+0xdd/0x120 drivers/base/core.c:4921
_dev_warn+0x122/0x170 drivers/base/core.c:4977
hid_parser_main+0x71f/0xaa0 drivers/hid/hid-core.c:632
hid_open_report+0xafa/0x14a0 drivers/hid/hid-core.c:1276
hid_parse include/linux/hid.h:1120 [inline]
hid_generic_probe+0x3d/0x90 drivers/hid/hid-generic.c:63
__hid_device_probe drivers/hid/hid-core.c:2699 [inline]
hid_device_probe+0x26e/0x4f0 drivers/hid/hid-core.c:2736
really_probe+0x2b8/0xad0 drivers/base/dd.c:658
__driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800
driver_probe_device+0x50/0x430 drivers/base/dd.c:830
__device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958
bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:459
__device_attach+0x333/0x520 drivers/base/dd.c:1030
bus_probe_device+0x189/0x260 drivers/base/bus.c:534
device_add+0x856/0xbf0 drivers/base/core.c:3675
hid_add_device+0x3b6/0x520 drivers/hid/hid-core.c:2882
hidp_session_dev_add net/bluetooth/hidp/core.c:856 [inline]
hidp_session_dev_work+0x46/0x160 net/bluetooth/hidp/core.c:895
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244