syzbot


BUG: soft lockup in call_usermodehelper_exec_async

Status: closed as dup on 2021/09/17 07:37
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+c3963f4f025fa5dfb78b@syzkaller.appspotmail.com
First crash: 1219d, last: 1111d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: soft lockup in handle_mm_fault (2) arm 84 1103d 1172d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: soft lockup in call_usermodehelper_exec_async 1 (2) 2021/09/17 07:37
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in call_usermodehelper_exec_async 1 166d 166d 0/3 auto-obsoleted due to no activity on 2024/09/16 03:00
linux-5.15 INFO: rcu detected stall in call_usermodehelper_exec_async 1 509d 509d 0/3 auto-obsoleted due to no activity on 2023/10/09 16:55
upstream INFO: rcu detected stall in call_usermodehelper_exec_async (2) cgroups mm 1 905d 905d 0/28 auto-closed as invalid on 2022/08/28 20:38

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 21s! [kworker/u4:16:4494]
Modules linked in:
irq event stamp: 132
hardirqs last  enabled at (131): [<ffff8000146c5478>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:82 [inline]
hardirqs last  enabled at (131): [<ffff8000146c5478>] exit_to_kernel_mode+0x38/0x210 arch/arm64/kernel/entry-common.c:92
hardirqs last disabled at (132): [<ffff8000146c7db4>] __el1_irq arch/arm64/kernel/entry-common.c:435 [inline]
hardirqs last disabled at (132): [<ffff8000146c7db4>] el1_interrupt+0x24/0x50 arch/arm64/kernel/entry-common.c:460
softirqs last  enabled at (0): [<ffff800010143170>] copy_process+0x157c/0x59ec kernel/fork.c:2136
softirqs last disabled at (0): [<0000000000000000>] 0x0
CPU: 0 PID: 4494 Comm: kworker/u4:16 Not tainted 5.15.0-syzkaller-10643-gfe91c4725aee #0
Hardware name: linux,dummy-virt (DT)
pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:23
lr : clear_highpage include/linux/highmem.h:218 [inline]
lr : kernel_init_free_pages.part.0+0x80/0x1fc mm/page_alloc.c:1278
sp : ffff80001a997330
x29: ffff80001a997330 x28: 0000000000000003 x27: 0000000000000001
x26: fffffc0000177700 x25: dfff800000000000 x24: ffff80001588add0
x23: ffff00000bbb1a80 x22: ffff00000bbb1a88 x21: 00000000000014f0
x20: 0000000000000003 x19: ffff6000017765ee x18: ffff00006aa41c08
x17: 0000000000001248 x16: 0000000000001250 x15: ffff00000ba8c900
x14: 1ffff00003532e2c x13: 0000000000000013 x12: ffff7f800002eee7
x11: 1fffff800002eee6 x10: ffff7f800002eee6 x9 : 0000000000000000
x8 : ffff600000bbba00 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : fffffc0000000000 x3 : ffff80001588a000
x2 : 0000000000000004 x1 : 0000000000000040 x0 : ffff000005ddc940
Call trace:
 clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:21
 kernel_init_free_pages mm/page_alloc.c:1275 [inline]
 post_alloc_hook+0x1ac/0x25c mm/page_alloc.c:2416
 prep_new_page mm/page_alloc.c:2426 [inline]
 get_page_from_freelist+0x17c4/0x2250 mm/page_alloc.c:4155
 __alloc_pages+0x1a8/0x22e0 mm/page_alloc.c:5381
 alloc_pages_vma+0xbc/0x560 mm/mempolicy.c:2152
 alloc_zeroed_user_highpage_movable+0x9c/0xd0 arch/arm64/mm/fault.c:926
 do_anonymous_page mm/memory.c:3769 [inline]
 handle_pte_fault mm/memory.c:4568 [inline]
 __handle_mm_fault+0xbf0/0x21e0 mm/memory.c:4705
 handle_mm_fault+0x208/0x520 mm/memory.c:4803
 faultin_page mm/gup.c:939 [inline]
 __get_user_pages+0x2e8/0x540 mm/gup.c:1160
 __get_user_pages_locked mm/gup.c:1345 [inline]
 __get_user_pages_remote+0x10c/0x500 mm/gup.c:1989
 get_user_pages_remote+0x28/0x40 mm/gup.c:2062
 get_arg_page+0xd8/0x24c fs/exec.c:221
 copy_string_kernel+0x1a4/0x354 fs/exec.c:633
 kernel_execve+0x1ac/0x380 fs/exec.c:1963
 call_usermodehelper_exec_async+0x260/0x460 kernel/umh.c:112
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:756

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/06 13:33 upstream fe91c4725aee 4c1be0be .config console log report info ci-qemu2-arm64 BUG: soft lockup in call_usermodehelper_exec_async
2021/07/21 01:41 upstream 8cae8cd89f05 1b201b48 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in call_usermodehelper_exec_async
* Struck through repros no longer work on HEAD.