syzbot


INFO: task hung in addrconf_verify_work (4)

Status: auto-closed as invalid on 2022/05/13 00:19
Reported-by: syzbot+de15c89ae05ceda4f4d3@syzkaller.appspotmail.com
First crash: 919d, last: 833d
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 1665d 1837d 0/3 auto-closed as invalid on 2020/01/31 12:44
linux-6.1 INFO: task hung in addrconf_verify_work (2) 3 40d 86d 0/3 upstream: reported on 2024/01/29 22:05
linux-4.19 INFO: task hung in addrconf_verify_work (5) 3 651d 691d 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 433d 492d 0/1 upstream: reported C repro on 2022/12/19 15:22
linux-4.19 INFO: task hung in addrconf_verify_work (3) 1 1138d 1138d 0/1 auto-closed as invalid on 2021/07/11 07:19
linux-4.14 INFO: task hung in addrconf_verify_work (2) C error 7 431d 1274d 0/1 upstream: reported C repro on 2020/10/28 05:47
upstream INFO: task hung in addrconf_verify_work (2) net C 22 1654d 1654d 13/26 fixed on 2019/11/04 14:50
linux-4.19 INFO: task hung in addrconf_verify_work (2) 2 1278d 1368d 0/1 auto-closed as invalid on 2021/02/21 08:05
android-414 INFO: task hung in addrconf_verify_work C 6 1654d 1840d 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 17d 128d 0/26 upstream: reported C repro on 2023/12/18 14:44
android-44 INFO: task hung in addrconf_verify_work 3 2171d 2200d 0/2 auto-closed as invalid on 2019/02/22 14:29
linux-4.19 INFO: task hung in addrconf_verify_work 1 1498d 1498d 0/1 auto-closed as invalid on 2020/07/16 23:17
upstream INFO: task hung in addrconf_verify_work (3) C done 75 1268d 1303d 15/26 fixed on 2020/11/16 12:12
upstream INFO: task hung in addrconf_verify_work (5) net C done done 68 846d 938d 0/26 closed as invalid on 2022/02/01 17:39
upstream INFO: task hung in addrconf_verify_work (7) netfilter C error 64 147d 294d 0/26 closed as invalid on 2023/12/01 14:19
linux-6.1 INFO: task hung in addrconf_verify_work 2 356d 407d 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 1424d 1495d 0/1 auto-closed as invalid on 2020/09/29 04:19
upstream INFO: task hung in addrconf_verify_work net C 2 2221d 2221d 0/26 closed as invalid on 2018/03/27 11:14
upstream INFO: task hung in addrconf_verify_work (4) C done 132 1159d 1247d 20/26 fixed on 2021/04/09 19:46
upstream INFO: task hung in addrconf_verify_work (6) C done 86 429d 666d 22/26 fixed on 2023/02/24 13:51

Sample crash report:
ieee802154 phy1 wpan1: encryption failed: -22
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
INFO: task kworker/1:4:8132 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/1:4     D25712  8132      2 0x80000000
Workqueue: ipv6_addrconf addrconf_verify_work
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1016 [inline]
 __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
 addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4476
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
INFO: task syz-executor.0:12316 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D24120 12316      1 0x80000002
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1016 [inline]
 __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
 netdev_run_todo+0x719/0xab0 net/core/dev.c:9005
 tun_detach drivers/net/tun.c:765 [inline]
 tun_chr_close+0xf5/0x180 drivers/net/tun.c:3323
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
 do_group_exit+0x125/0x310 kernel/exit.c:967
 __do_sys_exit_group kernel/exit.c:978 [inline]
 __se_sys_exit_group kernel/exit.c:976 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fb966323eb9
Code: Bad RIP value.
RSP: 002b:00007ffebffca7c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fb966323eb9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000043
RBP: 0000000000000000 R08: 000000000000002e R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb96637e0f3
R13: 000000000000000b R14: 0000000000000001 R15: 00007ffebffca9b0

Showing all locks held in the system:
3 locks held by kworker/0:0/5:
 #0: 00000000f0949170 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
 #1: 000000001376424c (deferred_process_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
 #2: 000000002653f584 (rtnl_mutex){+.+.}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:150
2 locks held by kworker/1:1/47:
3 locks held by kworker/u4:4/133:
1 lock held by khungtaskd/1571:
 #0: 00000000ee0799a7 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
