BUG: soft lockup in hsr_announce

5 views
Skip to first unread message

syzbot

unread,
Oct 25, 2020, 2:33:24 PM10/25/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: ad326970 Linux 4.19.152
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17fe54b0500000
kernel config: https://syzkaller.appspot.com/x/.config?x=1ec7667b405157e
dashboard link: https://syzkaller.appspot.com/bug?extid=8b994336b5efc7b69463
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+8b9943...@syzkaller.appspotmail.com

watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.2:9567]
Modules linked in:
irq event stamp: 14506685
hardirqs last enabled at (14506684): [<ffffffff81004313>] trace_hardirqs_on_thunk+0x1a/0x1c
hardirqs last disabled at (14506685): [<ffffffff8100432f>] trace_hardirqs_off_thunk+0x1a/0x1c
softirqs last enabled at (14492444): [<ffffffff8840069a>] __do_softirq+0x69a/0x9a0 kernel/softirq.c:318
softirqs last disabled at (14492447): [<ffffffff813a39b5>] invoke_softirq kernel/softirq.c:372 [inline]
softirqs last disabled at (14492447): [<ffffffff813a39b5>] irq_exit+0x215/0x260 kernel/softirq.c:412
CPU: 1 PID: 9567 Comm: syz-executor.2 Not tainted 4.19.152-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:150 [inline]
RIP: 0010:unwind_next_frame+0x2a1/0x1c60 arch/x86/kernel/unwind_orc.c:429
Code: 17 8c 44 8d 46 01 48 ba 00 00 00 00 00 fc ff df 4a 8d 3c 85 58 07 17 8c 49 89 f9 49 c1 e9 03 45 0f b6 0c 11 48 89 fa 83 e2 07 <83> c2 03 44 38 ca 7c 3c 45 84 c9 74 37 4c 89 44 24 38 48 89 74 24
RSP: 0018:ffff8880ba107758 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 1ffff11017420ef3 RCX: ffffffff81005fd3
RDX: 0000000000000000 RSI: 000000000000005f RDI: ffffffff8c1708d8
RBP: 0000000000000001 R08: 0000000000000060 R09: 0000000000000000
R10: 0000000000074071 R11: 000000000000019b R12: ffff8880ba107888
R13: ffff8880ba107875 R14: ffff8880ba107878 R15: ffff8880ba107840
FS: 00007fb4bd866700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000052feb8 CR3: 000000008f6f6000 CR4: 00000000001406e0
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
slab_post_alloc_hook mm/slab.h:445 [inline]
slab_alloc_node mm/slab.c:3340 [inline]
kmem_cache_alloc_node_trace+0x13c/0x3b0 mm/slab.c:3666
__do_kmalloc_node mm/slab.c:3688 [inline]
__kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3703
__kmalloc_reserve net/core/skbuff.c:137 [inline]
pskb_expand_head+0x159/0xf20 net/core/skbuff.c:1464
__skb_pad+0x190/0x610 net/core/skbuff.c:1641
__skb_put_padto include/linux/skbuff.h:3037 [inline]
skb_put_padto include/linux/skbuff.h:3056 [inline]
send_hsr_supervision_frame+0xc8a/0xf70 net/hsr/hsr_device.c:318
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:1703 [inline]
run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1716
__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:PageHuge+0x0/0x160 mm/hugetlb.c:1347
Code: 4d 04 00 eb bd e8 20 4d 04 00 eb 94 e8 19 4d 04 00 e9 68 ff ff ff e8 0f 4d 04 00 e9 3b ff ff ff e8 05 4d 04 00 e9 0b ff ff ff <41> 54 55 53 48 89 fb e8 a4 23 ce ff 48 89 da 48 b8 00 00 00 00 00
RSP: 0018:ffff888032e776f0 EFLAGS: 00000296 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81538133
RDX: 1ffffd400051243f RSI: 0000000000000004 RDI: ffffea00028921c0
RBP: ffffea00028921c0 R08: 0000000000000000 R09: ffffed1017424552
R10: ffff8880ba122a93 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffea00028921c0 R15: 00007fb4bebc3000
page_remove_file_rmap+0x3e/0xa30 mm/rmap.c:1218
page_remove_rmap+0xe5/0x120 mm/rmap.c:1300
zap_pte_range mm/memory.c:1350 [inline]
zap_pmd_range mm/memory.c:1452 [inline]
zap_pud_range mm/memory.c:1481 [inline]
zap_p4d_range mm/memory.c:1502 [inline]
unmap_page_range+0x12f6/0x2a70 mm/memory.c:1523
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:546 [inline]
do_exit+0xab5/0x2b70 kernel/exit.c:874
do_group_exit+0x125/0x310 kernel/exit.c:990
get_signal+0x3f2/0x1f70 kernel/signal.c:2588
do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:821
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:0x45de59
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb4bd865cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 000000000118bf28 RCX: 000000000045de59
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118bf28
RBP: 000000000118bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffc1bb2700f R14: 00007fb4bd8669c0 R15: 000000000118bf2c
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3573 Comm: kworker/u4:5 Not tainted 4.19.152-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x50 kernel/kcov.c:101
Code: 16 3d bf 0b 00 00 00 00 e9 39 ec ff ff 90 48 8b 34 24 65 48 8b 04 25 80 df 01 00 65 8b 15 4c 12 9d 7e 81 e2 00 01 1f 00 75 2b <8b> 90 d8 12 00 00 83 fa 02 75 20 48 8b 88 e0 12 00 00 8b 80 dc 12
RSP: 0018:ffff8880a8ed7ca8 EFLAGS: 00000246
RAX: ffff8880a8d961c0 RBX: 0000000000000400 RCX: ffffffff87f93ab2
RDX: 0000000000000000 RSI: ffffffff87f934f5 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000263
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000263 R15: ffff8880a4432c00
FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00ff7a5e0 CR3: 00000000b3876000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:417 [inline]
batadv_nc_worker+0xe5/0xd50 net/batman-adv/network-coding.c:730
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


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Mar 20, 2021, 5:02:13 AM3/20/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages