syzbot


BUG: soft lockup in ipv6_rcv (2)

Status: closed as invalid on 2023/10/27 13:35
Subsystems: net
[Documentation on labels]
First crash: 218d, last: 218d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in ipv6_rcv net 24 1732d 1737d 0/26 auto-closed as invalid on 2019/10/25 14:11
android-5-15 BUG: soft lockup in ipv6_rcv origin:lts C 8 3d06h 13d 0/2 upstream: reported C repro on 2024/04/19 17:11
linux-4.19 BUG: soft lockup in ipv6_rcv C error 25 642d 1120d 0/1 upstream: reported C repro on 2021/04/08 17:19
upstream INFO: rcu detected stall in ipv6_rcv (4) net C done 2 69d 120d 0/26 upstream: reported C repro on 2024/01/03 13:15
upstream INFO: rcu detected stall in ipv6_rcv (3) net 1 338d 338d 0/26 auto-obsoleted due to no activity on 2023/08/28 06:25
upstream INFO: rcu detected stall in ipv6_rcv (2) C done 550 738d 1742d 0/26 auto-obsoleted due to no activity on 2023/04/19 23:54

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 121s! [syz-executor.2:7216]
Modules linked in:
irq event stamp: 0
hardirqs last  enabled at (0): [<0000000000000000>] 0x0
hardirqs last disabled at (0): [<ffffffff814d74f7>] copy_process+0x21e7/0x7400 kernel/fork.c:2442
softirqs last  enabled at (0): [<ffffffff814d7538>] copy_process+0x2228/0x7400 kernel/fork.c:2446
softirqs last disabled at (0): [<0000000000000000>] 0x0
CPU: 0 PID: 7216 Comm: syz-executor.2 Not tainted 6.6.0-rc1-syzkaller-00198-g81335f90e8a8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:ipv6_chk_mcast_addr+0xe5/0x9a0 net/ipv6/mcast.c:1024
Code: 87 f8 48 8d 7d 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 0a 08 00 00 48 8b 5d 20 e8 cb b5 3e 01 <31> ff 89 c5 89 c6 e8 a0 76 87 f8 85 ed 0f 85 f5 03 00 00 e8 23 7b
RSP: 0018:ffffc90000007a38 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888062aef000 RCX: 0000000000000100
RDX: 1ffff11002757004 RSI: ffffffff8900531d RDI: ffff888013ab8020
RBP: ffff888013ab8000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0200000000000000 R12: ffff888078c81828
R13: ffff88801f69d650 R14: ffff888078c81800 R15: ffff88801f69d6b0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30724000 CR3: 000000002fa29000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 ip6_mc_input+0x38d/0xf40 net/ipv6/ip6_input.c:523
 dst_input include/net/dst.h:468 [inline]
 ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline]
 NF_HOOK include/linux/netfilter.h:304 [inline]
 NF_HOOK include/linux/netfilter.h:298 [inline]
 ipv6_rcv+0x4a9/0x6f0 net/ipv6/ip6_input.c:310
 __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5523
 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5637
 process_backlog+0x101/0x6c0 net/core/dev.c:5965
 __napi_poll.constprop.0+0xb4/0x530 net/core/dev.c:6527
 napi_poll net/core/dev.c:6594 [inline]
 net_rx_action+0x956/0xe90 net/core/dev.c:6727
 __do_softirq+0x218/0x965 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+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__schedule+0xee9/0x59f0 kernel/sched/core.c:6577
Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 dc 43 00 00 48 8b bd 10 ff ff ff 49 89 5f 10 48 89 de e8 4f 4b bf f6 48 89 c7 e8 b7 1a 1a f7 <48> 8b 9d 98 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7
RSP: 0018:ffffc90015af77d0 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff8880b983d1d0 RCX: 1ffffffff1d9cb7b
RDX: 0000000000000000 RSI: ffffffff8ae92920 RDI: ffffffff8a412f40
RBP: ffffc90015af7968 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8ece2657 R11: 0000000000000001 R12: ffff88801bee3e10
R13: 0000000000000000 R14: ffff88801bee3b80 R15: ffff8880b983c700
 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7007
 irqentry_exit+0x35/0x80 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:602 [inline]
