syzbot


riscv/fixes boot error: BUG: soft lockup in corrupted

Status: upstream: reported on 2022/06/02 10:02
Reported-by: syzbot+1d1952c211a38ac43f10@syzkaller.appspotmail.com
First crash: 241d, last: 16d

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 33s! [rm:2654]
Modules linked in:
irq event stamp: 8842
hardirqs last  enabled at (8841): [<ffffffff804d35f6>] __kmem_cache_alloc_bulk mm/slub.c:3968 [inline]
hardirqs last  enabled at (8841): [<ffffffff804d35f6>] kmem_cache_alloc_bulk+0x182/0x390 mm/slub.c:4026
hardirqs last disabled at (8842): [<ffffffff800105e0>] __trace_hardirqs_off+0x18/0x20 arch/riscv/kernel/trace_irq.c:25
softirqs last  enabled at (8826): [<ffffffff833e4bd0>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (8826): [<ffffffff833e4bd0>] __do_softirq+0x640/0x930 kernel/softirq.c:600
softirqs last disabled at (8815): [<ffffffff80069096>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (8815): [<ffffffff80069096>] invoke_softirq kernel/softirq.c:452 [inline]
softirqs last disabled at (8815): [<ffffffff80069096>] __irq_exit_rcu+0x154/0x1ea kernel/softirq.c:650
CPU: 0 PID: 2654 Comm: rm Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: riscv-virtio,qemu (DT)
epc : __kmem_cache_alloc_bulk mm/slub.c:3969 [inline]
epc : kmem_cache_alloc_bulk+0x186/0x390 mm/slub.c:4026
 ra : __kmem_cache_alloc_bulk mm/slub.c:3968 [inline]
 ra : kmem_cache_alloc_bulk+0x182/0x390 mm/slub.c:4026
epc : ffffffff804d35fa ra : ffffffff804d35f6 sp : ff20000004af7850
 gp : ffffffff85cd2e80 tp : ff60000011de3100 t0 : ff6000000eb51f10
 t1 : 00000000000f0000 t2 : 0000000000000018 s0 : ff20000004af78e0
 s1 : 0000000000000006 a0 : 0000000000000000 a1 : 00000000000f0000
 a2 : ffffffff833d4a2a a3 : 0000000000000002 a4 : ff60000011de4100
 a5 : 0000000000002289 a6 : 0000000000000003 a7 : 0000000000000001
 s2 : ffffffff83657c20 s3 : 0000000000000006 s4 : ff6000000eaef810
 s5 : 0000000000000dc0 s6 : ffffffff879dafe0 s7 : ffffffff85cd9700
 s8 : ffffffff83350472 s9 : ff6000005a5dcc00 s10: ff60000007e0ddc0
 s11: 0000000000000006 t3 : fffffffff3f3f300 t4 : ffffffff80123d54
 t5 : 1fe400000095eeb4 t6 : 0000000000000004
status: 0000000000000120 badaddr: 0000000000000000 cause: 8000000000000005
[<ffffffff83350472>] mt_alloc_bulk lib/maple_tree.c:157 [inline]
[<ffffffff83350472>] mas_alloc_nodes+0x26c/0x54c lib/maple_tree.c:1256
[<ffffffff8336edc0>] mas_node_count_gfp lib/maple_tree.c:1315 [inline]
[<ffffffff8336edc0>] mas_preallocate+0x14a/0x226 lib/maple_tree.c:5724
[<ffffffff8043d58a>] __vma_adjust+0x12c/0xf22 mm/mmap.c:715
[<ffffffff8044041e>] vma_adjust include/linux/mm.h:2793 [inline]
[<ffffffff8044041e>] __split_vma+0x1d8/0x334 mm/mmap.c:2236
[<ffffffff8044118a>] split_vma+0x68/0x8c mm/mmap.c:2269
[<ffffffff804496b6>] mprotect_fixup+0x382/0x438 mm/mprotect.c:626
[<ffffffff80449b16>] do_mprotect_pkey.constprop.0+0x3aa/0x63c mm/mprotect.c:785
[<ffffffff80449dce>] __do_sys_mprotect mm/mprotect.c:812 [inline]
[<ffffffff80449dce>] sys_mprotect+0x26/0x3c mm/mprotect.c:809
[<ffffffff80005ff6>] ret_from_syscall+0x0/0x2

Crashes (10):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-qemu2-riscv64 2023/01/13 13:26 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b9b916aee671 529798b0 .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/12/21 11:21 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes eb67d239f3aa 4067838e .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/12/19 15:04 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes eb67d239f3aa c52b2efb .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/12/16 22:09 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes eb67d239f3aa 05494336 .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/10/24 20:40 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 145f88818d44 6134fb91 .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/09/09 11:02 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 20e0fbab1600 90058bdc .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/08/06 13:00 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 88bd24d73d5b 88e3a122 .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/07/11 22:17 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes dc5cb7a833e8 da3d6955 .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/06/17 22:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes e83031564137 8f633d84 .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
ci-qemu2-riscv64 2022/06/02 08:20 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c932edeaf6d6 5783034f .config console log report riscv/fixes boot error: BUG: soft lockup in corrupted
* Struck through repros no longer work on HEAD.