syzbot


BUG: soft lockup in hsr_announce (2)

Status: auto-obsoleted due to no activity on 2023/02/15 11:56
Reported-by: syzbot+039817a54f5a177dddb5@syzkaller.appspotmail.com
First crash: 1009d, last: 555d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in hsr_announce (2) net 3 210d 219d 0/26 auto-obsoleted due to no activity on 2023/12/27 12:08
linux-4.14 BUG: soft lockup in hsr_announce C error 1 1574d 1574d 0/1 upstream: reported C repro on 2020/01/03 03:56
linux-4.19 BUG: soft lockup in hsr_announce 2 1252d 1277d 0/1 auto-closed as invalid on 2021/03/20 09:02
upstream BUG: soft lockup in hsr_announce net 2 1608d 1608d 0/26 closed as invalid on 2019/11/30 16:49
upstream INFO: rcu detected stall in hsr_announce (5) net 4 892d 904d 0/26 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in hsr_announce (6) kvm 2 730d 730d 0/26 auto-closed as invalid on 2022/06/25 07:59

Sample crash report:
Bluetooth: hci27: command 0x0406 tx timeout
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.5:18041]
Modules linked in:
irq event stamp: 4767535
hardirqs last  enabled at (4767534): [<ffffffff881950e9>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (4767534): [<ffffffff881950e9>] _raw_spin_unlock_irqrestore+0x79/0xe0 kernel/locking/spinlock.c:184
hardirqs last disabled at (4767535): [<ffffffff81003d00>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (4750352): [<ffffffff88400678>] __do_softirq+0x678/0x980 kernel/softirq.c:318
softirqs last disabled at (4750355): [<ffffffff813927d5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (4750355): [<ffffffff813927d5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 18041 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa3/0xe0 kernel/locking/spinlock.c:184
Code: 48 c7 c0 88 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 2f 48 83 3d 7c 31 d8 01 00 74 15 48 89 df 57 9d <0f> 1f 44 00 00 eb b2 e8 fb eb e6 f8 eb c0 0f 0b 0f 0b 48 c7 c7 88
RSP: 0018:ffff8880ba107c68 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff13e3051 RBX: 0000000000000286 RCX: 1ffff11015152d97
RDX: dffffc0000000000 RSI: ffff8880a8a96cc0 RDI: 0000000000000286
RBP: ffff88805d1b5960 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b05ea780
R13: ffff8880b49b4a90 R14: ffff8880b05ea790 R15: 0000000000000286
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c82f000 CR3: 0000000009e6d000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 spin_unlock_irqrestore include/linux/spinlock.h:384 [inline]
 send_hsr_supervision_frame+0xa67/0xf70 net/hsr/hsr_device.c:308
 hsr_announce+0x125/0x3a0 net/hsr/hsr_device.c:350
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338
 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375
 __run_timers kernel/time/timer.c:1696 [inline]
 run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709
 __do_softirq+0x265/0x980 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x215/0x260 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x22/0x50 kernel/kcov.c:101
Code: 90 90 90 90 90 90 90 90 48 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 00 01 1f 00 75 2b 8b 90 60 13 00 00 <83> fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 00 00 48 8b 11 48
RSP: 0018:ffff8880586cf6d0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffff8880a8a963c0 RBX: 0000000000000002 RCX: ffffffff83771e23
RDX: 0000000000000000 RSI: ffffffff83771e31 RDI: 0000000000000005
RBP: ffffffff88b3e120 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001
R13: ffffffff88b3e0e0 R14: dead000000000100 R15: 00007f7d9558a000
 check_preemption_disabled+0x41/0x280 lib/smp_processor_id.c:51
 rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:348 [inline]
 rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:1025
 rcu_read_unlock include/linux/rcupdate.h:677 [inline]
 __unlock_page_memcg+0x72/0x100 mm/memcontrol.c:1955
 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
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaec/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f7d9630f5a9
Code: Bad RIP value.
RSP: 002b:00007f7d94c82168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 0000000000000024 RBX: 00007f7d9642ff80 RCX: 00007f7d9630f5a9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000004
RBP: 00007f7d9636a580 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed6babebf R14: 00007f7d94c82300 R15: 0000000000022000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 503 Comm: kworker/u4:3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline]
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:31 [inline]
RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:22 [inline]
RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:350 [inline]
RIP: 0010:rcu_is_watching+0x68/0xc0 kernel/rcu/tree.c:1025
Code: 00 af cf 89 be 04 00 00 00 48 8d 6b 10 48 89 ef e8 5d c2 46 00 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 <48> 89 e8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 43 10 d1 e8
RSP: 0018:ffff8880b464fc90 EFLAGS: 00000a06
RAX: dffffc0000000000 RBX: ffff8880ba022ac0 RCX: ffffffff81518c83
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8880ba022ad0
RBP: ffff8880ba022ad0 R08: 0000000000000000 R09: ffffed101740455a
R10: ffff8880ba022ad3 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000340 R15: ffff8880a448a000
FS:  0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5cca9123f8 CR3: 00000000b2a79000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rcu_read_unlock include/linux/rcupdate.h:677 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline]
 batadv_nc_worker+0x936/0xd50 net/batman-adv/network-coding.c:730
 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

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/18 11:55 linux-4.19.y 3f8a27f9e27b b31320fc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in hsr_announce
2022/08/20 05:36 linux-4.19.y 3f8a27f9e27b 26a13b38 .config console log report info ci2-linux-4-19 BUG: soft lockup in hsr_announce
2022/05/03 08:13 linux-4.19.y 3f8a27f9e27b 2df221f6 .config console log report info ci2-linux-4-19 BUG: soft lockup in hsr_announce
2022/04/13 18:44 linux-4.19.y 3f8a27f9e27b b17b2923 .config console log report info ci2-linux-4-19 BUG: soft lockup in hsr_announce
2022/01/15 00:46 linux-4.19.y 3f8a27f9e27b 53e00b45 .config console log report info ci2-linux-4-19 BUG: soft lockup in hsr_announce
2021/10/13 15:06 linux-4.19.y 3f8a27f9e27b 9d56e7dd .config console log report info ci2-linux-4-19 BUG: soft lockup in hsr_announce
2021/07/20 20:51 linux-4.19.y 4938296e03bd 1b201b48 .config console log report info ci2-linux-4-19 BUG: soft lockup in hsr_announce
* Struck through repros no longer work on HEAD.