INFO: task syz.3.657:8742 blocked for more than 143 seconds.
Not tainted 6.15.0-rc3-syzkaller-00091-g087a9eb9e597 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.657 state:D stack:25656 pid:8742 tgid:8741 ppid:5846 task_flags:0x400140 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
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+0x2bf/0x5d0 kernel/sched/completion.c:148
__flush_work+0x9b9/0xbc0 kernel/workqueue.c:4244
__cancel_work_sync+0xbe/0x110 kernel/workqueue.c:4364
hidp_session_remove+0x62/0x260 net/bluetooth/hidp/core.c:1169
l2cap_unregister_user+0x18b/0x1b0 net/bluetooth/l2cap_core.c:1733
hidp_connection_del+0xb0/0x170 net/bluetooth/hidp/core.c:1409
do_hidp_sock_ioctl net/bluetooth/hidp/sock.c:97 [inline]
hidp_sock_ioctl+0x317/0x560 net/bluetooth/hidp/sock.c:128
sock_do_ioctl+0xd9/0x300 net/socket.c:1190
sock_ioctl+0x576/0x790 net/socket.c:1311
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0xf9/0x170 fs/ioctl.c:892
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff90af8e969
RSP: 002b:00007ff90be7d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff90b1b5fa0 RCX: 00007ff90af8e969
RDX: 0000200000000000 RSI: 00000000400448c9 RDI: 0000000000000009
RBP: 00007ff90b010ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff90b1b5fa0 R15: 00007ffefc5b2b18
INFO: task khidpd_04570009:8744 blocked for more than 144 seconds.
Not tainted 6.15.0-rc3-syzkaller-00091-g087a9eb9e597 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:khidpd_04570009 state:D stack:29576 pid:8744 tgid:8744 ppid:2 task_flags:0x208040 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x16e2/0x4cd0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
__mutex_lock_common kernel/locking/mutex.c:678 [inline]
__mutex_lock+0x724/0xe80 kernel/locking/mutex.c:746
l2cap_unregister_user+0x6a/0x1b0 net/bluetooth/l2cap_core.c:1727
hidp_session_thread+0x3c9/0x410 net/bluetooth/hidp/core.c:1304
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Showing all locks held in the system:
3 locks held by kworker/u8:1/13:
#0: ffff88801a489148 ((wq_completion)events_unbound
){+.+.}-{0:0}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
#1:
ffff8880b8623b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39e/0x6d0 kernel/sched/psi.c:987
#2: ffffffff99c9a260 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0xbb/0x420 lib/debugobjects.c:818
1 lock held by khungtaskd/31:
#0:
ffffffff8e13b860
(rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
(rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
(rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764
3 locks held by kworker/u8:4/82:
#0: ffff88814d83a948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88814d83a948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319
#1: ffffc900015a7c60 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc900015a7c60 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319
#2:
ffffffff8f4f7848
(
rtnl_mutex
){+.+.}-{4:4}
, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline]
, at: addrconf_dad_work+0x112/0x14b0 net/ipv6/addrconf.c:4195
2 locks held by getty/5595:
#0: ffff888034c220a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900036be2f0
(
&ldata->atomic_read_lock
){+.+.}-{4:4}
, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
2 locks held by kworker/u9:2/5854:
#0: ffff8880250ce148 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff8880250ce148 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319
#1: ffffc900045a7c60 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc900045a7c60 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319
6 locks held by kworker/0:13/7248:
2 locks held by syz.3.657/8742:
#0: ffff888060720078
(
&hdev->lock
){+.+.}-{4:4}
, at: l2cap_unregister_user+0x6a/0x1b0 net/bluetooth/l2cap_core.c:1727
#1: ffffffff8f6866f0 (hidp_session_sem){++++}-{4:4}, at: hidp_session_remove+0x2c/0x260 net/bluetooth/hidp/core.c:1165
1 lock held by khidpd_04570009/8744:
#0:
ffff888060720078 (&hdev->lock){+.+.}-{4:4}, at: l2cap_unregister_user+0x6a/0x1b0 net/bluetooth/l2cap_core.c:1727
1 lock held by syz.2.717/8940:
#0: ffffffff8f6866f0 (hidp_session_sem){++++}-{4:4}
, at: hidp_session_find+0x1a/0x100 net/bluetooth/hidp/core.c:1026
3 locks held by kworker/u8:13/11621:
#0:
ffff88801a489148
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:3213 [inline]
, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319
#1:
ffffc9000b917c60
(
(linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
(linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319
#2:
ffffffff8f4f7848
(
rtnl_mutex
){+.+.}-{4:4}
, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303
3 locks held by syz-executor/11632:
#0: ffffffff8ec8cd60 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8ec8cd60 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8ec8cd60 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570
#1:
ffffffff8f4f7848
(rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
(rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline]
(rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70 net/core/rtnetlink.c:4064
#2: ffffffff8e141338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline]
#2: ffffffff8e141338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f4/0x730 kernel/rcu/tree_exp.h:998
2 locks held by syz.6.1422/11738:
#0: ffffffff8f4ead10 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x317/0x590 net/core/net_namespace.c:514
#1: ffffffff8f4f7848 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210 net/ipv4/nexthop.c:3918
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00091-g087a9eb9e597 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:437
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 7248 Comm: kworker/0:13 Not tainted 6.15.0-rc3-syzkaller-00091-g087a9eb9e597 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: events hidp_session_dev_work
RIP: 0010:kasan_check_range+0x1c7/0x2b0 mm/kasan/generic.c:189
Code: e4 49 0f 49 dc 48 83 e3 f8 49 29 dc 74 12 41 80 3b 00 0f 85 b8 00 00 00 49 ff c3 49 ff cc 75 ee 5b 41 5c 41 5d 41 5e 41 5f 5d cc cc cc cc cc 45 84 ff 75 63 41 f7 c7 00 ff 00 00 75 5f 41 f7
RSP: 0018:ffffc900037eea90 EFLAGS: 00000256
RAX: ffffffff81a22201 RBX: 0000000000000000 RCX: ffffffff81a22218
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e01e8b0
RBP: ffffffff8e01e8b0 R08: ffffffff8e01e8b7 R09: 1ffffffff1c03d16
R10: dffffc0000000000 R11: fffffbfff1c03d17 R12: ffffc900037eebe0
R13: ffffffff8e06d5b0 R14: 00000000000044b2 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888125ca3000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c376051 CR3: 000000007912c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
atomic_long_read include/linux/atomic/atomic-instrumented.h:3188 [inline]
desc_read+0x2c8/0x3f0 kernel/printk/printk_ringbuffer.c:534
desc_read_finalized_seq kernel/printk/printk_ringbuffer.c:1874 [inline]
prb_read kernel/printk/printk_ringbuffer.c:1942 [inline]
_prb_read_valid+0x608/0xa90 kernel/printk/printk_ringbuffer.c:2113
prb_read_valid+0x3c/0x60 kernel/printk/printk_ringbuffer.c:2185
printk_get_next_message+0x15c/0x7b0 kernel/printk/printk.c:3005
console_emit_next_record kernel/printk/printk.c:3092 [inline]
console_flush_all+0x4ca/0xc40 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xc4/0x270 kernel/printk/printk.c:3325
vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450
dev_vprintk_emit+0x337/0x3f0 drivers/base/core.c:4891
dev_printk_emit+0xe0/0x130 drivers/base/core.c:4902
_dev_warn+0x10a/0x160 drivers/base/core.c:4958
hid_parser_main+0x8b8/0xc40 drivers/hid/hid-core.c:-1
hid_open_report+0x858/0xee0 drivers/hid/hid-core.c:1328
hid_parse include/linux/hid.h:1126 [inline]
mt_probe+0x4fd/0xb80 drivers/hid/hid-multitouch.c:1822
__hid_device_probe drivers/hid/hid-core.c:2717 [inline]
hid_device_probe+0x397/0x710 drivers/hid/hid-core.c:2754
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x26a/0x9a0 drivers/base/dd.c:658
__driver_probe_device+0x18c/0x2f0 drivers/base/dd.c:800
driver_probe_device+0x4f/0x430 drivers/base/dd.c:830
__device_attach_driver+0x2ce/0x530 drivers/base/dd.c:958
bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:462
__device_attach+0x2b8/0x400 drivers/base/dd.c:1030
bus_probe_device+0x185/0x260 drivers/base/bus.c:537
device_add+0x7b6/0xb50 drivers/base/core.c:3666
hid_add_device+0x398/0x540 drivers/hid/hid-core.c:2900
hidp_session_dev_add net/bluetooth/hidp/core.c:856 [inline]
hidp_session_dev_work+0x45/0x160 net/bluetooth/hidp/core.c:895
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245