INFO: task syz-executor:11266 blocked for more than 143 seconds. Not tainted 6.13.0-rc7-syzkaller-00102-gce69b4019001 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20544 pid:11266 tgid:11266 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5201 hci_dev_do_close net/bluetooth/hci_core.c:482 [inline] hci_unregister_dev+0x20b/0x510 net/bluetooth/hci_core.c:2697 vhci_release+0x80/0xd0 drivers/bluetooth/hci_vhci.c:664 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2a/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 __do_sys_exit_group kernel/exit.c:1098 [inline] __se_sys_exit_group kernel/exit.c:1096 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1096 x64_sys_call+0x26a8/0x26b0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f566d985d29 RSP: 002b:00007ffd9ac38198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f566d985d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 00007f566d9e68d0 R08: 00007ffd9ac35f37 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000003 R14: 00000000ffffffff R15: 00007ffd9ac38340 INFO: task khidpd_0c451110:11282 blocked for more than 144 seconds. Not tainted 6.13.0-rc7-syzkaller-00102-gce69b4019001 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:khidpd_0c451110 state:D stack:28560 pid:11282 tgid:11282 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0xb0/0x290 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+0x355/0x620 kernel/sched/completion.c:148 __flush_work+0xa47/0xc60 kernel/workqueue.c:4242 __cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4362 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: 3 locks held by kworker/0:1/9: #0: ffff88801ac80948 ( (wq_completion)events ){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] ){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900000e7d00 (free_ipc_work ){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] ){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by kworker/u8:1/12: #0: ffff88802fb82148 ((wq_completion)ipv6_addrconf ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3211 [inline] , at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90000117d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcb2f48 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4215 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock ){....}-{1:3} , 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:6744 7 locks held by kworker/u8:4/62: #0: ffff88801baed948 ((wq_completion)netns ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3211 [inline] , at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000153fd00 ( net_cleanup_work ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3212 [inline] , at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fca6a90 ( pernet_ops_rwsem ){++++}-{4:4} , at: cleanup_net+0x16a/0xd50 net/core/net_namespace.c:602 #3: ffff8880338fe0e8 ( &dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] , at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506 #4: ffff8880338fd250 ( &devlink->lock_key #21 ){+.+.}-{4:4} , at: devl_lock net/devlink/core.c:276 [inline] , at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] , at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506 #5: ffffffff8fcb2f48 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:816 #6: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #6: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by getty/5593: #0: ffff88814d6e40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900033232f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5832: #0: ffff888033bb4d80 (&hdev->req_lock ){+.+.}-{4:4} , at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] , at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff888033bb4078 ( &hdev->lock ){+.+.}-{4:4} , at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5201 2 locks held by syz-executor/5837: #0: ffff888078f98d80 ( &hdev->req_lock ){+.+.}-{4:4} , at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] , at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff888078f98078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5201 8 locks held by kworker/1:5/5910: 2 locks held by syz-executor/11266: #0: ffff88805a804d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff88805a804d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff88805a804078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5201 2 locks held by khidpd_0c451110/11282: #0: ffff88805a804078 (&hdev->lock){+.+.}-{4:4}, at: l2cap_unregister_user+0x6a/0x1c0 net/bluetooth/l2cap_core.c:1726 #1: ffffffff8fe3bcb0 (hidp_session_sem){++++}-{4:4}, at: hidp_session_remove+0x2d/0x260 net/bluetooth/hidp/core.c:1165 2 locks held by syz-executor/12004: #0: ffff888033bfcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff888033bfcd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff888033bfc078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5201 3 locks held by syz-executor/13113: #0: ffffffff8fd15970 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218 #1: ffffffff8fd15828 (genl_mutex ){+.+.}-{4:4} , at: genl_lock net/netlink/genetlink.c:35 [inline] , at: genl_op_lock net/netlink/genetlink.c:60 [inline] , at: genl_rcv_msg+0x121/0xec0 net/netlink/genetlink.c:1209 #2: ffffffff8fcb2f48 (rtnl_mutex){+.+.}-{4:4}, at: wiphy_register+0x1a3f/0x27b0 net/wireless/core.c:1009 3 locks held by kworker/u8:3/13469: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900040c7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900040c7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fcb2f48 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:285 1 lock held by syz-executor/13582: #0: ffffffff8fcb2f48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline] #0: ffffffff8fcb2f48 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x47e/0x1bd0 net/ipv4/devinet.c:987 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc7-syzkaller-00102-gce69b4019001 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5910 Comm: kworker/1:5 Not tainted 6.13.0-rc7-syzkaller-00102-gce69b4019001 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events hidp_session_dev_work RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x2f/0x70 kernel/kcov.c:217 Code: 8b 04 24 65 48 8b 0c 25 00 d6 03 00 65 8b 15 80 53 64 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 <74> 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b RSP: 0018:ffffc90000a18a78 EFLAGS: 00000246 RAX: ffffffff89cc2b0e RBX: 1ffff11004ef7463 RCX: ffff888025541e00 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8880277ba31a R08: ffffffff89cc2aca R09: fffff52000143154 R10: dffffc0000000000 R11: fffff52000143154 R12: ffffc9001bf051b8 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffff7000000 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pie_calculate_probability+0x65e/0x820 net/sched/sch_pie.c:413 fq_pie_timer+0x26d/0x590 net/sched/sch_fq_pie.c:398 call_timer_fn+0x187/0x650 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers kernel/time/timer.c:2418 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2449 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline] RIP: 0010:vprintk_emit+0x700/0xa10 kernel/printk/printk.c:2431 Code: 00 e8 44 f1 20 00 4c 8d bc 24 a0 00 00 00 4d 85 e4 75 07 e8 32 f1 20 00 eb 06 e8 2b f1 20 00 fb 49 bc 00 00 00 00 00 fc ff df <48> c7 c7 a0 34 81 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc90004107120 EFLAGS: 00000293 RAX: ffffffff817e9145 RBX: 0000000000000000 RCX: ffff888025541e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004107230 R08: ffffffff817e911e R09: 1ffffffff2854b3d R10: dffffc0000000000 R11: fffffbfff2854b3e R12: dffffc0000000000 R13: 1ffff92000820e28 R14: ffffffff817e8f80 R15: ffffc900041071c0 dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4935 dev_printk_emit+0xdd/0x120 drivers/base/core.c:4946 _dev_warn+0x122/0x170 drivers/base/core.c:5002 hid_parser_main+0x71f/0xaa0 drivers/hid/hid-core.c:660 hid_open_report+0xbd8/0x1580 drivers/hid/hid-core.c:1322 hid_parse include/linux/hid.h:1123 [inline] hid_generic_probe+0x3d/0x90 drivers/hid/hid-generic.c:66 __hid_device_probe drivers/hid/hid-core.c:2718 [inline] hid_device_probe+0x3bf/0x710 drivers/hid/hid-core.c:2755 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:3665 hid_add_device+0x3b6/0x520 drivers/hid/hid-core.c:2901 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:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 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