syzbot


INFO: task hung in addrconf_verify_work (5)

Status: closed as invalid on 2022/02/01 17:39
Subsystems: net
[Documentation on labels]
First crash: 1265d, last: 1012d
Cause bisection: introduced by (bisect log) :
commit 13d9c6b998aaa76fd098133277a28a21f2cc2264
Author: Takashi Iwai <tiwai@suse.de>
Date: Fri Aug 20 14:32:14 2021 +0000

  ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17

Crash: BUG: sleeping function called from invalid context in lock_sock_nested (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 496a18f09374ad89b3ab4366019bc3975db90234
Author: Kan Liang <kan.liang@linux.intel.com>
Date: Thu Aug 26 15:32:37 2021 +0000

  perf/x86/intel/uncore: Support extra IMC channel on Ice Lake server

  
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 1831d 2003d 0/3 auto-closed as invalid on 2020/01/31 12:44
linux-6.1 INFO: task hung in addrconf_verify_work (2) 44 30d 251d 0/3 upstream: reported on 2024/01/29 22:05
linux-4.19 INFO: task hung in addrconf_verify_work (5) 3 817d 856d 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 598d 658d 0/1 upstream: reported C repro on 2022/12/19 15:22
linux-4.19 INFO: task hung in addrconf_verify_work (3) 1 1304d 1304d 0/1 auto-closed as invalid on 2021/07/11 07:19
linux-4.19 INFO: task hung in addrconf_verify_work (4) 6 998d 1085d 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 596d 1440d 0/1 upstream: reported C repro on 2020/10/28 05:47
upstream INFO: task hung in addrconf_verify_work (2) net C 22 1820d 1820d 13/28 fixed on 2019/11/04 14:50
linux-4.19 INFO: task hung in addrconf_verify_work (2) 2 1444d 1534d 0/1 auto-closed as invalid on 2021/02/21 08:05
linux-5.15 INFO: task hung in addrconf_verify_work origin:upstream missing-backport C done 53 97d 140d 0/3 upstream: reported C repro on 2024/05/20 18:55
android-414 INFO: task hung in addrconf_verify_work C 6 1820d 2005d 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 90d 294d 26/28 fixed on 2024/07/09 19:14
android-44 INFO: task hung in addrconf_verify_work 3 2337d 2366d 0/2 auto-closed as invalid on 2019/02/22 14:29
linux-4.19 INFO: task hung in addrconf_verify_work 1 1663d 1663d 0/1 auto-closed as invalid on 2020/07/16 23:17
upstream INFO: task hung in addrconf_verify_work (3) C done 75 1434d 1468d 15/28 fixed on 2020/11/16 12:12
upstream INFO: task hung in addrconf_verify_work (7) netfilter C error 64 312d 460d 0/28 closed as invalid on 2023/12/01 14:19
linux-6.1 INFO: task hung in addrconf_verify_work 2 521d 572d 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 1589d 1661d 0/1 auto-closed as invalid on 2020/09/29 04:19
upstream INFO: task hung in addrconf_verify_work net C 2 2386d 2387d 0/28 closed as invalid on 2018/03/27 11:14
upstream INFO: task hung in addrconf_verify_work (4) C done 132 1325d 1412d 20/28 fixed on 2021/04/09 19:46
upstream INFO: task hung in addrconf_verify_work (6) C done 86 595d 832d 22/28 fixed on 2023/02/24 13:51

Sample crash report:
INFO: task kworker/1:0:20 blocked for more than 143 seconds.
      Not tainted 5.15.0-rc5-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0     state:D stack:26600 pid:   20 ppid:     2 flags:0x00004000
Workqueue: ipv6_addrconf addrconf_verify_work
Call Trace:
 context_switch kernel/sched/core.c:4940 [inline]
 __schedule+0xb44/0x5960 kernel/sched/core.c:6287
 schedule+0xd3/0x270 kernel/sched/core.c:6366
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425
 __mutex_lock_common kernel/locking/mutex.c:669 [inline]
 __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729
 addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4590
 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

Showing all locks held in the system:
3 locks held by kworker/1:0/20:
 #0: ffff888025c53938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888025c53938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
 #0: ffff888025c53938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
 #0: ffff888025c53938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline]
 #0: ffff888025c53938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline]
 #0: ffff888025c53938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268
 #1: ffffc90000da7db0 ((addr_chk_work).work){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272
 #2: ffffffff8d0e90e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4590
1 lock held by khungtaskd/26:
 #0: ffffffff8b981ee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446
1 lock held by syz-executor683/4974:
 #0: ffffffff8d0e90e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d0e90e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5569

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

NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc5-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+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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+0xc1d/0xf50 kernel/hung_task.c:295
 kthread+0x3e5/0x4d0 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: 22172 Comm: kworker/u4:1 Not tainted 5.15.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:kasan_check_range+0x13d/0x180 mm/kasan/generic.c:190
Code: c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b b8 01 00 00 00 5d 41 5c c3 44 89 c2 e8 73 f0 ff ff <5b> 83 f0 01 5d 41 5c c3 48 29 c3 48 89 da 49 89 d3 49 c1 fb 3f 49
RSP: 0018:ffffc90006aef9c0 EFLAGS: 00000086
RAX: 0000000000000000 RBX: ffffffff8d6ee34c RCX: ffffffff812a7c7d
RDX: 0000000000000001 RSI: 0000000000000001 RDI: 00002aaaaaaab1b9
RBP: ffffffff8eeeb369 R08: 0000000000000001 R09: 00002aaaaaaab1ba
R10: fffffbfff1ddd66d R11: 000000000000003f R12: 0000000000000001
R13: 00002aaaaaaab1b9 R14: 00000000000001ba R15: ffffffff8baac4e0
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5e6c69e000 CR3: 00000001400d1000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 memcpy+0x39/0x60 mm/kasan/shadow.c:66
 memcpy include/linux/fortify-string.h:191 [inline]
 __text_poke+0x48d/0x8c0 arch/x86/kernel/alternative.c:841
 text_poke_bp_batch+0x3d7/0x560 arch/x86/kernel/alternative.c:1178
 text_poke_flush arch/x86/kernel/alternative.c:1268 [inline]
 text_poke_flush arch/x86/kernel/alternative.c:1265 [inline]
 text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1275
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830
 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177
 static_key_enable+0x16/0x20 kernel/jump_label.c:190
 toggle_allocation_gate mm/kfence/core.c:626 [inline]
 toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:618
 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	e9 55 ff ff ff       	jmpq   0xffffff5a
   5:	49 39 d2             	cmp    %rdx,%r10
   8:	75 17                	jne    0x21
   a:	49 0f be 02          	movsbq (%r10),%rax
   e:	41 83 e1 07          	and    $0x7,%r9d
  12:	49 39 c1             	cmp    %rax,%r9
  15:	7d 0a                	jge    0x21
  17:	5b                   	pop    %rbx
  18:	b8 01 00 00 00       	mov    $0x1,%eax
  1d:	5d                   	pop    %rbp
  1e:	41 5c                	pop    %r12
  20:	c3                   	retq
  21:	44 89 c2             	mov    %r8d,%edx
  24:	e8 73 f0 ff ff       	callq  0xfffff09c
* 29:	5b                   	pop    %rbx <-- trapping instruction
  2a:	83 f0 01             	xor    $0x1,%eax
  2d:	5d                   	pop    %rbp
  2e:	41 5c                	pop    %r12
  30:	c3                   	retq
  31:	48 29 c3             	sub    %rax,%rbx
  34:	48 89 da             	mov    %rbx,%rdx
  37:	49 89 d3             	mov    %rdx,%r11
  3a:	49 c1 fb 3f          	sar    $0x3f,%r11
  3e:	49                   	rex.WB

Crashes (68):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/19 18:09 net-next-old cb3dc8901ba4 24dc29db .config console log report syz C ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/19 04:22 net-next-old f616447034a1 24dc29db .config console log report syz C ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/18 20:28 net-next-old d40dfa0cebd8 0c5d9412 .config console log report syz C ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/18 19:13 net-next-old d40dfa0cebd8 0c5d9412 .config console log report syz C ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/12/29 14:44 upstream e7c124bd0463 6cc879d4 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/11/06 10:14 upstream fe91c4725aee 4c1be0be .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/09/29 16:42 upstream 02d5e016800d be530f6c .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/09/29 14:17 upstream a4e6f95a891a be530f6c .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/09/29 08:59 upstream a4e6f95a891a d82cb927 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/09/28 03:03 upstream 0513e464f900 78494d16 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/09/24 21:36 upstream 4c4f0c2bf341 8cac236e .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/09/24 02:14 upstream f9e36107ec70 8cac236e .config console log report info ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/09/22 02:32 upstream 92477dd1faa6 169724fe .config console log report info ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/09/21 15:18 upstream d9fb678414c0 169724fe .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/09/20 16:32 upstream e4e737bb5c17 af796c18 .config console log report info ci-upstream-kasan-gce INFO: task hung in addrconf_verify_work
2021/09/20 06:20 upstream e4e737bb5c17 70b76c1d .config console log report info ci-upstream-kasan-gce INFO: task hung in addrconf_verify_work
2021/09/17 09:47 upstream bdb575f87217 5b989942 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/09/15 23:07 upstream 3ca706c189db 07e953c1 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/09/15 12:00 upstream 3ca706c189db 07e953c1 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/09/15 07:50 upstream 1619b69edce1 07e953c1 .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in addrconf_verify_work
2021/09/13 10:55 upstream 6880fa6c5660 3ce60af8 .config console log report info ci-upstream-kasan-gce INFO: task hung in addrconf_verify_work
2021/09/11 09:25 upstream 926de8c4326c 5ae8508a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/09/09 22:23 upstream a3fa7a101dcf e2776ee4 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: task hung in addrconf_verify_work
2021/06/03 08:11 upstream 324c92e5e0ee 0740de69 .config console log report info ci-upstream-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/09/30 21:09 upstream 02d5e016800d 1d849ab4 .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/09/29 17:19 upstream 02d5e016800d be530f6c .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/09/29 06:10 upstream a4e6f95a891a d82cb927 .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/09/28 08:03 upstream 0513e464f900 78494d16 .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/09/21 13:38 upstream d9fb678414c0 169724fe .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/09/18 23:46 upstream d4d016caa4b8 70b76c1d .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/09/11 19:20 upstream c605c39677b9 5ae8508a .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/09/08 11:54 upstream ac08b1c68d1b e2776ee4 .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/04/22 00:57 upstream 16fc44d6387e 2bc8999a .config console log report info ci-upstream-kasan-gce-386 INFO: task hung in addrconf_verify_work
2021/09/10 18:33 net-old 20e100f52730 5ae8508a .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/09/05 22:01 net-old 57f780f1c433 d236a457 .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/06/10 23:58 net-old 3bdd5ee0ec8c 1ba81399 .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/06/09 09:01 net-old 7a6b1ab7475f 5c2fe346 .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/06/01 18:45 net-old 4ac06a1e013c 032639db .config console log report info ci-upstream-net-this-kasan-gce INFO: task hung in addrconf_verify_work
2021/12/30 06:26 net-next-old cfcad56b2089 6cc879d4 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/20 04:21 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/20 00:02 net-next-old cb3dc8901ba4 466b7db1 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/19 13:03 net-next-old cb3dc8901ba4 24dc29db .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/19 00:54 net-next-old f616447034a1 24dc29db .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/18 16:09 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/18 13:54 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/18 13:34 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/10/18 12:22 net-next-old d40dfa0cebd8 0c5d9412 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/05/18 20:55 net-next-old 06b38e233ce4 a343ba6b .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/05/14 12:08 net-next-old ea89c862f01e 8bdd5343 .config console log report info ci-upstream-net-kasan-gce INFO: task hung in addrconf_verify_work
2021/12/05 15:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9899aa5ba525 a617004c .config console log report info ci2-upstream-usb INFO: task hung in addrconf_verify_work
2021/10/21 02:26 linux-next 51dba6e335ff f111d03b .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/10/20 13:21 linux-next 51dba6e335ff 418a00eb .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/10/20 11:28 linux-next 51dba6e335ff 418a00eb .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/10/20 10:32 linux-next 51dba6e335ff 418a00eb .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/10/20 09:21 linux-next 51dba6e335ff 466b7db1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/10/20 08:18 linux-next 51dba6e335ff 466b7db1 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in addrconf_verify_work
2021/04/21 11:15 linux-next 1216f02e46a4 95777977 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: task hung in addrconf_verify_work
* Struck through repros no longer work on HEAD.