syzbot


BUG: soft lockup in addrconf_rs_timer (4)

Status: closed as invalid on 2024/03/12 13:17
Subsystems: net
[Documentation on labels]
First crash: 267d, last: 267d
Similar bugs (19)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in addrconf_rs_timer (3) net syz 8 372d 436d 0/28 auto-obsoleted due to no activity on 2024/01/05 16:48
android-6-1 BUG: soft lockup in addrconf_rs_timer 1 340d 340d 0/2 auto-obsoleted due to no activity on 2024/01/27 13:54
android-5-10 BUG: soft lockup in addrconf_rs_timer (2) C 223 1d00h 103d 0/2 upstream: reported C repro on 2024/06/22 20:35
android-5-10 BUG: soft lockup in addrconf_rs_timer 2 430d 449d 0/2 auto-obsoleted due to no activity on 2023/10/29 01:38
linux-6.1 BUG: soft lockup in addrconf_rs_timer C done 26 478d 489d 3/3 fixed on 2023/07/30 15:47
linux-4.19 BUG: soft lockup in addrconf_rs_timer syz error 24 612d 1294d 0/1 upstream: reported syz repro on 2021/03/19 06:05
linux-4.14 BUG: soft lockup in addrconf_rs_timer C error 133 650d 1852d 0/1 upstream: reported C repro on 2019/09/08 14:09
linux-5.15 BUG: soft lockup in addrconf_rs_timer C error 36 477d 490d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:06
android-5-15 BUG: soft lockup in addrconf_rs_timer (2) 55 7d22h 159d 0/2 premoderation: reported on 2024/04/27 11:00
android-54 BUG: soft lockup in addrconf_rs_timer 190 92d 147d 0/2 auto-obsoleted due to no activity on 2024/08/22 17:20
upstream BUG: soft lockup in addrconf_rs_timer net 18 1656d 1852d 0/28 auto-closed as invalid on 2020/07/20 22:25
android-6-1 BUG: soft lockup in addrconf_rs_timer (2) syz 170 10d 143d 0/2 premoderation: reported syz repro on 2024/05/13 20:21
upstream BUG: soft lockup in addrconf_rs_timer (2) net C 51 470d 491d 23/28 fixed on 2023/07/04 09:17
android-5-15 BUG: soft lockup in addrconf_rs_timer 1 438d 438d 0/2 auto-obsoleted due to no activity on 2023/10/21 14:14
upstream INFO: rcu detected stall in addrconf_rs_timer (4) net C error error 121 1068d 1522d 0/28 closed as invalid on 2022/02/08 10:39
linux-6.1 INFO: rcu detected stall in addrconf_rs_timer 36 10d 132d 0/3 upstream: reported on 2024/05/24 18:08
linux-5.15 INFO: rcu detected stall in addrconf_rs_timer origin:upstream C error 29 1d09h 298d 0/3 upstream: reported C repro on 2023/12/10 10:27
upstream INFO: rcu detected stall in addrconf_rs_timer (6) usb syz error 377 10h52m 124d 0/28 upstream: reported syz repro on 2024/06/01 13:51
upstream INFO: rcu detected stall in addrconf_rs_timer (5) kvm 4 892d 892d 0/28 auto-closed as invalid on 2022/06/24 22:41

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 128s! [syz-executor.3:6257]
Modules linked in:
irq event stamp: 27656555
hardirqs last  enabled at (27656554): [<ffffffff8a8215bb>] irqentry_exit+0x3b/0x80 kernel/entry/common.c:435
hardirqs last disabled at (27656555): [<ffffffff8a82026e>] sysvec_apic_timer_interrupt+0xe/0xb0 arch/x86/kernel/apic/apic.c:1076
softirqs last  enabled at (5358976): [<ffffffff8a85c2f7>] softirq_handle_end kernel/softirq.c:399 [inline]
softirqs last  enabled at (5358976): [<ffffffff8a85c2f7>] __do_softirq+0x597/0x8de kernel/softirq.c:582
softirqs last disabled at (5362239): [<ffffffff814fa097>] invoke_softirq kernel/softirq.c:427 [inline]
softirqs last disabled at (5362239): [<ffffffff814fa097>] __irq_exit_rcu kernel/softirq.c:632 [inline]
softirqs last disabled at (5362239): [<ffffffff814fa097>] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
CPU: 1 PID: 6257 Comm: syz-executor.3 Not tainted 6.7.0-rc8-syzkaller-02016-g3fbf61207c66 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:__sanitizer_cov_trace_pc+0x59/0x60 kernel/kcov.c:225
Code: 82 d8 15 00 00 83 f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 48 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 <c3> 66 0f 1f 44 00 00 f3 0f 1e fa 41 57 41 56 49 89 d6 41 55 41 54
RSP: 0018:ffffc900001f05c8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc900001f0698 RCX: ffffffff8139f466
RDX: ffff88808da1bb80 RSI: ffffffff8139f470 RDI: 0000000000000005
RBP: ffffc900001f0f28 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000005 R12: ffffc900001f06a0
R13: ffffc900001f06a8 R14: ffffc900001e9000 R15: 0000000000000002
FS:  00007f67b19d66c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000a9b000 CR3: 0000000042bcd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 on_stack arch/x86/include/asm/stacktrace.h:58 [inline]
 stack_access_ok+0xa0/0x270 arch/x86/kernel/unwind_orc.c:393
 deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline]
 unwind_next_frame+0xd87/0x2390 arch/x86/kernel/unwind_orc.c:585
 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
 ref_tracker_alloc+0x1be/0x5a0 lib/ref_tracker.c:209
 __netdev_tracker_alloc include/linux/netdevice.h:4147 [inline]
 netdev_hold include/linux/netdevice.h:4176 [inline]
 dst_init+0xda/0x580 net/core/dst.c:52
 dst_alloc+0xbb/0x190 net/core/dst.c:93
 ip6_dst_alloc+0x2c/0x90 net/ipv6/route.c:343
 icmp6_dst_alloc+0x79/0x620 net/ipv6/route.c:3263
 ndisc_send_skb+0x125b/0x18f0 net/ipv6/ndisc.c:489
 ndisc_send_rs+0x133/0x6a0 net/ipv6/ndisc.c:719
 addrconf_rs_timer+0x412/0x850 net/ipv6/addrconf.c:3977
 call_timer_fn+0x193/0x590 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x764/0xb20 kernel/time/timer.c:2022
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
 __do_softirq+0x21a/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:_compound_head include/linux/page-flags.h:249 [inline]