1 lock held by khugepaged/1578:
1 lock held by in:imklog/7779:
 #0: 000000002087ac43 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767
3 locks held by kworker/1:4/8132:
 #0: 0000000055131884 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
 #1: 000000009bc6dad0 ((addr_chk_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
 #2: 000000002653f584 (rtnl_mutex){+.+.}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4476
2 locks held by agetty/24986:
 #0: 0000000056d9e64d (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272
 #1: 0000000068b9b24e (&tty->atomic_write_lock){+.+.}, at: tty_write_lock drivers/tty/tty_io.c:886 [inline]
 #1: 0000000068b9b24e (&tty->atomic_write_lock){+.+.}, at: do_tty_write drivers/tty/tty_io.c:909 [inline]
 #1: 0000000068b9b24e (&tty->atomic_write_lock){+.+.}, at: tty_write+0x24e/0x810 drivers/tty/tty_io.c:1044
3 locks held by kworker/1:5/14733:
 #0: 00000000f0949170 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
 #1: 00000000b416ff62 ((linkwatch_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
 #2: 000000002653f584 (rtnl_mutex){+.+.}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:236
4 locks held by kworker/u4:9/14891:
 #0: 000000003748e8ca ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124
 #1: 00000000989359af (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128
 #2: 000000002754d911 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521
 #3: 000000002653f584 (rtnl_mutex){+.+.}, at: netdev_run_todo+0x719/0xab0 net/core/dev.c:9005
1 lock held by syz-executor.0/12316:
 #0: 000000002653f584 (rtnl_mutex){+.+.}, at: netdev_run_todo+0x719/0xab0 net/core/dev.c:9005
2 locks held by syz-executor.2/12473:
 #0: 000000002653f584 (rtnl_mutex){+.+.}, at: tun_detach drivers/net/tun.c:759 [inline]
 #0: 000000002653f584 (rtnl_mutex){+.+.}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3323
 #1: 00000000a2588b1d (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
 #1: 00000000a2588b1d (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x256/0x6f0 kernel/rcu/tree_exp.h:667
1 lock held by syz-executor.5/15303:
 #0: 00000000cbad5703 (namespace_sem){++++}, at: namespace_lock fs/namespace.c:1370 [inline]
 #0: 00000000cbad5703 (namespace_sem){++++}, at: copy_mnt_ns+0x15d/0xad0 fs/namespace.c:2915
1 lock held by syz-executor.5/15379:
 #0: 00000000cbad5703 (namespace_sem){++++}, at: namespace_lock fs/namespace.c:1370 [inline]
 #0: 00000000cbad5703 (namespace_sem){++++}, at: copy_mnt_ns+0x15d/0xad0 fs/namespace.c:2915
1 lock held by syz-executor.5/15393:
 #0: 00000000cbad5703 (namespace_sem){++++}, at: namespace_lock fs/namespace.c:1370 [inline]
 #0: 00000000cbad5703 (namespace_sem){++++}, at: copy_mnt_ns+0x15d/0xad0 fs/namespace.c:2915
1 lock held by syz-executor.5/15413:
 #0: 00000000cbad5703 (namespace_sem){++++}, at: namespace_lock fs/namespace.c:1370 [inline]
 #0: 00000000cbad5703 (namespace_sem){++++}, at: copy_mnt_ns+0x15d/0xad0 fs/namespace.c:2915
1 lock held by syz-executor.5/15446:
 #0: 00000000cbad5703 (namespace_sem){++++}, at: namespace_lock fs/namespace.c:1370 [inline]
 #0: 00000000cbad5703 (namespace_sem){++++}, at: copy_mnt_ns+0x15d/0xad0 fs/namespace.c:2915
1 lock held by syz-executor.5/15507:
 #0: 00000000cbad5703 (namespace_sem){++++}, at: namespace_lock fs/namespace.c:1370 [inline]
 #0: 00000000cbad5703 (namespace_sem){++++}, at: copy_mnt_ns+0x15d/0xad0 fs/namespace.c:2915
1 lock held by syz-executor.5/15628:
 #0: 00000000cbad5703 (namespace_sem){++++}, at: namespace_lock fs/namespace.c:1370 [inline]
 #0: 00000000cbad5703 (namespace_sem){++++}, at: copy_mnt_ns+0x15d/0xad0 fs/namespace.c:2915
