syzbot


INFO: task hung in addrconf_dad_work

Status: upstream: reported C repro on 2020/10/27 17:48
Reported-by: syzbot+1488d66fd1d1619f8415@syzkaller.appspotmail.com
First crash: 1505d, last: 899d
Fix bisection the fix commit could be any of (bisect log):
  5b7a52cd2eef Linux 4.14.202
  9c3bf9cf362f Linux 4.14.289
  
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in addrconf_dad_work (2) 67 85d 291d 0/3 auto-obsoleted due to no activity on 2024/11/26 11:15
android-414 INFO: task hung in addrconf_dad_work 1 2011d 2011d 0/1 auto-closed as invalid on 2019/10/25 08:37
upstream INFO: task hung in addrconf_dad_work (5) net C done 913 7h43m 135d 0/28 upstream: reported C repro on 2024/07/29 15:23
android-49 INFO: task hung in addrconf_dad_work 1 2298d 2298d 0/3 auto-closed as invalid on 2019/02/22 20:09
upstream INFO: task hung in addrconf_dad_work (2) net C unreliable error 107 384d 739d 0/28 closed as invalid on 2023/11/23 17:05
linux-6.1 INFO: task hung in addrconf_dad_work 2 573d 603d 0/3 auto-obsoleted due to no activity on 2023/08/26 05:16
upstream INFO: task hung in addrconf_dad_work net C inconclusive inconclusive 468 1084d 2125d 0/28 closed as invalid on 2022/02/08 10:54
linux-5.15 INFO: task hung in addrconf_dad_work origin:upstream syz 129 33d 326d 0/3 upstream: reported syz repro on 2024/01/20 08:09
upstream INFO: task hung in addrconf_dad_work (3) net C 185 274d 315d 25/28 fixed on 2024/03/25 23:45
linux-4.19 INFO: task hung in addrconf_dad_work 1 1933d 1933d 0/1 auto-closed as invalid on 2019/12/24 18:36
linux-4.19 INFO: task hung in addrconf_dad_work (2) C error 72 652d 1724d 0/1 upstream: reported C repro on 2020/03/22 17:39
upstream INFO: task hung in addrconf_dad_work (4) net 2632 155d 205d 26/28 fixed on 2024/07/09 19:14
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/03/01 20:32 10m retest repro linux-4.14.y report log
2022/11/10 22:30 10m retest repro linux-4.14.y report log
Fix bisection attempts (21)
Created Duration User Patch Repo Result
2022/07/26 00:45 26m bisect fix linux-4.14.y OK (2) job log
2022/06/25 22:33 22m bisect fix linux-4.14.y OK (0) job log log
2022/05/26 22:07 25m bisect fix linux-4.14.y OK (0) job log log
2022/04/26 21:35 31m bisect fix linux-4.14.y OK (0) job log log
2022/03/27 12:37 25m bisect fix linux-4.14.y OK (0) job log log
2022/02/25 12:12 24m bisect fix linux-4.14.y OK (0) job log log
2022/01/26 11:38 34m bisect fix linux-4.14.y OK (0) job log log
2021/12/27 11:10 27m bisect fix linux-4.14.y OK (0) job log log
2021/11/27 10:40 30m bisect fix linux-4.14.y OK (0) job log log
2021/10/28 10:10 30m bisect fix linux-4.14.y OK (0) job log log
2021/09/23 07:47 35m bisect fix linux-4.14.y OK (0) job log log
2021/08/24 07:05 31m bisect fix linux-4.14.y OK (0) job log log
2021/07/25 02:33 29m bisect fix linux-4.14.y OK (0) job log log
2021/06/25 01:07 26m bisect fix linux-4.14.y OK (0) job log log
2021/05/26 00:39 27m bisect fix linux-4.14.y OK (0) job log log
2021/04/26 00:07 31m bisect fix linux-4.14.y OK (0) job log log
2021/03/26 23:36 28m bisect fix linux-4.14.y OK (0) job log log
2021/02/24 22:48 29m bisect fix linux-4.14.y OK (0) job log log
2021/01/25 22:04 29m bisect fix linux-4.14.y OK (0) job log log
2020/12/26 18:21 30m bisect fix linux-4.14.y OK (0) job log log
2020/11/26 17:47 33m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
INFO: task kworker/0:3:6032 blocked for more than 140 seconds.
      Not tainted 4.14.202-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:3     D29112  6032      2 0x80000000
Workqueue: ipv6_addrconf addrconf_dad_work
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 addrconf_dad_work+0x89/0xef0 net/ipv6/addrconf.c:3917
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
INFO: task kworker/0:0:7991 blocked for more than 140 seconds.
      Not tainted 4.14.202-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:0     D27536  7991      2 0x80000000
