syzbot


BUG: soft lockup in hsr_announce

Status: auto-closed as invalid on 2021/03/20 09:02
Reported-by: syzbot+8b994336b5efc7b69463@syzkaller.appspotmail.com
First crash: 1277d, last: 1251d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in hsr_announce (2) 7 554d 1009d 0/1 auto-obsoleted due to no activity on 2023/02/15 11:56
upstream BUG: soft lockup in hsr_announce (2) net 3 209d 218d 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
upstream BUG: soft lockup in hsr_announce net 2 1608d 1608d 0/26 closed as invalid on 2019/11/30 16:49

Sample crash report:
Bluetooth: hci3: command 0x0406 tx timeout
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor.0:25718]
Modules linked in:
irq event stamp: 18115743
hardirqs last  enabled at (18115742): [<ffffffff81004313>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (18115743): [<ffffffff8100432f>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last  enabled at (18062960): [<ffffffff8840069a>] __do_softirq+0x69a/0x9a0 kernel/softirq.c:318
softirqs last disabled at (18062965): [<ffffffff813a3c55>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (18062965): [<ffffffff813a3c55>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 0 PID: 25718 Comm: syz-executor.0 Not tainted 4.19.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:unwind_next_frame+0x102/0x1c60 arch/x86/kernel/unwind_orc.c:398
Code: 02 00 0f 85 0d 14 00 00 49 8b 47 48 4d 8d 77 38 4c 89 f2 48 c1 ea 03 48 89 44 24 08 48 b8 00 00 00 00 00 fc ff df 80 3c 02 00 <0f> 85 f2 13 00 00 49 8b 47 38 bf 01 00 00 00 48 89 44 24 10 e8 f5
RSP: 0018:ffff8880ba007500 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 1ffff11017400ea8 RCX: 000000000000000f
RDX: 1ffff11017400ec4 RSI: 0000000000000000 RDI: ffff8880ba0075e8
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000074071 R11: 0000000000000001 R12: ffff8880ba007630
R13: 0000000000000000 R14: ffff8880ba007620 R15: ffff8880ba0075e8
FS:  00007f72d018a700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055ed1302e4c8 CR3: 0000000009e6d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44
 save_stack mm/kasan/kasan.c:448 [inline]
 set_track mm/kasan/kasan.c:460 [inline]
 kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553
 kmem_cache_alloc+0x122/0x370 mm/slab.c:3559
 skb_clone+0x151/0x3d0 net/core/skbuff.c:1284
 dev_queue_xmit_nit+0x326/0xa20 net/core/dev.c:2018
 xmit_one net/core/dev.c:3252 [inline]
 dev_hard_start_xmit+0xaa/0x920 net/core/dev.c:3272
 __dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838
 hsr_xmit net/hsr/hsr_forward.c:237 [inline]
 hsr_forward_do net/hsr/hsr_forward.c:295 [inline]
 hsr_forward_skb+0xd2d/0x1c30 net/hsr/hsr_forward.c:373
 send_hsr_supervision_frame+0x917/0xf70 net/hsr/hsr_device.c:321
 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+0x26c/0x9a0 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:544 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:compound_head include/linux/page-flags.h:144 [inline]
RIP: 0010:PageAnon include/linux/page-flags.h:418 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1340 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1452 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1481 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1502 [inline]
RIP: 0010:unmap_page_range+0x10cd/0x2a70 mm/memory.c:1523
Code: ed 48 89 41 18 0f 84 36 fe ff ff e8 7d a7 d6 ff 49 8d 6d 08 48 89 e8 48 c1 e8 03 42 80 3c 30 00 0f 85 b5 15 00 00 49 8b 45 08 <31> ff 4d 89 ec 48 89 c3 48 89 84 24 c0 00 00 00 83 e3 01 48 89 de
RSP: 0018:ffff88823b367a20 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: dead000000000100 RBX: 0000000000000001 RCX: ffff88823b367c60
RDX: 0000000000000000 RSI: ffffffff818e2883 RDI: ffff88823b367c78
RBP: ffffea00025e9948 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 8000000097a65007
R13: ffffea00025e9940 R14: dffffc0000000000 R15: 00007f72d1869000
 unmap_single_vma+0x198/0x300 mm/memory.c:1568
 unmap_vmas+0xa9/0x180 mm/memory.c:1598
 exit_mmap+0x2b9/0x530 mm/mmap.c:3093
 __mmput kernel/fork.c:1015 [inline]
 mmput+0x14e/0x4a0 kernel/fork.c:1036
 exit_mm kernel/exit.c:549 [inline]
 do_exit+0xaf0/0x2be0 kernel/exit.c:877
 do_group_exit+0x125/0x310 kernel/exit.c:993
 __do_sys_exit_group kernel/exit.c:1004 [inline]
 __se_sys_exit_group kernel/exit.c:1002 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:1002
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45deb9
Code: Bad RIP value.
RSP: 002b:00007f72d0188a28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000000e RCX: 000000000045deb9
RDX: 0000000000417751 RSI: 00000000016a9df0 RDI: 0000000000000043
RBP: 00000000004c2ca0 R08: 000000000000000c R09: 0000000000000000
R10: 00007f72d018a700 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f72d0188c30 R15: 0000000000000004
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 71 Comm: kworker/u4:3 Not tainted 4.19.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lock_acquire+0x110/0x3c0 kernel/locking/lockdep.c:3905
Code: 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 12 02 00 00 <c7> 83 84 08 00 00 01 00 00 00 0f 1f 44 00 00 65 8b 05 4a e3 b4 7e
RSP: 0018:ffff8880b5247bd8 EFLAGS: 00000046
RAX: 0000000000000007 RBX: ffff8880b5236300 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b5236b84
RBP: ffff888090aadb68 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe3da89ded6 CR3: 00000000a31b7000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
 _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:168
 spin_lock_bh include/linux/spinlock.h:334 [inline]
 batadv_nc_purge_paths+0xdc/0x310 net/batman-adv/network-coding.c:453
 batadv_nc_worker+0x731/0xd50 net/batman-adv/network-coding.c:733
 process_one_work+0x864/0x1570 kernel/workqueue.c:2155
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/20 09:01 linux-4.19.y 2c746135a12e 0767f13f .config console log report info ci2-linux-4-19
2020/10/25 18:32 linux-4.19.y ad326970d25c a1839e81 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.