syzbot


INFO: task hung in addrconf_verify_work (4)

Status: fixed on 2021/04/09 19:46
Reported-by: syzbot+ba67b12b1ca729912834@syzkaller.appspotmail.com
Fix commit: d349f9976868 net_sched: fix RTNL deadlock again caused by request_module()
First crash: 1249d, last: 1156d
Cause bisection: introduced by (bisect log) :
commit 0fedc63fadf0404a729e73a35349481c8009c02f
Author: Cong Wang <xiyou.wangcong@gmail.com>
Date: Wed Sep 23 03:56:24 2020 +0000

  net_sched: commit action insertions together

Crash: INFO: task hung in addrconf_dad_work (log)
Repro: C syz .config
  
Discussions (4)
Title Replies (including bot) Last reply
[PATCH 5.10 000/663] 5.10.20-rc1 review 673 (673) 2021/03/05 18:03
[PATCH 5.11 000/775] 5.11.3-rc1 review 776 (776) 2021/03/01 16:15
[Patch net-next] net_sched: fix RTNL deadlock again caused by request_module() 4 (4) 2021/01/19 04:30
INFO: task hung in addrconf_verify_work (4) 0 (1) 2020/11/25 00:55
Similar bugs (20)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in addrconf_verify_work 18 1662d 1834d 0/3 auto-closed as invalid on 2020/01/31 12:44
linux-6.1 INFO: task hung in addrconf_verify_work (2) 3 37d 83d 0/3 upstream: reported on 2024/01/29 22:05
linux-4.19 INFO: task hung in addrconf_verify_work (5) 3 648d 688d 0/1 auto-obsoleted due to no activity on 2022/11/10 09:18
linux-4.19 INFO: task hung in addrconf_verify_work (6) C error 4 430d 489d 0/1 upstream: reported C repro on 2022/12/19 15:22
linux-4.19 INFO: task hung in addrconf_verify_work (3) 1 1135d 1135d 0/1 auto-closed as invalid on 2021/07/11 07:19
linux-4.19 INFO: task hung in addrconf_verify_work (4) 6 830d 916d 0/1 auto-closed as invalid on 2022/05/13 00:19
linux-4.14 INFO: task hung in addrconf_verify_work (2) C error 7 428d 1271d 0/1 upstream: reported C repro on 2020/10/28 05:47
upstream INFO: task hung in addrconf_verify_work (2) net C 22 1651d 1651d 13/26 fixed on 2019/11/04 14:50
linux-4.19 INFO: task hung in addrconf_verify_work (2) 2 1275d 1365d 0/1 auto-closed as invalid on 2021/02/21 08:05
android-414 INFO: task hung in addrconf_verify_work C 6 1651d 1837d 0/1 public: reported C repro on 2019/04/12 00:01
upstream INFO: task hung in addrconf_verify_work (8) net C error 64 14d 125d 0/26 upstream: reported C repro on 2023/12/18 14:44
android-44 INFO: task hung in addrconf_verify_work 3 2168d 2197d 0/2 auto-closed as invalid on 2019/02/22 14:29
linux-4.19 INFO: task hung in addrconf_verify_work 1 1495d 1495d 0/1 auto-closed as invalid on 2020/07/16 23:17
upstream INFO: task hung in addrconf_verify_work (3) C done 75 1265d 1299d 15/26 fixed on 2020/11/16 12:12
upstream INFO: task hung in addrconf_verify_work (5) net C done done 68 843d 935d 0/26 closed as invalid on 2022/02/01 17:39
upstream INFO: task hung in addrconf_verify_work (7) netfilter C error 64 144d 291d 0/26 closed as invalid on 2023/12/01 14:19
linux-6.1 INFO: task hung in addrconf_verify_work 2 353d 404d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:09
linux-4.14 INFO: task hung in addrconf_verify_work 4 1420d 1492d 0/1 auto-closed as invalid on 2020/09/29 04:19
upstream INFO: task hung in addrconf_verify_work net C 2 2218d 2218d 0/26 closed as invalid on 2018/03/27 11:14
upstream INFO: task hung in addrconf_verify_work (6) C done 86 426d 663d 22/26 fixed on 2023/02/24 13:51

Sample crash report:
INFO: task kworker/1:2:3645 blocked for more than 143 seconds.
      Not tainted 5.11.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:2     state:D stack:26432 pid: 3645 ppid:     2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_verify_work
Call Trace:
 context_switch kernel/sched/core.c:4327 [inline]
 __schedule+0x999/0xe70 kernel/sched/core.c:5078
 schedule+0x14b/0x200 kernel/sched/core.c:5157
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:5216
 __mutex_lock_common+0x124f/0x2f00 kernel/locking/mutex.c:1033
 __mutex_lock kernel/locking/mutex.c:1103 [inline]
 mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:1118
 addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4570
 process_one_work+0x789/0xfc0 kernel/workqueue.c:2275
 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421
 kthread+0x39a/0x3c0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