RIP: 0010:virt_to_folio include/linux/mm.h:1283 [inline]
RIP: 0010:virt_to_slab mm/kasan/../slab.h:213 [inline]
RIP: 0010:qlink_to_cache mm/kasan/quarantine.c:131 [inline]
RIP: 0010:qlist_free_all+0xa2/0x170 mm/kasan/quarantine.c:184
Code: ed 49 89 ef 75 ae 4c 89 f7 e8 7a a2 5c ff 48 c1 e8 0c 48 89 c3 48 b8 00 00 00 00 00 ea ff ff 48 c1 e3 06 48 01 c3 48 8b 43 08 <a8> 01 0f 85 b7 00 00 00 0f 1f 44 00 00 48 89 df e8 09 ff ff ff 48
RSP: 0018:ffffc9004bb97458 EFLAGS: 00000286
RAX: ffff888013042140 RBX: ffffea0002253200 RCX: ffffc90042ea9000
RDX: 0000000000040000 RSI: ffffffff813b3906 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000004 R12: dffffc0000000000
R13: ffffc9004bb97498 R14: ffff8880894c8000 R15: 0000000000000000
 kasan_quarantine_reduce+0x18e/0x1d0 mm/kasan/quarantine.c:294
 __kasan_slab_alloc+0x65/0x90 mm/kasan/common.c:305
 kasan_slab_alloc include/linux/kasan.h:188 [inline]
 slab_post_alloc_hook mm/slab.h:763 [inline]
 slab_alloc_node mm/slub.c:3478 [inline]
 __kmem_cache_alloc_node+0x195/0x310 mm/slub.c:3517
 __do_kmalloc_node mm/slab_common.c:1006 [inline]
 __kmalloc+0x49/0x90 mm/slab_common.c:1020
 kmalloc include/linux/slab.h:604 [inline]
 tomoyo_realpath_from_path+0xb9/0x710 security/tomoyo/realpath.c:251
 tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
 tomoyo_path_number_perm+0x241/0x580 security/tomoyo/file.c:723
 tomoyo_path_mknod+0x10d/0x180 security/tomoyo/tomoyo.c:251
 security_path_mknod+0x11a/0x180 security/security.c:1715
 may_o_create fs/namei.c:3299 [inline]
 lookup_open.isra.0+0x53a/0x13b0 fs/namei.c:3440
 open_last_lookups fs/namei.c:3546 [inline]
 path_openat+0x922/0x2c50 fs/namei.c:3776
 do_filp_open+0x1de/0x430 fs/namei.c:3809
 do_sys_openat2+0x176/0x1e0 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __x64_sys_openat+0x175/0x210 fs/open.c:1463
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f67b0c7cd29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f67b19d60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f67b0dabf80 RCX: 00007f67b0c7cd29
RDX: 00000000000026e1 RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00007f67b0cc947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f67b0dabf80 R15: 00007ffdbc7583f8
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6262 Comm: syz-executor.4 Not tainted 6.7.0-rc8-syzkaller-02016-g3fbf61207c66 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:instrument_atomic_read include/linux/instrumented.h:68 [inline]
RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
RIP: 0010:hlock_class+0x49/0x130 kernel/locking/lockdep.c:228
Code: 74 08 3c 03 0f 8e d2 00 00 00 0f b7 5b 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 80 0e f2 91 <e8> b2 70 77 00 48 0f a3 1d 1a f0 8a 10 73 0f 48 69 c3 d0 00 00 00
RSP: 0018:ffffc90000007330 EFLAGS: 00000007
RAX: 0000000000000006 RBX: 00000000000001ae RCX: 0000000000000003
RDX: 1ffff11012eabc84 RSI: 0000000000000008 RDI: ffffffff91f20eb0
RBP: ffffc90000007478 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff8f194097 R11: 0000000000000004 R12: ffff88809755d940
R13: 0000000000000008 R14: 0000000000000003 R15: 1ffff92000000e6e
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc0719b1b8 CR3: 00000000791b0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 mark_lock+0xb5/0xc50 kernel/locking/lockdep.c:4656
 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4274
 __trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline]
 lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4359 [inline]
 lockdep_hardirqs_on_prepare+0x139/0x420 kernel/locking/lockdep.c:4311
 trace_hardirqs_on+0x36/0x40 kernel/trace/trace_preemptirq.c:61
 irqentry_exit+0x3b/0x80 kernel/entry/common.c:435
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:unwind_next_frame+0x5a6/0x2390 arch/x86/kernel/unwind_orc.c:505
Code: 8b 44 24 28 41 8b 96 b8 03 00 00 4c 89 e1 4c 89 ee 48 89 c7 e8 5b ef ff ff 48 85 c0 49 89 c4 0f 84 99 fd ff ff e8 4a 88 4d 00 <4d> 8d 6c 24 05 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03
RSP: 0018:ffffc90000007590 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90000007610 RCX: ffffffff8139ebf4
RDX: ffff88809755d940 RSI: ffffffff8139fbe6 RDI: 0000000000000006
RBP: 0000000000000002 R08: 0000000000000006 R09: ffffffff814fa096
R10: ffffffff814fa0f7 R11: 0000000000000004 R12: ffffffff8fa4807e
R13: ffffffff8fa48072 R14: 0000000000010cb1 R15: ffffc90000007645
 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
 kasan_set_track+0x25/0x30 mm/kasan/common.c:52
 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522
 ____kasan_slab_free mm/kasan/common.c:236 [inline]
 ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1800 [inline]
 slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826
 slab_free mm/slub.c:3809 [inline]
 kmem_cache_free+0xf8/0x350 mm/slub.c:3831
 kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:1051
 __kfree_skb net/core/skbuff.c:1109 [inline]
 kfree_skb_reason+0x13a/0x210 net/core/skbuff.c:1144
 __netif_receive_skb_core.constprop.0+0x565/0x3f50 net/core/dev.c:5508
 __netif_receive_skb_one_core+0xaf/0x180 net/core/dev.c:5532
 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5648
 process_backlog+0x101/0x6b0 net/core/dev.c:5976
 __napi_poll.constprop.0+0xb4/0x540 net/core/dev.c:6576
 napi_poll net/core/dev.c:6645 [inline]
 net_rx_action+0x956/0xe90 net/core/dev.c:6778
 __do_softirq+0x21a/0x8de kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:pte_user_accessible_page arch/x86/include/asm/pgtable.h:1705 [inline]