RIP: 0010:__mutex_lock+0x14f/0x1340 kernel/locking/mutex.c:747
Code: 29 49 8d 7e 60 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 00 0d 00 00 4d 3b 76 60 0f 85 67 07 00 00 <bf> 01 00 00 00 e8 c7 1d 19 f7 49 8d 46 68 31 d2 4d 89 e1 48 89 85
RSP: 0018:ffffc90015af7a40 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 1ffffffff199526c RSI: 0000000000000244 RDI: ffffffff8cca9360
RBP: ffffc90015af7b90 R08: ffffffff81b3d31b R09: 0000000000000000
R10: ffffc90015af7bb0 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffffff8cca9300 R15: 0000000000000000
 uprobe_clear_state+0x4b/0x420 kernel/events/uprobes.c:1545
 __mmput+0x79/0x4d0 kernel/fork.c:1345
 mmput+0x62/0x70 kernel/fork.c:1371
 exit_mm kernel/exit.c:567 [inline]
 do_exit+0x9b4/0x2a20 kernel/exit.c:861
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
 get_signal+0x23d1/0x27b0 kernel/signal.c:2892
 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+0x11f/0x240 kernel/entry/common.c:204
 irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:309
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0033:0x7f0027233959
Code: Unable to access opcode bytes at 0x7f002723392f.
RSP: 002b:00007f002803d180 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 00007f002739c058 RCX: 00007f00272e26b0
RDX: 0000000000031fa2 RSI: 0000000000000000 RDI: 00007f00272eacda
RBP: 00007f002739c050 R08: 0000000000000000 R09: 0000000000000001
R10: 00007ffee8df7080 R11: 0000000001f825a1 R12: 00007f002739c05c
R13: 000000000000000b R14: 00007ffee8cfe6d0 R15: 00007ffee8cfe7b8
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7215 Comm: syz-executor.3 Not tainted 6.6.0-rc1-syzkaller-00198-g81335f90e8a8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:rcu_is_watching+0x7c/0xb0 kernel/rcu/tree.c:700
Code: 89 da 48 c1 ea 03 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 1c 8b 03 c1 e8 02 83 e0 01 65 ff 0d 8c 5c 93 7e <74> 03 5b 5d c3 e8 da 21 90 ff 5b 5d c3 48 89 df e8 2f 3a 6d 00 eb
RSP: 0018:ffffc900001f0300 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffff8880b9936de8 RCX: ffffffff81689767
RDX: 0000000000000000 RSI: ffffffff8ae92920 RDI: ffffffff8c5cea48
RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff1d9c4ca
R10: ffffffff8ece2657 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffffffff8cbd7288 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556431938 CR3: 000000002e96e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 trace_lock_acquire include/trace/events/lock.h:24 [inline]
 lock_acquire+0x464/0x510 kernel/locking/lockdep.c:5724
 seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline]
 ktime_get+0x80/0x490 kernel/time/timekeeping.c:846
 clockevents_program_event+0x14b/0x370 kernel/time/clockevents.c:326
 tick_program_event+0xa5/0x130 kernel/time/tick-oneshot.c:44
 hrtimer_interrupt+0x36d/0x800 kernel/time/hrtimer.c:1827
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline]
 __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080
 sysvec_apic_timer_interrupt+0x42/0xc0 arch/x86/kernel/apic/apic.c:1074
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__sanitizer_cov_trace_switch+0x4a/0x90 kernel/kcov.c:341
Code: f8 08 74 53 48 83 f8 10 75 2f 41 bd 03 00 00 00 4c 8b 75 00 31 db 4d 85 f6 74 1e 48 8b 74 dd 10 4c 89 e2 4c 89 ef 48 83 c3 01 <48> 8b 4c 24 28 e8 1c fe ff ff 49 39 de 75 e2 5b 5d 41 5c 41 5d 41
RSP: 0018:ffffc900001f0648 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff813a4e25
RDX: 0000000000000005 RSI: 0000000000000003 RDI: 0000000000000001
RBP: ffffffff8a89cf40 R08: 0000000000000001 R09: 0000000000000002
R10: 0000000000000005 R11: 0000007bab83abb2 R12: 0000000000000005
R13: 0000000000000001 R14: 0000000000000008 R15: ffffc900001f072d
 unwind_next_frame+0x6b5/0x2390 arch/x86/kernel/unwind_orc.c:515
 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_slab_alloc+0x81/0x90 mm/kasan/common.c:328
 kasan_slab_alloc include/linux/kasan.h:188 [inline]
 slab_post_alloc_hook mm/slab.h:762 [inline]
 slab_alloc_node mm/slub.c:3478 [inline]
 kmem_cache_alloc_node+0x185/0x3f0 mm/slub.c:3523
 __alloc_skb+0x287/0x330 net/core/skbuff.c:640
 __netdev_alloc_skb+0x72/0x3f0 net/core/skbuff.c:714
 netdev_alloc_skb include/linux/skbuff.h:3225 [inline]
 dev_alloc_skb include/linux/skbuff.h:3238 [inline]
 __ieee80211_beacon_get+0xc2f/0x16e0 net/mac80211/tx.c:5425
 ieee80211_beacon_get_tim+0xa5/0x570 net/mac80211/tx.c:5547
 ieee80211_beacon_get include/net/mac80211.h:5421 [inline]
 mac80211_hwsim_beacon_tx+0x3f6/0x730 drivers/net/wireless/virtual/mac80211_hwsim.c:2260
 __iterate_interfaces+0x2d2/0x580 net/mac80211/util.c:766
 ieee80211_iterate_active_interfaces_atomic+0x73/0x1c0 net/mac80211/util.c:802
 mac80211_hwsim_beacon+0x101/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2290
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x203/0xc10 kernel/time/hrtimer.c:1752
 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1769
 __do_softirq+0x218/0x965 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+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:preempt_schedule_irq+0x4d/0x90 kernel/sched/core.c:7007
