Hello,
syzbot found the following crash on:
HEAD commit: 78d697fc Linux 4.14.172
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=122ec7a1e00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=31ad682bcda9b93f
dashboard link:
https://syzkaller.appspot.com/bug?extid=4fc65f693a1462d1a901
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+4fc65f...@syzkaller.appspotmail.com
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.1:14728]
Modules linked in:
irq event stamp: 25577425
hardirqs last enabled at (25577424): [<ffffffff86600972>] restore_regs_and_return_to_kernel+0x0/0x2e
hardirqs last disabled at (25577425): [<ffffffff86601aba>] apic_timer_interrupt+0x8a/0xa0 arch/x86/entry/entry_64.S:792
softirqs last enabled at (143548): [<ffffffff86800664>] __do_softirq+0x664/0x9bf kernel/softirq.c:314
softirqs last disabled at (179769): [<ffffffff81374ecb>] invoke_softirq kernel/softirq.c:368 [inline]
softirqs last disabled at (179769): [<ffffffff81374ecb>] irq_exit+0x15b/0x1a0 kernel/softirq.c:409
CPU: 1 PID: 14728 Comm: syz-executor.1 Not tainted 4.14.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88804d04e5c0 task.stack: ffff8881fd940000
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline]
RIP: 0010:kmem_cache_free+0xa9/0x2b0 mm/slab.c:3759
RSP: 0018:ffff8880aeb07738 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000007 RBX: ffff88809ec42ac0 RCX: 1ffff11009a09de0
RDX: 0000000000000000 RSI: ffff88804d04eee0 RDI: 0000000000000286
RBP: ffff88821ac143c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286
R13: ffffffff84f8f548 R14: ffff8880a8fe4318 R15: ffff88809ec42ac0
FS: 00007f81221fd700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3082f000 CR3: 000000005434e000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
kfree_skbmem+0x98/0x100 net/core/skbuff.c:586
__kfree_skb net/core/skbuff.c:646 [inline]
consume_skb+0xaf/0x330 net/core/skbuff.c:705
sctp_chunk_destroy net/sctp/sm_make_chunk.c:1442 [inline]
sctp_chunk_put+0x167/0x250 net/sctp/sm_make_chunk.c:1469
sctp_packet_pack net/sctp/output.c:485 [inline]
sctp_packet_transmit+0x1021/0x2d70 net/sctp/output.c:605
sctp_outq_flush+0xc54/0x2dd0 net/sctp/outqueue.c:1187
sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1787 [inline]
sctp_side_effects net/sctp/sm_sideeffect.c:1179 [inline]
sctp_do_sm+0x419/0x4a90 net/sctp/sm_sideeffect.c:1150
sctp_generate_heartbeat_event+0x1da/0x3f0 net/sctp/sm_sideeffect.c:391
call_timer_fn+0x14a/0x650 kernel/time/timer.c:1279
expire_timers kernel/time/timer.c:1318 [inline]
__run_timers kernel/time/timer.c:1636 [inline]
__run_timers kernel/time/timer.c:1604 [inline]
run_timer_softirq+0x52a/0x1390 kernel/time/timer.c:1649
__do_softirq+0x254/0x9bf kernel/softirq.c:288
invoke_softirq kernel/softirq.c:368 [inline]
irq_exit+0x15b/0x1a0 kernel/softirq.c:409
exiting_irq arch/x86/include/asm/apic.h:648 [inline]
smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1102
apic_timer_interrupt+0x8f/0xa0 arch/x86/entry/entry_64.S:792
</IRQ>
RIP: 0010:preempt_schedule_irq+0xa6/0x140 kernel/sched/core.c:3611
RSP: 0018:ffff8881fd947160 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff0fa2ce3 RBX: dffffc0000000000 RCX: 1ffff11009a09dd1
RDX: 0000000000000000 RSI: ffff88804d04ee90 RDI: ffff88804d04ee3c
RBP: ffffed1009a09cb8 R08: 0000013b7f13a802 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88804d04e5c0
R13: ffffffff87d16718 R14: 0000000000000000 R15: 0000000000000000
retint_kernel+0x1b/0x2d
RIP: 0010:preempt_schedule_common+0x0/0xc0 kernel/sched/core.c:3491
RSP: 0018:ffff8881fd947230 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000286 RBX: 0000000000000286 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffff88804d04ee90 RDI: 0000000000000001
RBP: ffff8881fd947280 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88804d04e958 R14: ffff8880a98384c8 R15: ffffffff87d86768
___preempt_schedule+0x16/0x18
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
_raw_spin_unlock_irqrestore+0xb7/0xe0 kernel/locking/spinlock.c:192
rcu_read_unlock_special+0x62a/0xcf0 kernel/rcu/tree_plugin.h:528
__rcu_read_unlock+0x158/0x160 kernel/rcu/update.c:260
rcu_read_unlock include/linux/rcupdate.h:684 [inline]
is_bpf_text_address+0x86/0x120 kernel/bpf/core.c:458
kernel_text_address+0x6e/0xe0 kernel/extable.c:150
__kernel_text_address+0x9/0x30 kernel/extable.c:105
unwind_get_return_address arch/x86/kernel/unwind_orc.c:255 [inline]
unwind_get_return_address+0x5a/0xa0 arch/x86/kernel/unwind_orc.c:250
__save_stack_trace+0x7b/0xd0 arch/x86/kernel/stacktrace.c:45
save_stack+0x32/0xa0 mm/kasan/kasan.c:447
set_track mm/kasan/kasan.c:459 [inline]
kasan_kmalloc mm/kasan/kasan.c:551 [inline]
kasan_kmalloc+0xbf/0xe0 mm/kasan/kasan.c:529
slab_post_alloc_hook mm/slab.h:442 [inline]
slab_alloc mm/slab.c:3390 [inline]
kmem_cache_alloc+0x114/0x770 mm/slab.c:3550
ext4_alloc_inode+0x19/0x610 fs/ext4/super.c:1002
alloc_inode+0x5d/0x170 fs/inode.c:209
new_inode_pseudo+0x14/0xe0 fs/inode.c:898
new_inode+0x1b/0x40 fs/inode.c:927
__ext4_new_inode+0x32c/0x4860 fs/ext4/ialloc.c:837
ext4_create+0x1cf/0x4e0 fs/ext4/namei.c:2486
lookup_open+0x10e8/0x1750 fs/namei.c:3241
do_last fs/namei.c:3334 [inline]
path_openat+0xfc1/0x3c50 fs/namei.c:3569
do_filp_open+0x18e/0x250 fs/namei.c:3603
do_sys_open+0x29d/0x3f0 fs/open.c:1084
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c479
RSP: 002b:00007f81221fcc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f81221fd6d4 RCX: 000000000045c479
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000098 R14: 00000000004c2eef R15: 000000000076bf2c
Code: 0f 84 cb 00 00 00 41 f7 c4 00 02 00 00 0f 84 9c 00 00 00 e8 1a 72 c2 ff 48 83 3d 3a 02 4e 06 00 0f 84 f5 01 00 00 4c 89 e7 57 9d <0f> 1f 44 00 00 4c 8b 64 24 20 0f 1f 44 00 00 65 8b 05 41 1c 7e
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 478 Comm: syz-executor.5 Not tainted 4.14.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880230a85c0 task.stack: ffff888215fe0000
RIP: 0010:__lock_release kernel/locking/lockdep.c:3800 [inline]
RIP: 0010:lock_release+0x524/0x7f0 kernel/locking/lockdep.c:4013
RSP: 0018:ffff888215fe7708 EFLAGS: 00000802
RAX: dffffc0000000000 RBX: 1ffff11042bfcee5 RCX: 1ffff110046151c6
RDX: 1ffff110046151c7 RSI: 0000000000000002 RDI: ffff8880230a85c0
RBP: 9465d12b387bc9b6 R08: 0000000000000001 R09: 0000000000000000
R10: ffff8880230a8e68 R11: ffff8880230a85c0 R12: ffffffff81885dff
R13: 0000000000000003 R14: ffff8880230a85c0 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001cbf000 CR3: 0000000007c6a000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
page_remove_file_rmap mm/rmap.c:1245 [inline]
page_remove_rmap+0x1b9/0x920 mm/rmap.c:1296
zap_pte_range mm/memory.c:1342 [inline]
zap_pmd_range mm/memory.c:1444 [inline]
zap_pud_range mm/memory.c:1473 [inline]
zap_p4d_range mm/memory.c:1494 [inline]
unmap_page_range+0xa60/0x1930 mm/memory.c:1515
unmap_single_vma+0x147/0x2b0 mm/memory.c:1560
unmap_vmas+0x9d/0x160 mm/memory.c:1590
exit_mmap+0x26d/0x4b0 mm/mmap.c:3056
__mmput kernel/fork.c:930 [inline]
mmput+0x103/0x420 kernel/fork.c:951
exit_mm kernel/exit.c:545 [inline]
do_exit+0x933/0x2b00 kernel/exit.c:845
do_group_exit+0x100/0x310 kernel/exit.c:955
get_signal+0x385/0x1ca0 kernel/signal.c:2418
do_signal+0x7c/0x1690 arch/x86/kernel/signal.c:814
exit_to_usermode_loop+0x159/0x220 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+0x42/0xb7
RIP: 0033:0x45c479
RSP: 002b:00007f146d58ccf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000076c108 RCX: 000000000045c479
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000076c108
RBP: 000000000076c100 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000076c10c
R13: 00007ffd78a8a50f R14: 00007f146d58d9c0 R15: 000000000076c10c
Code: be 65 ff 0d bf ba bb 7e 0f 85 42 fc ff ff e8 ed 0c ba ff e9 38 fc ff ff 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 08 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 7e 02 00 00 45 8d 4f ff 45
---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.