syzbot


INFO: task hung in addrconf_verify_work

Status: auto-obsoleted due to no activity on 2024/10/23 03:15
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+9a8b3243f77e4c2545ec@syzkaller.appspotmail.com
First crash: 214d, last: 172d
Fix commit to backport (bisect log) :
tree: upstream
commit d864319871b05fadd153e0aede4811ca7008f5d6
Author: David Ruth <druth@chromium.org>
Date: Fri Jun 14 19:03:26 2024 +0000

  net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()

  
Bug presence (1)
Date Name Commit Repro Result
2024/10/23 upstream (ToT) c2ee9f594da8 C Didn't crash
Similar bugs (21)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in addrconf_verify_work 18 1905d 2078d 0/3 auto-closed as invalid on 2020/01/31 12:44
linux-6.1 INFO: task hung in addrconf_verify_work (2) 45 57d 326d 0/3 upstream: reported on 2024/01/29 22:05
linux-4.19 INFO: task hung in addrconf_verify_work (5) 3 892d 931d 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 673d 732d 0/1 upstream: reported C repro on 2022/12/19 15:22
linux-4.19 INFO: task hung in addrconf_verify_work (3) 1 1379d 1379d 0/1 auto-closed as invalid on 2021/07/11 07:19
linux-4.19 INFO: task hung in addrconf_verify_work (4) 6 1073d 1159d 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 671d 1515d 0/1 upstream: reported C repro on 2020/10/28 05:47
upstream INFO: task hung in addrconf_verify_work (2) net C 22 1895d 1895d 13/28 fixed on 2019/11/04 14:50
linux-4.19 INFO: task hung in addrconf_verify_work (2) 2 1519d 1608d 0/1 auto-closed as invalid on 2021/02/21 08:05
android-414 INFO: task hung in addrconf_verify_work C 6 1895d 2080d 0/1 public: reported C repro on 2019/04/12 00:01
upstream INFO: task hung in addrconf_verify_work (8) net C error 1294 164d 368d 26/28 fixed on 2024/07/09 19:14
android-44 INFO: task hung in addrconf_verify_work 3 2412d 2441d 0/2 auto-closed as invalid on 2019/02/22 14:29
linux-4.19 INFO: task hung in addrconf_verify_work 1 1738d 1738d 0/1 auto-closed as invalid on 2020/07/16 23:17
upstream INFO: task hung in addrconf_verify_work (3) C done 75 1509d 1543d 15/28 fixed on 2020/11/16 12:12
upstream INFO: task hung in addrconf_verify_work (5) net C done done 68 1087d 1179d 0/28 closed as invalid on 2022/02/01 17:39
upstream INFO: task hung in addrconf_verify_work (7) netfilter C error 64 387d 534d 0/28 closed as invalid on 2023/12/01 14:19
linux-6.1 INFO: task hung in addrconf_verify_work 2 596d 647d 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 1664d 1736d 0/1 auto-closed as invalid on 2020/09/29 04:19
upstream INFO: task hung in addrconf_verify_work net C 2 2461d 2461d 0/28 closed as invalid on 2018/03/27 11:14
upstream INFO: task hung in addrconf_verify_work (4) C done 132 1400d 1487d 20/28 fixed on 2021/04/09 19:46
upstream INFO: task hung in addrconf_verify_work (6) C done 86 669d 906d 22/28 fixed on 2023/02/24 13:51
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/08/08 02:29 6h18m fix candidate upstream OK (1) job log

Sample crash report:
INFO: task kworker/1:2:1067 blocked for more than 143 seconds.
      Not tainted 5.15.161-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:2     state:D stack:26688 pid: 1067 ppid:     2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_verify_work
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4656
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/1:2/1067:
 #0: ffff888023916138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
 #1: ffffc900046cfd20 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
 #2: ffffffff8d9e8348 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4656
2 locks held by getty/3256:
 #0: ffff8880248ce098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc9000249b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
1 lock held by syz-executor108/3522:

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

NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.161-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
 watchdog+0xe72/0xeb0 kernel/hung_task.c:295
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3522 Comm: syz-executor108 Not tainted 5.15.161-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:___might_sleep+0x1cf/0x6a0 kernel/sched/core.c:9594
Code: 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 42 80 3c 33 00 74 0e 4c 89 e7 48 89 d3 e8 ec 00 71 00 48 89 da f6 84 24 a1 00 00 00 02 <45> 89 ec 74 46 4c 8d 62 2c 4c 89 e0 48 c1 e8 03 42 0f b6 04 30 84
RSP: 0018:ffffc90002f365a0 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 1ffff920005e6cc8 RCX: ffff8880135f5940
RDX: ffff8880135f5940 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f740
RBP: ffffc90002f366b0 R08: dffffc0000000000 R09: ffffc90002f36780
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90002f36640
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff920005e6cbc
FS:  00005555573bb380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005586a0a4c6d8 CR3: 000000001c11c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 __mutex_lock_common+0xd4/0x25a0 kernel/locking/mutex.c:573
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 tcf_idr_check_alloc+0xa1/0x380 net/sched/act_api.c:568
 tcf_police_init+0x294/0x17c0 net/sched/act_police.c:84
 tcf_action_init_1+0x50f/0x7f0 net/sched/act_api.c:1051
 tcf_action_init+0x2f3/0x750 net/sched/act_api.c:1110
 tcf_action_add net/sched/act_api.c:1522 [inline]
 tc_ctl_action+0x49b/0xd00 net/sched/act_api.c:1581
 rtnetlink_rcv_msg+0x993/0xee0 net/core/rtnetlink.c:5629
 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2508
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1924
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485
 __sys_sendmsg net/socket.c:2514 [inline]
 __do_sys_sendmsg net/socket.c:2523 [inline]
 __se_sys_sendmsg+0x19a/0x260 net/socket.c:2521
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9d0183bdf9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeb0daa0d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9d0183bdf9
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.174 msecs

Crashes (53):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/02 03:41 linux-5.15.y 4878aadf2d15 b294e901 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/30 22:06 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/24 10:12 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/24 04:38 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/24 01:58 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/23 22:55 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/23 09:06 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/23 06:06 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/22 16:37 linux-5.15.y 4878aadf2d15 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/21 07:24 linux-5.15.y 4878aadf2d15 dac2aa43 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/20 10:53 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/20 08:39 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/14 06:57 linux-5.15.y c61bd26ae81a a9616ff5 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/14 04:13 linux-5.15.y c61bd26ae81a a9616ff5 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/11 17:04 linux-5.15.y c61bd26ae81a b7d9eb04 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/10 12:12 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/10 04:28 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/09 23:12 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/09 02:19 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/08 23:28 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/08 21:03 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/08 18:24 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/08 16:09 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/08 13:22 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/08 10:56 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/08 07:43 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/08 05:12 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/07 14:02 linux-5.15.y c61bd26ae81a 121701b6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/07 07:15 linux-5.15.y c61bd26ae81a 121701b6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/07 02:05 linux-5.15.y c61bd26ae81a 121701b6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/05 11:04 linux-5.15.y c61bd26ae81a e1e2c66e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/04 11:27 linux-5.15.y c61bd26ae81a a1feae05 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/03 08:11 linux-5.15.y c61bd26ae81a 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/02 05:00 linux-5.15.y c61bd26ae81a 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/02 02:14 linux-5.15.y c61bd26ae81a 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/01 22:49 linux-5.15.y c61bd26ae81a 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/01 19:36 linux-5.15.y c61bd26ae81a 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/06/01 13:58 linux-5.15.y c61bd26ae81a 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/29 15:54 linux-5.15.y c61bd26ae81a 34889ee3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/29 12:47 linux-5.15.y c61bd26ae81a 34889ee3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/29 10:19 linux-5.15.y c61bd26ae81a 34889ee3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/28 15:20 linux-5.15.y c61bd26ae81a f550015e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/27 09:06 linux-5.15.y c61bd26ae81a a10a183e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/26 09:52 linux-5.15.y c61bd26ae81a a10a183e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/26 07:03 linux-5.15.y c61bd26ae81a a10a183e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/24 15:40 linux-5.15.y 83655231580b 8f98448e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/24 11:28 linux-5.15.y 83655231580b 8f98448e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/23 21:27 linux-5.15.y 83655231580b 4c2072ee .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/21 05:20 linux-5.15.y 83655231580b c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/21 02:49 linux-5.15.y 83655231580b c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/20 23:55 linux-5.15.y 83655231580b c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/20 20:40 linux-5.15.y 83655231580b c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
2024/05/20 18:54 linux-5.15.y 83655231580b c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in addrconf_verify_work
* Struck through repros no longer work on HEAD.