RIP: 0010:__page_table_check_pte_clear+0xa5/0x100 mm/page_table_check.c:157
Code: 48 c1 e8 03 42 80 3c 20 00 75 6b 48 8b 6c 24 20 bf 05 00 00 00 49 89 ec 41 83 e4 05 4c 89 e6 e8 41 7c 9e ff 49 83 fc 05 74 30 <e8> a6 80 9e ff 48 b8 00 00 00 00 00 fc ff df 48 c7 04 03 00 00 00
RSP: 0018:ffffc9004bdc7658 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 1ffff920097b8ecb RCX: ffffc9004bdc7588
RDX: ffff88809755d940 RSI: ffffffff81e903cf RDI: ffffffff8b2f0fa0
RBP: 800000009f8df007 R08: 0000000000000000 R09: fffffbfff1e32812
R10: ffffffff8f194097 R11: 0000000000000003 R12: 0000000000000005
R13: ffff88803b8f65b0 R14: dffffc0000000000 R15: 0000000000000007
 page_table_check_pte_clear include/linux/page_table_check.h:49 [inline]
 ptep_get_and_clear_full arch/x86/include/asm/pgtable.h:1301 [inline]
 zap_pte_range mm/memory.c:1440 [inline]
 zap_pmd_range mm/memory.c:1583 [inline]
 zap_pud_range mm/memory.c:1612 [inline]
 zap_p4d_range mm/memory.c:1633 [inline]
 unmap_page_range+0x1861/0x2b70 mm/memory.c:1654
 unmap_single_vma+0x194/0x2b0 mm/memory.c:1700
 unmap_vmas+0x229/0x470 mm/memory.c:1744
 exit_mmap+0x1ad/0xa70 mm/mmap.c:3308
 __mmput+0x12a/0x4d0 kernel/fork.c:1349
 mmput+0x62/0x70 kernel/fork.c:1371
 exit_mm kernel/exit.c:567 [inline]
 do_exit+0x9a5/0x2ad0 kernel/exit.c:856
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1018
 get_signal+0x23b5/0x2790 kernel/signal.c:2904
 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
 exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
 exit_to_user_mode_prepare+0x121/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296
 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f5953e7cd29
Code: Unable to access opcode bytes at 0x7f5953e7ccff.
RSP: 002b:00007f59529fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: 0000000000000004 RBX: 00007f5953fabf80 RCX: 00007f5953e7cd29
RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000002
RBP: 00007f5953ec947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f5953fabf80 R15: 00007fff9f46e138
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/10 13:29 bpf-next 3fbf61207c66 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in addrconf_rs_timer
* Struck through repros no longer work on HEAD.