INFO: task syz.2.856:9413 blocked for more than 143 seconds. Not tainted 6.15.0-rc2-syzkaller-00682-gcd7276ecac9c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.856 state:D stack:26696 pid:9413 tgid:9412 ppid:5837 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 schedule_timeout+0xb1/0x2b0 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+0x32f/0x600 kernel/sched/completion.c:148 __flush_work+0xa48/0xc60 kernel/workqueue.c:4244 __cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4364 hidp_session_remove+0x64/0x260 net/bluetooth/hidp/core.c:1169 l2cap_unregister_user+0x19c/0x1c0 net/bluetooth/l2cap_core.c:1733 hidp_connection_del+0xb0/0x160 net/bluetooth/hidp/core.c:1409 do_hidp_sock_ioctl net/bluetooth/hidp/sock.c:97 [inline] hidp_sock_ioctl+0x42b/0x8c0 net/bluetooth/hidp/sock.c:128 sock_do_ioctl+0x152/0x400 net/socket.c:1190 sock_ioctl+0x644/0x900 net/socket.c:1311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbfeff8e969 RSP: 002b:00007fbff0d6c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbff01b5fa0 RCX: 00007fbfeff8e969 RDX: 0000200000000000 RSI: 00000000400448c9 RDI: 0000000000000007 RBP: 00007fbff0010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbff01b5fa0 R15: 00007ffc32acb918 INFO: task khidpd_04570009:9415 blocked for more than 144 seconds. Not tainted 6.15.0-rc2-syzkaller-00682-gcd7276ecac9c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:khidpd_04570009 state:D stack:29792 pid:9415 tgid:9415 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/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+0x805/0x10c0 kernel/locking/mutex.c:746 l2cap_unregister_user+0x6a/0x1c0 net/bluetooth/l2cap_core.c:1727 hidp_session_thread+0x450/0x490 net/bluetooth/hidp/core.c:1304 kthread+0x7b7/0x940 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 INFO: task syz.1.877:9485 blocked for more than 145 seconds. Not tainted 6.15.0-rc2-syzkaller-00682-gcd7276ecac9c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.877 state:D stack:24424 pid:9485 tgid:9483 ppid:5842 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b88/0x5240 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/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+0x805/0x10c0 kernel/locking/mutex.c:746 rfcomm_reparent_device+0x49/0x440 net/bluetooth/rfcomm/tty.c:187 rfcomm_dev_add net/bluetooth/rfcomm/tty.c:339 [inline] __rfcomm_create_dev net/bluetooth/rfcomm/tty.c:424 [inline] rfcomm_create_dev net/bluetooth/rfcomm/tty.c:485 [inline] rfcomm_dev_ioctl+0x1c45/0x2470 net/bluetooth/rfcomm/tty.c:584 sock_do_ioctl+0x152/0x400 net/socket.c:1190 sock_ioctl+0x644/0x900 net/socket.c:1311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f997478e969 RSP: 002b:00007f99755d6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f99749b5fa0 RCX: 00007f997478e969 RDX: 0000200000000100 RSI: 00000000400452c8 RDI: 000000000000000d RBP: 00007f9974810ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f99749b5fa0 R15: 00007ffdda919768 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764 3 locks held by kworker/1:1/48: #0: ffff88801b081d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b081d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000b97c60 ((crda_timeout).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000b97c60 ((crda_timeout).work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900fe988 (rtnl_mutex){+.+.}-{4:4}, at: crda_timeout_work+0x15/0x50 net/wireless/reg.c:541 3 locks held by kworker/u8:4/82: #0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90001567c60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90001567c60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900fe988 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 3 locks held by kworker/u8:6/1109: #0: ffff888144eeb948 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888144eeb948 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90003b6fc60 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003b6fc60 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900fe988 (rtnl_mutex){+.+.}-{4:4}, at: cfg80211_dfs_channels_update_work+0xc1/0x620 net/wireless/mlme.c:1022 6 locks held by kworker/u8:7/1320: #0: ffff88801bef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801bef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc9000442fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000442fc60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900f1e50 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x100/0x930 net/core/net_namespace.c:662 #3: ffffffff900fe988 (rtnl_mutex){+.+.}-{4:4}, at: ieee80211_unregister_hw+0x55/0x2c0 net/mac80211/main.c:1674 #4: ffff888052858768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6092 [inline] #4: ffff888052858768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: ieee80211_remove_interfaces+0x12b/0x700 net/mac80211/iface.c:2294 #5: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #5: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998 2 locks held by getty/5595: #0: ffff888031ec10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002ffe2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222 8 locks held by kworker/0:3/5844: 3 locks held by kworker/0:13/6437: #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90003d3fc60 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003d3fc60 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #2: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x384/0x830 kernel/rcu/tree_exp.h:998 2 locks held by syz-executor/9379: #0: ffff88805a6f0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff88805a6f0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2678 #1: ffff88805a6f0078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60f/0x1260 net/bluetooth/hci_sync.c:5213 2 locks held by syz.2.856/9413: #0: ffff88805a6f0078 (&hdev->lock){+.+.}-{4:4}, at: l2cap_unregister_user+0x6a/0x1c0 net/bluetooth/l2cap_core.c:1727 #1: ffffffff9028e210 (hidp_session_sem){++++}-{4:4}, at: hidp_session_remove+0x2d/0x260 net/bluetooth/hidp/core.c:1165 1 lock held by khidpd_04570009/9415: #0: ffff88805a6f0078 (&hdev->lock){+.+.}-{4:4}, at: l2cap_unregister_user+0x6a/0x1c0 net/bluetooth/l2cap_core.c:1727 2 locks held by syz.1.877/9485: #0: ffffffff9028b368 (rfcomm_ioctl_mutex){+.+.}-{4:4}, at: rfcomm_create_dev net/bluetooth/rfcomm/tty.c:484 [inline] #0: ffffffff9028b368 (rfcomm_ioctl_mutex){+.+.}-{4:4}, at: rfcomm_dev_ioctl+0x23c/0x2470 net/bluetooth/rfcomm/tty.c:584 #1: ffff88805a6f0078 (&hdev->lock){+.+.}-{4:4}, at: rfcomm_reparent_device+0x49/0x440 net/bluetooth/rfcomm/tty.c:187 1 lock held by syz.4.1002/9995: #0: ffffffff9028e210 (hidp_session_sem){++++}-{4:4}, at: hidp_session_find+0x1c/0x110 net/bluetooth/hidp/core.c:1026 7 locks held by syz-executor/11416: #0: ffff888035e00420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline] #0: ffff888035e00420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff888032d5ec88 (&of->mutex){+.+.}-{4:4} , at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff888144b655a8 ( kn->active #49 ){.+.+}-{0:0} , at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f9981c8 ( nsim_bus_dev_list_lock ){+.+.}-{4:4} , at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 #4: ffff88807c33a0e8 ( &dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:922 [inline] , at: __device_driver_lock drivers/base/dd.c:1095 [inline] , at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff88807c33b250 ( &devlink->lock_key #20 ){+.+.}-{4:4} , at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff900fe988 ( rtnl_mutex ){+.+.}-{4:4} , at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] , at: rtnl_net_dev_lock+0x271/0x320 net/core/dev.c:2141 2 locks held by syz-executor/11508: #0: ffffffff9061c198 ( &ops->srcu #2 ){.+.+}-{0:0} , at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] , at: rcu_read_lock include/linux/rcupdate.h:841 [inline] , at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:570 #1: ffffffff900fe988 ( rtnl_mutex ){+.+.}-{4:4} , at: rtnl_lock net/core/rtnetlink.c:80 [inline] , at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] , at: rtnl_newlink+0xd68/0x1fe0 net/core/rtnetlink.c:4065 4 locks held by syz.5.1388/11571: #0: ffff888024a98d80 ( &hdev->req_lock ){+.+.}-{4:4} , at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] , at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2678 #1: ffff888024a98078 ( &hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60f/0x1260 net/bluetooth/hci_sync.c:5213 #2: ffffffff90265528 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2066 [inline] #2: ffffffff90265528 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2701 #3: ffff888075b3ab38 ( &conn->lock #2){+.+.}-{4:4}, at: l2cap_conn_del+0x71/0x690 net/bluetooth/l2cap_core.c:1761 1 lock held by syz.7.1390/11575: