syzbot


BUG: soft lockup in hsr_announce (2)

Status: auto-obsoleted due to no activity on 2023/12/27 12:08
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+3bfa0027a7cbda7c7cf3@syzkaller.appspotmail.com
First crash: 273d, last: 260d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in hsr_announce (2) 7 605d 1059d 0/1 auto-obsoleted due to no activity on 2023/02/15 11:56
linux-4.14 BUG: soft lockup in hsr_announce C error 1 1624d 1624d 0/1 upstream: reported C repro on 2020/01/03 03:56
linux-4.19 BUG: soft lockup in hsr_announce 2 1302d 1328d 0/1 auto-closed as invalid on 2021/03/20 09:02
upstream BUG: soft lockup in hsr_announce net 2 1658d 1658d 0/27 closed as invalid on 2019/11/30 16:49
upstream INFO: rcu detected stall in hsr_announce (5) net 4 942d 954d 0/27 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in hsr_announce (6) kvm 2 780d 780d 0/27 auto-closed as invalid on 2022/06/25 07:59

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 115s! [syz-executor.5:12288]
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: 1 PID: 12288 Comm: syz-executor.5 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:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200
Code: c6 6b 9d 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <f3> 0f 1e fa 65 8b 05 3d ee 7b 7e 89 c1 48 8b 34 24 81 e1 00 01 00
RSP: 0018:ffffc900001f0610 EFLAGS: 00000246
RAX: ffff8880791dd940 RBX: ffffc900001f0678 RCX: 0000000000000100
RDX: ffff8880791dd940 RSI: ffffffff813a6e3f RDI: 0000000000000001
RBP: ffffc900001f0708 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000420042 R12: ffff8880791dd940
R13: 0000000000000000 R14: ffffc900001f06a0 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00008f000 CR3: 00000000200d7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __unwind_start+0x6ad/0x880 arch/x86/kernel/unwind_orc.c:714
 unwind_start arch/x86/include/asm/unwind.h:64 [inline]
 arch_stack_walk+0xaf/0x170 arch/x86/kernel/stacktrace.c:24
 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
 kmalloc_reserve+0x166/0x260 net/core/skbuff.c:559
 __alloc_skb+0x12b/0x330 net/core/skbuff.c:650
 __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]
 hsr_init_skb+0x122/0x520 net/hsr/hsr_device.c:249
 send_hsr_supervision_frame+0xbe/0x810 net/hsr/hsr_device.c:292
 hsr_announce+0x116/0x380 net/hsr/hsr_device.c:382
 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x764/0xb10 kernel/time/timer.c:2022
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
 __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:zap_pte_range mm/memory.c:1515 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1573 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1602 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1623 [inline]
RIP: 0010:unmap_page_range+0xaba/0x2c10 mm/memory.c:1644
Code: 00 e8 ea c4 bf ff 4c 89 e8 48 c1 e8 03 42 80 3c 30 00 0f 85 43 19 00 00 49 c7 45 00 00 00 00 00 e8 cb c4 bf ff 48 8b 5c 24 08 <49> 83 c5 08 4c 8b 7c 24 18 48 89 de 4c 89 ff e8 c2 bf bf ff 48 8d
RSP: 0018:ffffc9001520f738 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000020158000 RCX: 0000000000000000
RDX: ffff8880791dd940 RSI: ffffffff81c809b5 RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 1ffff1100f20b442 R12: 0000000000000000
R13: ffff8880771f3ab8 R14: dffffc0000000000 R15: 0000000020200000
 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:0x7f42f747cae9