Workqueue: events disconnect_work
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 disconnect_work+0x14/0x1d0 net/wireless/sme.c:664
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
INFO: task kworker/0:2:8043 blocked for more than 140 seconds.
      Not tainted 4.14.202-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/0:2     D30600  8043      2 0x80000000
Workqueue: events linkwatch_event
Call Trace:
 context_switch kernel/sched/core.c:2808 [inline]
 __schedule+0x88b/0x1de0 kernel/sched/core.c:3384
 schedule+0x8d/0x1b0 kernel/sched/core.c:3428
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486
 __mutex_lock_common kernel/locking/mutex.c:833 [inline]
 __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893
 linkwatch_event+0xa/0x50 net/core/link_watch.c:236
 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404

Showing all locks held in the system:
1 lock held by khungtaskd/1531:
 #0:  (tasklist_lock){.+.+}, at: [<ffffffff81430a04>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548
3 locks held by kworker/0:3/6032:
 #0:  ("%s"("ipv6_addrconf")){+.+.}, at: [<ffffffff813733a0>] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2087
 #1:  ((&(&ifa->dad_work)->work)){+.+.}, at: [<ffffffff813733d6>] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2091
 #2:  (rtnl_mutex){+.+.}, at: [<ffffffff86520479>] addrconf_dad_work+0x89/0xef0 net/ipv6/addrconf.c:3917
3 locks held by kworker/0:0/7991:
 #0:  ("events"){+.+.}, at: [<ffffffff813733a0>] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2087
 #1:  (cfg80211_disconnect_work){+.+.}, at: [<ffffffff813733d6>] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2091
 #2:  (rtnl_mutex){+.+.}, at: [<ffffffff86c3b8f4>] disconnect_work+0x14/0x1d0 net/wireless/sme.c:664
3 locks held by kworker/0:2/8043:
 #0:  ("events"){+.+.}, at: [<ffffffff813733a0>] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2087
 #1:  ((linkwatch_work).work){+.+.}, at: [<ffffffff813733d6>] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2091
 #2:  (rtnl_mutex){+.+.}, at: [<ffffffff85e3714a>] linkwatch_event+0xa/0x50 net/core/link_watch.c:236

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1531 Comm: khungtaskd Not tainted 4.14.202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x13a/0x17f lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline]
 watchdog+0x5b9/0xb40 kernel/hung_task.c:274
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8042 Comm: syz-executor030 Not tainted 4.14.202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880b4e002c0 task.stack: ffff8880951b0000
RIP: 0010:__sanitizer_cov_trace_pc+0x23/0x50 kernel/kcov.c:68
RSP: 0018:ffff8880951b7480 EFLAGS: 00000246
RAX: ffff8880b4e002c0 RBX: ffff888095769580 RCX: 1ffffffff1279ee0
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff888095769d60
RBP: ffff8880aa3f9820 R08: 0000000000000000 R09: 0000000000040596
R10: ffff8880b4e00bc0 R11: ffff8880b4e002c0 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff8880aa3f9800 R15: 0000000000000000
FS:  000000000194a880(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0b73e1a000 CR3: 000000009635a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ieee80211_chanctx_radar_detect+0x1b6/0x350 net/mac80211/util.c:3349
 ieee80211_check_combinations+0x31d/0x6e0 net/mac80211/util.c:3408
 ieee80211_check_concurrent_iface+0x3a6/0x530 net/mac80211/iface.c:311
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1558 [inline]
 ieee80211_if_change_type+0x212/0x470 net/mac80211/iface.c:1596
 ieee80211_change_iface+0x26/0x1e0 net/mac80211/cfg.c:156
 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline]
 cfg80211_change_iface+0x246/0x13d0 net/wireless/util.c:1048
 nl80211_set_interface+0x588/0x760 net/wireless/nl80211.c:2926
 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x4423f9
RSP: 002b:00007ffef90b5778 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004423f9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000004
RBP: 000000306e616c77 R08: 0000001300000000 R09: 0000001300000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000dfaed
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000004
Code: 00 00 e9 c6 ed ff ff 90 65 48 8b 04 25 80 df 01 00 48 85 c0 74 1a 65 8b 15 5b a2 aa 7e 81 e2 00 01 1f 00 75 0b 8b 90 58 13 00 00 <83> fa 01 74 01 c3 48 8b 34 24 48 8b 88 60 13 00 00 8b 80 5c 13 

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/27 17:47 linux-4.14.y 5b7a52cd2eef 94942294 .config console log report syz C ci2-linux-4-14
* Struck through repros no longer work on HEAD.