INFO: task syz.1.764:9526 blocked for more than 143 seconds. Not tainted 6.11.0-rc1-next-20240729-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.764 state:D stack:27392 pid:9526 tgid:9523 ppid:8957 flags:0x00000004 Call Trace: <TASK> context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 do_ip_setsockopt+0x127d/0x3cd0 net/ipv4/ip_sockglue.c:1077 ip_setsockopt+0x63/0x100 net/ipv4/ip_sockglue.c:1417 do_sock_setsockopt+0x3af/0x720 net/socket.c:2324 __sys_setsockopt+0x1ae/0x250 net/socket.c:2347 __do_sys_setsockopt net/socket.c:2356 [inline] __se_sys_setsockopt net/socket.c:2353 [inline] __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2353 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:0x7fb95ad779f9 RSP: 002b:00007fb95bb2e048 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fb95af06058 RCX: 00007fb95ad779f9 RDX: 000000000000002e RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fb95ade58ee R08: 0000000000000108 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb95af06058 R15: 00007ffd86f93518 </TASK> Showing all locks held in the system: 2 locks held by kworker/0:0/8: 1 lock held by khungtaskd/30: #0: ffffffff8e937a60 ( rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695 3 locks held by kworker/0:2/940: 5 locks held by kworker/u9:1/4619: #0: ffff88802ff78948 ( (wq_completion)hci17 ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000d427d00 ( (work_completion)(&hdev->cmd_sync_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88803fc54d80 (&hdev->req_lock ){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff88803fc54078 ( &hdev->lock){+.+.}-{3:3} , at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5512 #4: ffffffff8fded8e8 ( 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:1265 1 lock held by dhcpcd/4896: #0: ffffffff8fc81d48 (rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:149 [inline] , at: rtnetlink_rcv_msg+0x6eb/0xd00 net/core/rtnetlink.c:6731 2 locks held by getty/4990: #0: ffff88802b11d0a0 ( &tty->ldisc_sem){++++}-{0:0} , at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 ( &ldata->atomic_read_lock ){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 5 locks held by kworker/u9:2/5236: #0: ffff888023f95948 ( (wq_completion)hci16){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] (wq_completion)hci16){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900035e7d00 ((work_completion)(&hdev->cmd_sync_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88803d860d80 ( &hdev->req_lock){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff88803d860078 (&hdev->lock ){+.+.}-{3:3} , at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5512 #4: ffffffff8fded8e8 (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:1265 2 locks held by kworker/0:3/5237: 5 locks held by kworker/u9:3/5241: #0: ffff8880333b8948 ((wq_completion)hci14 ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003637d00 ( (work_completion)(&hdev->cmd_sync_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88806aa4cd80 ( &hdev->req_lock){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff88806aa4c078 ( &hdev->lock){+.+.}-{3:3} , at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5512 #4: ffffffff8fded8e8 ( 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:1265 5 locks held by kworker/u9:7/5250: #0: ffff8880333ba148 ((wq_completion)hci15 ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900036e7d00 ( (work_completion)(&hdev->cmd_sync_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888055ffcd80 ( &hdev->req_lock){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff888055ffc078 (&hdev->lock){+.+.}-{3:3} , at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5512 #4: ffffffff8e93ce38 ( 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:967 3 locks held by kworker/1:3/5274: #0: ffff888015881948 ( (wq_completion)events_power_efficient ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900039e7d00 ((reg_check_chans).work ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fc81d48 (rtnl_mutex ){+.+.}-{3:3} , at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 3 locks held by kworker/0:7/7003: #0: ffff888015880948 ((wq_completion)events ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000459fd00 ( deferred_process_work){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fc81d48 ( rtnl_mutex){+.+.}-{3:3} , at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by kworker/u8:26/8567: #0: ffff888029f3f148 ( (wq_completion)ipv6_addrconf){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc9000963fd00 ((work_completion)(&(&ifa->dad_work)->work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fc81d48 ( rtnl_mutex){+.+.}-{3:3} , at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4194 4 locks held by kworker/u8:28/8569: #0: ffff8880166e5948 ((wq_completion)netns ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90009677d00 ( net_cleanup_work){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fc751d0 ( pernet_ops_rwsem ){++++}-{3:3} , at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8fc81d48 ( rtnl_mutex ){+.+.}-{3:3} , at: ieee80211_unregister_hw+0x55/0x2c0 net/mac80211/main.c:1662 2 locks held by syz-executor/9035: #0: ffff88801195c0e0 (&type->s_umount_key #32 ){++++}-{3:3} , at: __super_lock fs/super.c:56 [inline] , at: __super_lock_excl fs/super.c:71 [inline] , at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8e9f2688 (lock #3 ){+.+.}-{3:3} , at: __lru_add_drain_all+0x66/0x560 mm/swap.c:875 3 locks held by syz-executor/9082: #0: ffff88806eb520e0 ( &type->s_umount_key#62 ){+.+.}-{3:3} , at: __super_lock fs/super.c:56 [inline] , at: __super_lock_excl fs/super.c:71 [inline] , at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8eeada68