Showing all locks held in the system:
1 lock held by khungtaskd/1645:
 #0: ffffffff8c711680 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151
3 locks held by kworker/1:2/3645:
 #0: ffff888147206d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x6f4/0xfc0 kernel/workqueue.c:2248
 #1: ffffc900024d7d78 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x733/0xfc0 kernel/workqueue.c:2250
 #2: ffffffff8d6ee888 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4570
1 lock held by in:imklog/8108:
 #0: ffff8880192f0370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:947
2 locks held by syz-executor117/8421:

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

NMI backtrace for cpu 0
CPU: 0 PID: 1645 Comm: khungtaskd Not tainted 5.11.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x137/0x1be lib/dump_stack.c:120
 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline]
 watchdog+0xce9/0xd30 kernel/hung_task.c:294
 kthread+0x39a/0x3c0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4854 Comm: systemd-journal Not tainted 5.11.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:217 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x4/0xa0 kernel/kcov.c:284
Code: c1 e0 03 48 83 c8 18 48 89 34 01 4c 89 44 f9 18 49 ff c2 4c 89 11 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 4c 8b 04 24 <65> 48 8b 14 25 80 ef 01 00 65 8b 05 b8 0a 8a 7e a9 00 01 ff 00 74
RSP: 0018:ffffc90000edfe18 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff888012425340
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff888024ce2218 R08: ffffffff81cc95ad R09: fffff520001dbfc3
R10: fffff520001dbfc3 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888024ce2220 R14: 0000000000000015 R15: ffff888024ce21c0
FS:  00007f6e2f3518c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6e2c71f018 CR3: 0000000024d92000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __put_unused_fd+0x4d/0x1c0 fs/file.c:539
 put_unused_fd+0x58/0x70 fs/file.c:549
 do_sys_openat2+0xd2/0x380 fs/open.c:1174
 do_sys_open fs/open.c:1188 [inline]
 __do_sys_open fs/open.c:1196 [inline]
 __se_sys_open fs/open.c:1192 [inline]
 __x64_sys_open+0x1af/0x1e0 fs/open.c:1192
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f6e2e8e0840
Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24
RSP: 002b:00007ffff1215078 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffff1215380 RCX: 00007f6e2e8e0840
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055e8e98e67a0
RBP: 000000000000000d R08: 000000000000ffc0 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000055e8e98d9040 R14: 00007ffff1215340 R15: 000055e8e98e6840

