INFO: task dhcpcd:4759 blocked for more than 142 seconds. Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:dhcpcd state:D stack:20672 pid:4759 tgid:4759 ppid:4758 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101 inet_ioctl+0x3d7/0x4f0 net/ipv4/af_inet.c:1003 sock_do_ioctl+0x158/0x460 net/socket.c:1222 sock_ioctl+0x629/0x8e0 net/socket.c:1341 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 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:0x7f1e2c9b4d49 RSP: 002b:00007fff5de04568 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1e2c8e66c0 RCX: 00007f1e2c9b4d49 RDX: 00007fff5de14758 RSI: 0000000000008914 RDI: 0000000000000008 RBP: 00007fff5de24918 R08: 00007fff5de14718 R09: 00007fff5de146c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff5de14758 R14: 0000000000000028 R15: 0000000000008914 INFO: task kworker/1:3:5143 blocked for more than 175 seconds. Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:3 state:D stack:22384 pid:5143 tgid:5143 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 Showing all locks held in the system: 3 locks held by kworker/0:1/9: #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015081948 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900000e7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900000e7d00 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 1 lock held by khungtaskd/30: #0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] #0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:845 [inline] #0: ffffffff8e335860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704 4 locks held by kworker/u9:0/55: #0: ffff888021cf6148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888021cf6148 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90000bf7d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc90000bf7d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff88806e224d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:322 #3: ffff88806e224078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5442 4 locks held by kworker/u8:6/1055: #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015edd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900041f7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900041f7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f2c10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8f5ff788 (rtnl_mutex){+.+.}-{3:3}, at: wg_destruct+0x25/0x2e0 drivers/net/wireguard/device.c:246 3 locks held by kworker/R-ipv6_/2620: #0: ffff88802a27c948 ( (wq_completion)ipv6_addrconf ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90009037c80 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5ff788 ( rtnl_mutex){+.+.}-{3:3} , at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 2 locks held by dhcpcd/4759: #0: ffff888067886678 (nlk_cb_mutex-ROUTE ){+.+.}-{3:3} , at: __netlink_dump_start+0x119/0x780 net/netlink/af_netlink.c:2404 #1: ffffffff8f5ff788 (rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:149 [inline] , at: rtnl_dumpit+0x9e/0x210 net/core/rtnetlink.c:6587 2 locks held by getty/4849: #0: ffff88802f2b80a0 ( &tty->ldisc_sem ){++++}-{0:0} , at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock ){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 5 locks held by kworker/u9:7/5112: #0: ffff88805ebe8148 ( (wq_completion)hci4 ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc9000383fd00 ( (work_completion)(&hdev->cmd_sync_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffff88801ea80d80 (&hdev->req_lock ){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:322 #3: ffff88801ea80078 (&hdev->lock ){+.+.}-{3:3} , at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5442 #4: ffffffff8f76ede8 (hci_cb_list_lock ){+.+.}-{3:3} , at: hci_connect_cfm include/net/bluetooth/hci_core.h:1962 [inline] , at: hci_conn_failed+0x185/0x340 net/bluetooth/hci_conn.c:1266 2 locks held by kworker/0:8/5151: #0: ffff888015080948 ( (wq_completion)events ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90003a3fd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 11 locks held by kworker/1:8/5209: 3 locks held by syz-executor/6673: #0: ffff888066520d80 ( &hdev->req_lock ){+.+.}-{3:3} , at: hci_dev_do_close net/bluetooth/hci_core.c:510 [inline] , at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2722 #1: ffff888066520078 ( &hdev->lock ){+.+.}-{3:3} , at: hci_dev_close_sync+0x494/0xf70 net/bluetooth/hci_sync.c:5061 #2: ffffffff8f76ede8 (hci_cb_list_lock ){+.+.}-{3:3} , at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] , at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2593 2 locks held by syz.1.492/7116: #0: ffffffff8f5ff788 ( rtnl_mutex ){+.+.}-{3:3} , at: tun_detach drivers/net/tun.c:698 [inline] , at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3500 #1: ffffffff8e33ac38 (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:980 1 lock held by syz.4.503/7156: #0: ffffffff8f5ff788 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:149 [inline] , at: rtnetlink_rcv_msg+0x847/0x1180 net/core/rtnetlink.c:6725 3 locks held by syz.2.510/7177: #0: ffff88806d344d80 ( &hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:510 [inline] &hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2722 #1: ffff88806d344078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x494/0xf70 net/bluetooth/hci_sync.c:5061 #2: ffffffff8f76ede8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8f76ede8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2593 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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+0xfee/0x1030 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 4527 Comm: syslogd Not tainted 6.10.0-rc6-next-20240703-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:find_stack lib/stackdepot.c:552 [inline] RIP: 0010:stack_depot_save_flags+0x160/0x830 lib/stackdepot.c:618 Code: de c1 c3 18 41 29 de 48 8b 05 3c 94 c5 0f 8b 0d 2e 94 c5 0f 44 21 f1 48 c1 e1 04 48 8d 14 08 65 ff 05 9c 1e 19 7b 4c 8b 3c 08 <49> 39 d7 8b 6c 24 04 0f 84 96 00 00 00 45 89 cd eb 34 90 0f 0b 90 RSP: 0018:ffffc9000305f570 EFLAGS: 00000282 RAX: ffff88823ac00000 RBX: 00000000526ca1f5 RCX: 00000000009be610 RDX: ffff88823b5be610 RSI: 0000000000000001 RDI: 00000000cd73966e RBP: 00000000996b1648 R08: ffffc9000305f5d0 R09: 000000000000000e R10: dffffc0000000000 R11: fffffbfff1f5ef4e R12: ffff88801504f140 R13: ffff8880589024c2 R14: 000000008ee9be61 R15: ffff88807f11c2e0 FS: 00007fe9fcfe6380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005562e845a680 CR3: 000000007ef7a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_save_stack mm/kasan/common.c:48 [inline] kasan_save_track+0x51/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2231 [inline] slab_free mm/slub.c:4473 [inline] kfree+0x149/0x360 mm/slub.c:4594 skb_kfree_head net/core/skbuff.c:1082 [inline] skb_free_head net/core/skbuff.c:1094 [inline] skb_release_data+0x676/0x880 net/core/skbuff.c:1121 skb_release_all net/core/skbuff.c:1186 [inline] __kfree_skb net/core/skbuff.c:1200 [inline] consume_skb+0xb1/0x160 net/core/skbuff.c:1424 __unix_dgram_recvmsg+0xcea/0x12f0 net/unix/af_unix.c:2527 sock_recvmsg_nosec net/socket.c:1046 [inline] sock_recvmsg+0x22f/0x280 net/socket.c:1068 sock_read_iter+0x2ca/0x3e0 net/socket.c:1138 new_sync_read fs/read_write.c:395 [inline] vfs_read+0x9bd/0xbc0 fs/read_write.c:476 ksys_read+0x1a0/0x2c0 fs/read_write.c:619 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:0x7fe9fd13ab6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fff47504018 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fe9fd13ab6a RDX: 00000000000000ff RSI: 000055fa66ecd950 RDI: 0000000000000000 RBP: 000055fa66ecd910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007fe9fd2d93a3 R11: 0000000000000246 R12: 000055fa66ecd982 R13: 000055fa66ecd950 R14: 0000000000000000 R15: 00007fe9fd31da80