Code: Unable to access opcode bytes at 0x7f42f747cabf.
RSP: 002b:00007f42f5ffe178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 00007f42f759bf88 RCX: 00007f42f747cae9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f42f759bf8c
RBP: 00007f42f759bf80 R08: 0000000000000001 R09: 00007f42f5ffe6c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f42f759bf8c
R13: 000000000000000b R14: 00007ffd7193f140 R15: 00007ffd7193f228
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12270 Comm: syz-executor.1 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:perf_trace_buf_alloc+0x191/0x260 kernel/trace/trace_event_perf.c:415
Code: 00 0f 85 93 00 00 00 4a 03 1c e5 40 ea 5c 8c ba 08 00 00 00 31 f6 48 8d 7c 2b f8 e8 29 ef ae 08 e8 84 9b f7 ff 48 89 d8 5b 5d <41> 5c 41 5d 41 5e c3 e8 73 9b f7 ff 0f b6 1d 67 04 28 0d 31 ff 89
RSP: 0000:ffffc90000007440 EFLAGS: 00000046
RAX: ffffe8ffffcca000 RBX: 1ffff92000000e90 RCX: 0000000000000100
RDX: ffff888021829dc0 RSI: ffffffff819032fc RDI: ffffe8ffffcca014
RBP: ffffc90000007528 R08: 0000000000000004 R09: 0000000000000004
R10: ffffe8ffffcca00c R11: 0000000000000000 R12: 0000000000000000
R13: ffffc900000074c0 R14: 0000000000000000 R15: ffffe8ffffc2c1b0
FS:  00007fb0e100a6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000054e18 CR3: 00000000278f3000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 perf_trace_preemptirq_template+0x12c/0x460 include/trace/events/preemptirq.h:14
 trace_irq_enable.constprop.0+0xb4/0x100 include/trace/events/preemptirq.h:40
 trace_hardirqs_on+0x26/0x40 kernel/trace/trace_preemptirq.c:56
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__sanitizer_cov_trace_cmp8+0x8/0x20 kernel/kcov.c:283
Code: 00 00 f3 0f 1e fa 48 8b 0c 24 89 f2 89 fe bf 04 00 00 00 e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <48> 89 f2 48 89 fe bf 06 00 00 00 e9 f8 fe ff ff 0f 1f 84 00 00 00
RSP: 0000:ffffc90000007600 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90000007688 RCX: ffffffff813a599c
RDX: ffff888021829dc0 RSI: ffffc90000007fe8 RDI: ffffc90000007f30
RBP: ffffc90000007fe8 R08: 0000000000000004 R09: 0000000000000002
R10: 0000000000000002 R11: dffffc0000000000 R12: ffffc90000000000
R13: ffffc90000008000 R14: ffffc90000007ff0 R15: ffffc90000007f30
 unwind_next_frame+0x122c/0x2390 arch/x86/kernel/unwind_orc.c:665
 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
 kmalloc_reserve+0x166/0x260 net/core/skbuff.c:559
 __alloc_skb+0x12b/0x330 net/core/skbuff.c:650
 alloc_skb include/linux/skbuff.h:1286 [inline]
 new_skb+0x21/0x200 drivers/block/aoe/aoecmd.c:66
 aoecmd_cfg_pkts drivers/block/aoe/aoecmd.c:425 [inline]
 aoecmd_cfg+0x2a5/0x7b0 drivers/block/aoe/aoecmd.c:1362
 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x764/0xb10 kernel/time/timer.c:2022
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
 __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: 0000:ffffc90015057928 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffffed10043053b8 RCX: 1ffffffff1d9cb7b
RDX: 0000000000000000 RSI: ffffffff8ae92920 RDI: 0000000000000001
RBP: ffff888021829dc0 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8ece2657 R11: 5050505001000011 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:preempt_count arch/x86/include/asm/preempt.h:27 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x70 kernel/kcov.c:207
Code: 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa <65> 8b 05 3d ee 7b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b
RSP: 0000:ffffc900150579f0 EFLAGS: 00000297
RAX: 0000000000000000 RBX: 0000000000000006 RCX: ffffffff8a2d9c48
RDX: ffff888021829dc0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888077472200 R08: 0000000000000000 R09: 0000000000000006
R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000002
R13: ffffffffffffffff R14: ffffc90015057b70 R15: ffffffffffffffff
 mas_next_slot+0x286/0x1d40 lib/maple_tree.c:4607
 mas_next lib/maple_tree.c:5640 [inline]
 mas_find+0xe4/0x320 lib/maple_tree.c:5632
 vma_next include/linux/mm.h:952 [inline]
 acct_collect+0x67b/0x8f0 kernel/acct.c:565
 do_exit+0x17d5/0x2a20 kernel/exit.c:853
 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:0x7fb0e027cae9
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:00007fb0e100a178 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 00007fb0e039bf88 RCX: 00007fb0e027cae9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fb0e039bf8c
RBP: 00007fb0e039bf80 R08: 0000000000000001 R09: 00007fb0e100a6c0
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007fb0e039bf8c
R13: 000000000000000b R14: 00007ffe1c4faf50 R15: 00007ffe1c4fb038
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/28 12:07 bpf 81335f90e8a8 c2ab1e5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: soft lockup in hsr_announce
2023/09/20 08:27 bpf-next aec42f36237b 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in hsr_announce
2023/09/15 09:43 bpf-next 5c04433daf9e 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce BUG: soft lockup in hsr_announce
* Struck through repros no longer work on HEAD.