Crashes (132):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/20 05:56 upstream f40ddce88593 f689d40a .config console log report syz C ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/02/19 05:36 upstream f40ddce88593 14052202 .config console log report syz C ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/02/18 10:09 upstream f40ddce88593 14052202 .config console log report syz C ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/02/18 04:12 upstream f40ddce88593 14052202 .config console log report syz C ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/02/13 18:37 upstream c6d8570e4d64 98682e5e .config console log report syz C ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/02/13 07:19 upstream dcc0b49040c7 98682e5e .config console log report syz C ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/02/11 16:34 upstream 291009f656e8 a52ee10a .config console log report syz C ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/02/11 10:27 upstream 291009f656e8 a52ee10a .config console log report syz C ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/02/09 10:55 upstream e0756cfc7d7c 2bd9619f .config console log report syz C ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/02/09 07:05 upstream e0756cfc7d7c 2bd9619f .config console log report syz C ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/02/09 05:10 upstream e0756cfc7d7c 2bd9619f .config console log report syz C ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/02/06 00:38 upstream dd86e7fa07a3 23a562df .config console log report syz C ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/02/05 21:32 upstream dd86e7fa07a3 23a562df .config console log report syz C ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/02/05 08:37 upstream 5c279c4cf206 23a562df .config console log report syz C ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/01/29 19:25 upstream bec4c2968fce 6593fd32 .config console log report syz C ci-upstream-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/29 02:43 upstream e5ff2cb9cf67 7df34f59 .config console log report syz C ci-upstream-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/27 06:23 upstream 13391c60da33 55a7d4df .config console log report syz C ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/01/24 19:01 upstream e1ae4b0be158 52e37319 .config console log report syz C ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/01/23 07:03 upstream 83d09ad4b950 4080af96 .config console log report syz C ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/01/23 05:12 upstream 83d09ad4b950 4080af96 .config console log report syz C ci-upstream-kasan-gce INFO: task hung in addrconf_verify_work
2021/02/06 03:48 net-old b3d2c7b876d4 23a562df .config console log report syz C ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/02/05 15:20 net-old 7b5eab57cac4 23a562df .config console log report syz C ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/02/04 19:52 net-old d795cc02a297 42b90a7c .config console log report syz C ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/28 09:05 net-old b491e6a7391e eefc07f2 .config console log report syz C ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/25 06:46 net-old 344db93ae3ee 52e37319 .config console log report syz C ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/24 19:47 net-old 344db93ae3ee 52e37319 .config console log report syz C ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/02/06 02:02 net-next-old 4d469ec8ec05 23a562df .config console log report syz C ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/25 04:20 net-next-old a61e4b60761f 52e37319 .config console log report syz C ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/24 22:24 net-next-old a61e4b60761f 52e37319 .config console log report syz C ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/23 16:12 net-next-old 59a49d9617e2 52e37319 .config console log report syz C ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/16 08:40 upstream 5ee88057889b 65a7a854 .config console log report syz C ci-upstream-kasan-gce
2021/01/16 04:29 upstream 5ee88057889b 65a7a854 .config console log report syz C ci-upstream-kasan-gce
2021/01/16 00:01 upstream 5ee88057889b 65a7a854 .config console log report syz C ci-upstream-kasan-gce
2021/01/15 15:11 upstream 146620506274 65a7a854 .config console log report syz C ci-upstream-kasan-gce
2021/01/15 02:39 upstream 65f0d2414b70 65a7a854 .config console log report syz C ci-upstream-kasan-gce-smack-root
2021/01/14 07:15 upstream 65f0d2414b70 269d24e8 .config console log report syz C ci-upstream-kasan-gce
2021/01/13 18:43 upstream e609571b5ffa a945f0a3 .config console log report syz C ci-upstream-kasan-gce
2021/01/10 02:50 upstream 996e435fd401 2c1f2513 .config console log report syz C ci-upstream-kasan-gce
2021/01/08 20:37 upstream f5e6c330254a c104d4a3 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2021/01/08 19:29 upstream f5e6c330254a c104d4a3 .config console log report syz C ci-upstream-kasan-gce
2020/11/21 00:44 upstream 4d02da974ea8 740ff461 .config console log report syz C ci-upstream-kasan-gce-386
2021/01/10 14:03 net-old f97844f9c518 2c1f2513 .config console log report syz C ci-upstream-net-this-kasan-gce
2021/01/09 02:25 net-old 220efcf9caf7 c104d4a3 .config console log report syz C ci-upstream-net-this-kasan-gce
2021/01/08 19:46 net-old 220efcf9caf7 c104d4a3 .config console log report syz C ci-upstream-net-this-kasan-gce
2021/01/10 18:52 net-next-old 73b7a6047971 2c1f2513 .config console log report syz C ci-upstream-net-kasan-gce
2021/01/09 08:33 net-next-old 833d22f2f922 c104d4a3 .config console log report syz C ci-upstream-net-kasan-gce
2021/01/08 23:45 net-next-old 58334e753727 c104d4a3 .config console log report syz C ci-upstream-net-kasan-gce
2021/01/08 18:23 net-next-old 58334e753727 c104d4a3 .config console log report syz C ci-upstream-net-kasan-gce
2021/02/12 14:43 upstream dcc0b49040c7 a5f86b15 .config console log report info ci-upstream-kasan-gce INFO: task hung in addrconf_verify_work
2021/02/11 12:54 upstream 291009f656e8 a52ee10a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/01/29 07:30 upstream e5ff2cb9cf67 7df34f59 .config console log report info ci-upstream-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/27 22:54 upstream 76c057c84d28 eefc07f2 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/02/05 10:34 upstream 5c279c4cf206 23a562df .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/02/09 03:33 net-next-old 8e57158683c5 2bd9619f .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/01/11 19:59 upstream 7c53f6b671f4 2c1f2513 .config console log report info ci-upstream-kasan-gce-root
2020/12/31 23:16 upstream f6e1ea196492 79264ae3 .config console log report info ci-upstream-kasan-gce
2020/12/27 15:17 upstream f838f8d2b694 2242f77f .config console log report info ci-upstream-kasan-gce-root
2020/11/19 03:23 upstream c2e7554e1b85 0767f13f .config console log report info ci-upstream-kasan-gce-selinux-root
2020/11/19 15:17 net-old 6d9c8d15af0e 0767f13f .config console log report info ci-upstream-net-this-kasan-gce
2021/01/11 12:42 net-next-old 73b7a6047971 2c1f2513 .config console log report info ci-upstream-net-kasan-gce
2020/12/27 05:56 net-next-old 3db1a3fa9880 821e0b09 .config console log report info ci-upstream-net-kasan-gce
2021/01/03 13:48 linux-next d7a03a44a5e9 79264ae3 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.