BUG: soft lockup in sctp_generate_heartbeat_event (2)

6 views
Skip to first unread message

syzbot

unread,
Mar 24, 2021, 8:40:14 AM3/24/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 670d6552 Linux 4.14.227
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1036d301d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=b38402558b315f84
dashboard link: https://syzkaller.appspot.com/bug?extid=ab0f1619627cfa6c5697

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+ab0f16...@syzkaller.appspotmail.com

watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.5:19343]
Modules linked in:
irq event stamp: 4402033
hardirqs last enabled at (4402032): [<ffffffff87400976>] restore_regs_and_return_to_kernel+0x0/0x2a
hardirqs last disabled at (4402033): [<ffffffff874018ae>] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793
softirqs last enabled at (314626): [<ffffffff8760068b>] __do_softirq+0x68b/0x9ff kernel/softirq.c:314
softirqs last disabled at (316073): [<ffffffff81320ae3>] invoke_softirq kernel/softirq.c:368 [inline]
softirqs last disabled at (316073): [<ffffffff81320ae3>] irq_exit+0x193/0x240 kernel/softirq.c:409
CPU: 1 PID: 19343 Comm: syz-executor.5 Not tainted 4.14.227-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88805da90200 task.stack: ffff888040cd8000
RIP: 0010:deref_stack_reg+0x0/0x1a0 arch/x86/kernel/unwind_orc.c:285
RSP: 0018:ffff8880ba5074c8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: ffff8880ba507d58 RBX: 1ffff110174a0ea1 RCX: ffffffff8ad62fda
RDX: ffff8880ba5075d8 RSI: ffff8880ba507d50 RDI: ffff8880ba507590
RBP: 0000000000000002 R08: ffffffff8ad62fde R09: ffffffff8ad62fdf
R10: 0000000000129fed R11: 0000000000000001 R12: ffff8880ba5075c5
R13: ffff8880ba5075c8 R14: ffff8880ba5075e0 R15: ffff8880ba507590
FS: 00007fd996004700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000008e6a000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
unwind_next_frame+0xc98/0x17d0 arch/x86/kernel/unwind_orc.c:425
__save_stack_trace+0x90/0x160 arch/x86/kernel/stacktrace.c:44
save_stack mm/kasan/kasan.c:447 [inline]
set_track mm/kasan/kasan.c:459 [inline]
kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551
kmem_cache_alloc_node_trace+0x153/0x400 mm/slab.c:3661
__do_kmalloc_node mm/slab.c:3681 [inline]
__kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3696
__kmalloc_reserve net/core/skbuff.c:137 [inline]
__alloc_skb+0x96/0x510 net/core/skbuff.c:205
alloc_skb include/linux/skbuff.h:980 [inline]
_sctp_make_chunk+0x44/0x250 net/sctp/sm_make_chunk.c:1392
sctp_make_control net/sctp/sm_make_chunk.c:1433 [inline]
sctp_make_heartbeat+0x7b/0x340 net/sctp/sm_make_chunk.c:1152
sctp_sf_heartbeat.constprop.0+0x21/0x170 net/sctp/sm_statefuns.c:981
sctp_sf_sendbeat_8_3+0x34e/0x4f0 net/sctp/sm_statefuns.c:1025
sctp_do_sm+0x13d/0x4c70 net/sctp/sm_sideeffect.c:1147
sctp_generate_heartbeat_event+0x273/0x440 net/sctp/sm_sideeffect.c:391
call_timer_fn+0x14a/0x650 kernel/time/timer.c:1280
expire_timers+0x232/0x4d0 kernel/time/timer.c:1319
__run_timers kernel/time/timer.c:1637 [inline]
run_timer_softirq+0x1d5/0x5a0 kernel/time/timer.c:1650
__do_softirq+0x24d/0x9ff kernel/softirq.c:288
invoke_softirq kernel/softirq.c:368 [inline]
irq_exit+0x193/0x240 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:638 [inline]
smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1106
apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
</IRQ>
RIP: 0010:release_pages+0x179/0xbf0 mm/swap.c:780
RSP: 0018:ffff888040cdf6c0 EFLAGS: 00000207 ORIG_RAX: ffffffffffffff10
RAX: ffff88805da90200 RBX: 00000000000001fe RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000000001fe RDI: ffff88809598b010
RBP: ffffea0002d2ba80 R08: ffffed101184ae00 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffffea0002d2ba9c R14: ffff88809598b6a0 R15: dffffc0000000000
tlb_flush_mmu_free+0xc1/0x1a0 mm/memory.c:272
zap_pte_range mm/memory.c:1421 [inline]
zap_pmd_range mm/memory.c:1456 [inline]
zap_pud_range mm/memory.c:1485 [inline]
zap_p4d_range mm/memory.c:1506 [inline]
unmap_page_range+0x1533/0x1ce0 mm/memory.c:1527
unmap_single_vma+0x147/0x2b0 mm/memory.c:1572
unmap_vmas+0x9d/0x160 mm/memory.c:1602
exit_mmap+0x270/0x4d0 mm/mmap.c:3058
__mmput kernel/fork.c:930 [inline]
mmput kernel/fork.c:951 [inline]
mmput+0xfa/0x420 kernel/fork.c:946
exit_mm kernel/exit.c:548 [inline]
do_exit+0x984/0x2850 kernel/exit.c:855
do_group_exit+0x100/0x2e0 kernel/exit.c:965
get_signal+0x38d/0x1ca0 kernel/signal.c:2423
do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:792
exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160
prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x466459
RSP: 002b:00007fd996004188 EFLAGS: 00000246 ORIG_RAX: 000000000000010e
RAX: fffffffffffffdfe RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000040
RBP: 00000000004bf9fb R08: 0000000020000200 R09: 0000000000000000
R10: 0000000020000140 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007fffc880390f R14: 00007fd996004300 R15: 0000000000022000
Code: 4e 5b 00 eb a8 48 89 ef e8 2e 4f 5b 00 eb c4 48 89 ef e8 24 4f 5b 00 eb de 66 90 48 8b 07 48 89 06 c3 66 0f 1f 84 00 00 00 00 00 <48> b8 00 00 00 00 00 fc ff df 41 56 41 55 49 89 d5 41 54 49 89
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7244 Comm: agetty Not tainted 4.14.227-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888093d44640 task.stack: ffff888235a68000
RIP: 0010:entry_SYSCALL_64_after_hwframe+0x5/0xbb
RSP: 0018:ffff888235a6ffb0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f50714c2910
RDX: 0000000000000001 RSI: 00007fff446901cf RDI: 0000000000000000
RBP: 0000000000000008 R08: ffffffffffffff98 R09: 00007fff4468f020
R10: 000000000000016d R11: 0000000000000246 R12: 0000000000000000
R13: 000056387b074900 R14: 00007fff446901d0 R15: 0000000000000012
FS: 00007f50719a5500(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c016365000 CR3: 000000009f767000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
Code: 66 90 0f 01 f8 65 48 89 24 25 60 d1 01 00 65 48 8b 24 25 0c 90 00 00 6a 2b 65 ff 34 25 60 d1 01 00 41 53 6a 33 51 50 57 56 52 51 <6a> da 41 50 41 51 41 52 41 53 53 55 41 54 41 55 41 56 41 57 31


---
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,
Jul 22, 2021, 8:40:13 AM7/22/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