1 lock held by syz-executor.5/16476:
 #0: 00000000a2588b1d (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
 #0: 00000000a2588b1d (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x256/0x6f0 kernel/rcu/tree_exp.h:667

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

NMI backtrace for cpu 0
CPU: 0 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x991/0xe60 kernel/hung_task.c:287
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 18489 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:23 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline]
RIP: 0010:write_comp_data+0xf/0x70 kernel/kcov.c:122
Code: 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 c0 df 01 00 <65> 8b 05 7a 59 9f 7e a9 00 01 1f 00 75 4f 8b 86 60 13 00 00 83 f8
RSP: 0018:ffff888020c8f7b0 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffea00023de0c0 RCX: ffffffff81941fea
RDX: 0000000000000000 RSI: ffff888091f2a400 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffea00023de0c0 R15: 00007fd16515d000
FS:  00007fd163cd6700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd163cd66bc CR3: 000000004cb9d000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 PageCompound include/linux/page-flags.h:156 [inline]
 PageHuge+0x3a/0x160 mm/hugetlb.c:1374
 page_remove_file_rmap+0x3e/0xa30 mm/rmap.c:1215
 page_remove_rmap+0xe5/0x120 mm/rmap.c:1297
 zap_pte_range mm/memory.c:1350 [inline]
 zap_pmd_range mm/memory.c:1463 [inline]
 zap_pud_range mm/memory.c:1492 [inline]
 zap_p4d_range mm/memory.c:1513 [inline]
 unmap_page_range+0x147d/0x2c50 mm/memory.c:1534
 unmap_single_vma+0x198/0x300 mm/memory.c:1579
 unmap_vmas+0xa9/0x180 mm/memory.c:1609
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1016 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1037
 copy_process.part.0+0x57e4/0x8260 kernel/fork.c:2119
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fd1653a2eb9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd163cd6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fd1654b6100 RCX: 00007fd1653a2eb9
RDX: 9999999999999999 RSI: 0000000000000000 RDI: 0000000000020000
RBP: 00007fd1653fd08d R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd750d43cf R14: 00007fd163cd6300 R15: 0000000000022000
----------------
Code disassembly (best guess):
   0:	8b 11                	mov    (%rcx),%edx
   2:	48 83 c2 01          	add    $0x1,%rdx
   6:	48 39 d0             	cmp    %rdx,%rax
   9:	76 07                	jbe    0x12
   b:	48 89 34 d1          	mov    %rsi,(%rcx,%rdx,8)
   f:	48 89 11             	mov    %rdx,(%rcx)
  12:	c3                   	retq
  13:	0f 1f 84 00 00 00 00 	nopl   0x0(%rax,%rax,1)
  1a:	00
  1b:	49 89 f1             	mov    %rsi,%r9
  1e:	49 89 fa             	mov    %rdi,%r10
  21:	65 48 8b 34 25 c0 df 	mov    %gs:0x1dfc0,%rsi
  28:	01 00
* 2a:	65 8b 05 7a 59 9f 7e 	mov    %gs:0x7e9f597a(%rip),%eax        # 0x7e9f59ab <-- trapping instruction
  31:	a9 00 01 1f 00       	test   $0x1f0100,%eax
  36:	75 4f                	jne    0x87
  38:	8b 86 60 13 00 00    	mov    0x1360(%rsi),%eax
  3e:	83                   	.byte 0x83
  3f:	f8                   	clc

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/13 00:18 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 INFO: task hung in addrconf_verify_work
2022/01/09 13:30 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 INFO: task hung in addrconf_verify_work
2021/12/23 00:16 linux-4.19.y 3f8a27f9e27b 6caa12e4 .config console log report info ci2-linux-4-19 INFO: task hung in addrconf_verify_work
2021/12/13 00:49 linux-4.19.y 3f8a27f9e27b 49ca1f59 .config console log report info ci2-linux-4-19 INFO: task hung in addrconf_verify_work
2021/11/09 16:14 linux-4.19.y 3f8a27f9e27b 59bcaf9a .config console log report info ci2-linux-4-19 INFO: task hung in addrconf_verify_work
2021/10/18 15:12 linux-4.19.y 3f8a27f9e27b 0c5d9412 .config console log report info ci2-linux-4-19 INFO: task hung in addrconf_verify_work
* Struck through repros no longer work on HEAD.