syzbot


BUG: soft lockup in get_page_from_freelist

Status: closed as dup on 2021/03/25 19:07
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+b6c93d85a3f77fca7f13@syzkaller.appspotmail.com
First crash: 1340d, last: 1292d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: soft lockup in do_wp_page (4) mm 31 1300d 1347d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] BUG: soft lockup in do_wp_page (4) 8 (9) 2021/09/17 07:32
[syzbot] BUG: soft lockup in get_page_from_freelist 1 (2) 2021/03/25 19:07

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor.0:12444]
Modules linked in:
irq event stamp: 332
hardirqs last  enabled at (331): [<ffff8000144933e8>] exit_to_kernel_mode+0x38/0x230 arch/arm64/kernel/entry-common.c:63
hardirqs last disabled at (332): [<ffff800014493ab0>] enter_el1_irq_or_nmi+0x10/0x20 arch/arm64/kernel/entry-common.c:105
softirqs last  enabled at (280): [<ffff8000100109e0>] _stext+0x9e0/0x1084
softirqs last disabled at (273): [<ffff80001015ea14>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (273): [<ffff80001015ea14>] invoke_softirq kernel/softirq.c:440 [inline]
softirqs last disabled at (273): [<ffff80001015ea14>] __irq_exit_rcu+0x494/0x550 kernel/softirq.c:637
CPU: 1 PID: 12444 Comm: syz-executor.0 Not tainted 5.13.0-rc1-syzkaller-00076-g88b06399c9c7 #0
Hardware name: linux,dummy-virt (DT)
pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--)
pc : clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:23
lr : clear_highpage include/linux/highmem.h:203 [inline]
lr : kernel_init_free_pages+0x74/0x180 mm/page_alloc.c:1238
sp : ffff800018a47650
x29: ffff800018a47650 x28: ffff00007fc13ec0 x27: 0000000000000000
x26: ffff00000a1014c0 x25: ffff600001420298 x24: 00000000000014c0
x23: ffff00000a100000 x22: fffffc0000184740 x21: ffff8000155ce088
x20: dfff800000000000 x19: fffffc0000184700 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
x14: 1ffff00003148e94 x13: 0000000000000001 x12: ffff7f80000308e7
x11: 1fffff80000308e6 x10: ffff7f80000308e6 x9 : 0000000000000000
x8 : ffff600000c23a00 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 1ffff00002fc8d50 x3 : 1fffe00001420001
x2 : 0000000000000004 x1 : 0000000000000040 x0 : ffff00000611c880
Call trace:
 clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:21
 post_alloc_hook+0x108/0x21c mm/page_alloc.c:2350
 prep_new_page mm/page_alloc.c:2358 [inline]
 get_page_from_freelist+0x1998/0x235c mm/page_alloc.c:3994
 __alloc_pages+0x1a8/0x21e0 mm/page_alloc.c:5200
 alloc_pages_vma+0xb4/0x510 mm/mempolicy.c:2236
 alloc_zeroed_user_highpage_movable include/linux/highmem.h:197 [inline]
 do_anonymous_page mm/memory.c:3589 [inline]
 handle_pte_fault mm/memory.c:4365 [inline]
 __handle_mm_fault+0xcec/0x26f0 mm/memory.c:4502
 handle_mm_fault+0x1cc/0x4e0 mm/memory.c:4600
 __do_page_fault arch/arm64/mm/fault.c:507 [inline]
 do_page_fault+0x230/0x8c0 arch/arm64/mm/fault.c:607
 do_translation_fault+0x1a4/0x210 arch/arm64/mm/fault.c:688
 do_mem_abort+0x64/0x1c0 arch/arm64/mm/fault.c:821
 el0_da+0x3c/0x50 arch/arm64/kernel/entry-common.c:306
 el0_sync_handler+0x168/0x1b0 arch/arm64/kernel/entry-common.c:427
 el0_sync+0x198/0x1c0 arch/arm64/kernel/entry.S:734

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/12 07:16 upstream 88b06399c9c7 b3c3bb8e .config console log report info ci-qemu2-arm64 BUG: soft lockup in get_page_from_freelist
2021/04/25 21:00 upstream d2d09fbe33f8 33592cee .config console log report info ci-qemu2-arm64 BUG: soft lockup in get_page_from_freelist
2021/04/24 01:50 upstream e77a830c8297 17f0b706 .config console log report info ci-qemu2-arm64 BUG: soft lockup in get_page_from_freelist
2021/04/21 09:10 upstream 1fe5501ba1ab 95777977 .config console log report info ci-qemu2-arm64 BUG: soft lockup in get_page_from_freelist
2021/04/19 16:14 upstream bf05bf16c76b 50f523d7 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in get_page_from_freelist
2021/04/17 13:53 upstream 9cdbf6467424 7e2b734b .config console log report info ci-qemu2-arm64 BUG: soft lockup in get_page_from_freelist
2021/03/26 18:21 upstream db24726bfefa a8529b82 .config console log report info ci-qemu2-arm64 BUG: soft lockup in get_page_from_freelist
2021/03/25 09:40 upstream e138138003eb 6a383ecf .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in get_page_from_freelist
* Struck through repros no longer work on HEAD.