Code: 55 65 48 8b 2c 25 c0 bc 03 00 53 48 89 eb 48 c1 eb 03 48 01 c3 bf 01 00 00 00 e8 6e 4f 19 f7 e8 f9 29 4d f7 fb bf 01 00 00 00 <e8> 5e 99 ff ff 9c 58 fa f6 c4 02 75 1a bf 01 00 00 00 e8 ac 15 19
RSP: 0018:ffffc90015b674f8 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffffed10037dcb28 RCX: 1ffffffff1d9cb7b
RDX: 0000000000000000 RSI: ffffffff8ae92920 RDI: 0000000000000001
RBP: ffff88801bee5940 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8ece2657 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 irqentry_exit+0x35/0x80 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:release_pages+0x2c4/0x14e0 mm/swap.c:969
Code: 23 00 f0 ff 0b 0f 94 c3 31 ff 89 de e8 f5 ae cd ff 84 db 0f 85 11 0b 00 00 48 c7 04 24 00 00 00 00 e8 b0 b3 cd ff 8b 5c 24 0c <83> c5 01 49 83 c4 08 89 ee 89 df e8 8c ae cd ff 39 eb 0f 85 40 fe
RSP: 0018:ffffc90015b675c8 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88801bee5940 RSI: ffffffff81ba1ad0 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 1ffff11002c5c08a R12: ffffc90015b67b08
R13: 0000000000000003 R14: ffffea000115cd80 R15: dffffc0000000000
 tlb_batch_pages_flush+0x9a/0x190 mm/mmu_gather.c:98
 zap_pte_range mm/memory.c:1534 [inline]
 zap_pmd_range mm/memory.c:1573 [inline]
 zap_pud_range mm/memory.c:1602 [inline]
 zap_p4d_range mm/memory.c:1623 [inline]
 unmap_page_range+0x19b7/0x2c10 mm/memory.c:1644
 unmap_single_vma+0x194/0x2b0 mm/memory.c:1690
 unmap_vmas+0x1e8/0x330 mm/memory.c:1731
 exit_mmap+0x1ad/0xa60 mm/mmap.c:3210
 __mmput+0x12a/0x4d0 kernel/fork.c:1349
 mmput+0x62/0x70 kernel/fork.c:1371
 exit_mm kernel/exit.c:567 [inline]
 do_exit+0x9b4/0x2a20 kernel/exit.c:861
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024
 get_signal+0x23d1/0x27b0 kernel/signal.c:2892
 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+0x11f/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296
 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8ad427cae9
Code: Unable to access opcode bytes at 0x7f8ad427cabf.
RSP: 002b:00007f8ad4f210c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f8ad439bf80 RCX: 00007f8ad427cae9
RDX: 00000000200004c0 RSI: 0000000000005452 RDI: 0000000000000005
RBP: 00007f8ad42c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f8ad439bf80 R15: 00007ffc323b9328
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/27 02:15 bpf 81335f90e8a8 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in ipv6_rcv
* Struck through repros no longer work on HEAD.