bisecting fixing commit since f40ddce88593482919761f74910f42f4b84c004b building syzkaller on 98682e5e2aefc9aad61354f4f3ac93be96002a2a testing commit f40ddce88593482919761f74910f42f4b84c004b with gcc (GCC) 10.2.1 20210217 kernel signature: 31380acbde5081ebcc03b8b1cc92921ed4a81eb7f97a79d4e8ce6ac16d2b8953 run #0: crashed: INFO: task hung in addrconf_dad_work run #1: crashed: INFO: task hung in addrconf_dad_work run #2: crashed: INFO: task hung in addrconf_dad_work run #3: crashed: INFO: task hung in linkwatch_event run #4: crashed: INFO: task hung in linkwatch_event run #5: crashed: INFO: task hung in addrconf_dad_work run #6: crashed: INFO: task hung in disconnect_work run #7: crashed: INFO: task hung in disconnect_work run #8: crashed: INFO: task hung in cfg80211_event_work run #9: crashed: INFO: task hung in addrconf_dad_work run #10: crashed: INFO: task hung in addrconf_dad_work run #11: crashed: INFO: task hung in addrconf_dad_work run #12: crashed: INFO: task hung in addrconf_dad_work run #13: crashed: INFO: task hung in addrconf_dad_work run #14: crashed: INFO: task hung in addrconf_dad_work run #15: crashed: INFO: task hung in linkwatch_event run #16: crashed: INFO: task hung in addrconf_dad_work run #17: crashed: INFO: task hung in addrconf_dad_work run #18: crashed: INFO: task hung in disconnect_work run #19: crashed: INFO: task hung in cfg80211_event_work testing current HEAD 1d67c8d993baf8ab6be8a2154b1a94ec1311c869 testing commit 1d67c8d993baf8ab6be8a2154b1a94ec1311c869 with gcc (GCC) 10.2.1 20210217 kernel signature: b758c3809b00b7fcba0473a3f8ce9c70309b836c561e639fa018ca468acc5d3c run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: crashed: INFO: task hung in addrconf_dad_work run #2: crashed: INFO: task hung in disconnect_work run #3: crashed: INFO: task hung in addrconf_dad_work run #4: crashed: INFO: task hung in addrconf_dad_work run #5: crashed: INFO: task hung in addrconf_dad_work run #6: crashed: INFO: task hung in linkwatch_event run #7: crashed: INFO: task hung in linkwatch_event run #8: crashed: INFO: task hung in cfg80211_dfs_channels_update_work run #9: crashed: INFO: task hung in linkwatch_event revisions tested: 2, total time: 26m11.080915732s (build: 13m5.930453855s, test: 12m10.527151414s) the crash still happens on HEAD commit msg: Merge tag 'soc-fixes-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc crash: INFO: task hung in linkwatch_event INFO: task kworker/0:0:5 blocked for more than 143 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:26704 pid: 5 ppid: 2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 linkwatch_event+0x5/0x50 net/core/link_watch.c:250 process_one_work+0x84c/0x13d0 kernel/workqueue.c:2276 worker_thread+0x598/0x1040 kernel/workqueue.c:2422 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task kworker/0:4:8650 blocked for more than 143 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:4 state:D stack:27088 pid: 8650 ppid: 2 flags:0x00004000 Workqueue: events disconnect_work Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 disconnect_work+0xf/0x1b0 net/wireless/sme.c:663 process_one_work+0x84c/0x13d0 kernel/workqueue.c:2276 worker_thread+0x598/0x1040 kernel/workqueue.c:2422 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task syz-executor.2:8813 blocked for more than 143 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:22944 pid: 8813 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 rtnl_lock net/core/rtnetlink.c:72 [inline] rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x704/0xbf0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:723 __sys_sendto+0x1a4/0x270 net/socket.c:2019 __do_sys_sendto net/socket.c:2031 [inline] __se_sys_sendto net/socket.c:2027 [inline] __x64_sys_sendto+0xd8/0x1b0 net/socket.c:2027 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41922c RSP: 002b:00007ffe25c29d00 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000014a4320 RCX: 000000000041922c RDX: 0000000000000028 RSI: 00000000014a4370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffe25c29d44 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000000 R15: 00000000014a4370 INFO: task syz-executor.4:8815 blocked for more than 144 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:24440 pid: 8815 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 rtnl_lock net/core/rtnetlink.c:72 [inline] rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x704/0xbf0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:723 __sys_sendto+0x1a4/0x270 net/socket.c:2019 __do_sys_sendto net/socket.c:2031 [inline] __se_sys_sendto net/socket.c:2027 [inline] __x64_sys_sendto+0xd8/0x1b0 net/socket.c:2027 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41922c RSP: 002b:00007ffe603736d0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000014a4320 RCX: 000000000041922c RDX: 0000000000000020 RSI: 00000000014a4370 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007ffe60373714 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000010 R13: 0000000000000004 R14: 0000000000000000 R15: 00000000014a4370 INFO: task syz-executor.0:8817 blocked for more than 144 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24440 pid: 8817 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 rtnl_lock net/core/rtnetlink.c:72 [inline] rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x704/0xbf0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:723 __sys_sendto+0x1a4/0x270 net/socket.c:2019 __do_sys_sendto net/socket.c:2031 [inline] __se_sys_sendto net/socket.c:2027 [inline] __x64_sys_sendto+0xd8/0x1b0 net/socket.c:2027 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41922c RSP: 002b:00007ffdc03ddd80 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000014a4320 RCX: 000000000041922c RDX: 0000000000000028 RSI: 00000000014a4370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffdc03dddc4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000000 R15: 00000000014a4370 INFO: task syz-executor.5:8820 blocked for more than 145 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24248 pid: 8820 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 rtnl_lock net/core/rtnetlink.c:72 [inline] rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x704/0xbf0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:723 __sys_sendto+0x1a4/0x270 net/socket.c:2019 __do_sys_sendto net/socket.c:2031 [inline] __se_sys_sendto net/socket.c:2027 [inline] __x64_sys_sendto+0xd8/0x1b0 net/socket.c:2027 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41922c RSP: 002b:00007fffe66d15d0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000014a4320 RCX: 000000000041922c RDX: 0000000000000020 RSI: 00000000014a4370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fffe66d1614 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000000 R15: 00000000014a4370 INFO: task syz-executor.3:8821 blocked for more than 145 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24128 pid: 8821 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 rtnl_lock net/core/rtnetlink.c:72 [inline] rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2504 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x704/0xbf0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:723 __sys_sendto+0x1a4/0x270 net/socket.c:2019 __do_sys_sendto net/socket.c:2031 [inline] __se_sys_sendto net/socket.c:2027 [inline] __x64_sys_sendto+0xd8/0x1b0 net/socket.c:2027 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41922c RSP: 002b:00007ffe3df966e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000014a4320 RCX: 000000000041922c RDX: 0000000000000028 RSI: 00000000014a4370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffe3df96724 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000000 R15: 00000000014a4370 INFO: task kworker/0:6:10106 blocked for more than 145 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:27496 pid:10106 ppid: 2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_dad_work Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 addrconf_dad_work+0x9f/0x11a0 net/ipv6/addrconf.c:4031 process_one_work+0x84c/0x13d0 kernel/workqueue.c:2276 worker_thread+0x598/0x1040 kernel/workqueue.c:2422 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task kworker/1:9:10125 blocked for more than 146 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:9 state:D stack:27840 pid:10125 ppid: 2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_dad_work Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 addrconf_dad_work+0x9f/0x11a0 net/ipv6/addrconf.c:4031 process_one_work+0x84c/0x13d0 kernel/workqueue.c:2276 worker_thread+0x598/0x1040 kernel/workqueue.c:2422 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task syz-executor.1:10167 blocked for more than 146 seconds. Not tainted 5.14.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26296 pid:10167 ppid: 8818 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x902/0x26a0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 nl80211_pre_doit+0x1d/0x480 net/wireless/nl80211.c:14823 genl_family_rcv_msg_doit+0x1bc/0x2f0 net/netlink/genetlink.c:734 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0x27a/0x4a0 net/netlink/genetlink.c:800 netlink_rcv_skb+0x118/0x370 net/netlink/af_netlink.c:2504 genl_rcv+0x1f/0x30 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x704/0xbf0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:703 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:723 ____sys_sendmsg+0x5bf/0x7a0 net/socket.c:2392 ___sys_sendmsg+0xd3/0x150 net/socket.c:2446 __sys_sendmsg+0xb2/0x140 net/socket.c:2475 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465d99 RSP: 002b:00007fd06ad8b188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465d99 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000003 RBP: 00000000004bcf27 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007fffa25142bf R14: 00007fd06ad8b300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/0:0/5: #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:620 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x771/0x13d0 kernel/workqueue.c:2247 #1: ffffc90000ebfdb8 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x79e/0x13d0 kernel/workqueue.c:2251 #2: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x5/0x50 net/core/link_watch.c:250 2 locks held by kworker/u4:3/117: #0: ffff8880ba035b58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:460 [inline] #0: ffff8880ba035b58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #0: ffff8880ba035b58 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #0: ffff8880ba035b58 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x22e/0x26a0 kernel/sched/core.c:5854 #1: ffff8880ba01f988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39d/0x480 kernel/sched/psi.c:880 4 locks held by kworker/u4:4/232: #0: ffff8880ba035b58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:460 [inline] #0: ffff8880ba035b58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #0: ffff8880ba035b58 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #0: ffff8880ba035b58 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x22e/0x26a0 kernel/sched/core.c:5854 #1: ffff8880ba01f988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39d/0x480 kernel/sched/psi.c:880 #2: ffff8880ba024258 (&base->lock){..-.}-{2:2}, at: lock_timer_base+0x49/0x1a0 kernel/time/timer.c:944 #3: ffffffff8ea1d870 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:656 1 lock held by khungtaskd/1649: #0: ffffffff8a9715c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/8143: #0: ffff888010ebd5f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x9c/0xb0 fs/file.c:974 3 locks held by kworker/0:4/8650: #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:620 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff88800f067d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x771/0x13d0 kernel/workqueue.c:2247 #1: ffffc90002517db8 (cfg80211_disconnect_work){+.+.}-{0:0}, at: process_one_work+0x79e/0x13d0 kernel/workqueue.c:2251 #2: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: disconnect_work+0xf/0x1b0 net/wireless/sme.c:663 3 locks held by kworker/0:5/8651: #0: ffff88800f073d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88800f073d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:620 [inline] #0: ffff88800f073d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88800f073d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff88800f073d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff88800f073d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x771/0x13d0 kernel/workqueue.c:2247 #1: ffffc90002567db8 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x79e/0x13d0 kernel/workqueue.c:2251 #2: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x74/0xa30 net/wireless/reg.c:2416 1 lock held by syz-executor.2/8813: #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 1 lock held by syz-executor.4/8815: #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 1 lock held by syz-executor.0/8817: #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 1 lock held by syz-executor.5/8820: #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 1 lock held by syz-executor.3/8821: #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x2d2/0x8d0 net/core/rtnetlink.c:5571 3 locks held by kworker/0:6/10106: #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:620 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x771/0x13d0 kernel/workqueue.c:2247 #1: ffffc9000ae8fdb8 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x79e/0x13d0 kernel/workqueue.c:2251 #2: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0x9f/0x11a0 net/ipv6/addrconf.c:4031 3 locks held by kworker/1:9/10125: #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:620 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888025b04d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x771/0x13d0 kernel/workqueue.c:2247 #1: ffffc9000aecfdb8 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x79e/0x13d0 kernel/workqueue.c:2251 #2: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0x9f/0x11a0 net/ipv6/addrconf.c:4031 4 locks held by syz-executor.1/10166: 2 locks held by syz-executor.1/10167: #0: ffffffff8c07f6b0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x10/0x30 net/netlink/genetlink.c:810 #1: ffffffff8bff40c8 (rtnl_mutex){+.+.}-{3:3}, at: nl80211_pre_doit+0x1d/0x480 net/wireless/nl80211.c:14823 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1649 Comm: khungtaskd Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x45/0x59 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x30/0x99 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x11f/0x170 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0x92e/0xc40 kernel/hung_task.c:295 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 232 Comm: kworker/u4:4 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_tt_purge RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:99 [inline] RIP: 0010:do_raw_spin_unlock+0x9e/0x230 kernel/locking/spinlock_debug.c:138 Code: 0f 85 6b 01 00 00 8b 45 00 85 c0 0f 84 f4 00 00 00 4c 8d 6d 10 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 <0f> 85 65 01 00 00 65 48 8b 04 25 00 f0 01 00 48 39 45 10 0f 85 d6 RSP: 0018:ffffc90001c17bf8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff8880125cc3d0 RCX: ffffffff8152df10 RDX: 1ffff11007ef43d2 RSI: 0000000000000004 RDI: ffff88803f7a1e80 RBP: ffff88803f7a1e80 R08: 0000000000000000 R09: ffff88803f7a1e83 R10: ffffed1007ef43d0 R11: 0000000000000000 R12: ffffc90001c17db8 R13: ffff88803f7a1e90 R14: ffff888029e252e8 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f972537d000 CR3: 000000001ecc4000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:175 [inline] _raw_spin_unlock_bh+0x1a/0x30 kernel/locking/spinlock.c:207 spin_unlock_bh include/linux/spinlock.h:399 [inline] batadv_tt_local_purge+0x22a/0x310 net/batman-adv/translation-table.c:1369 batadv_tt_purge+0x27/0x990 net/batman-adv/translation-table.c:3591 process_one_work+0x84c/0x13d0 kernel/workqueue.c:2276 worker_thread+0x598/0x1040 kernel/workqueue.c:2422 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295