syzbot


BUG: soft lockup in handle_mm_fault

Status: closed as dup on 2021/05/19 06:00
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+44b5132ce1d2d712a574@syzkaller.appspotmail.com
First crash: 1287d, last: 1178d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
BUG: soft lockup in do_wp_page (4) mm 31 1297d 1344d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: soft lockup in handle_mm_fault 1 (2) 2021/05/19 06:00
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in handle_mm_fault 1 654d 654d 0/1 upstream: reported on 2023/02/05 20:47
upstream BUG: soft lockup in handle_mm_fault (2) arm 84 1103d 1172d 0/28 auto-closed as invalid on 2022/02/12 04:15
linux-5.15 INFO: rcu detected stall in handle_mm_fault (2) origin:upstream missing-backport C error 5 41d 304d 0/3 upstream: reported C repro on 2024/01/22 00:21
linux-6.1 INFO: rcu detected stall in handle_mm_fault 1 335d 335d 0/3 auto-obsoleted due to no activity on 2024/03/30 23:28
linux-5.15 INFO: rcu detected stall in handle_mm_fault 1 412d 412d 0/3 auto-obsoleted due to no activity on 2024/01/14 02:34

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.1:4114]
Modules linked in:
irq event stamp: 13929844
hardirqs last  enabled at (13929843): [<ffff800014591458>] exit_to_kernel_mode+0x38/0x230 arch/arm64/kernel/entry-common.c:71
hardirqs last disabled at (13929844): [<ffff800014591410>] enter_el1_irq_or_nmi+0x10/0x20 arch/arm64/kernel/entry-common.c:113
softirqs last  enabled at (13929730): [<ffff8000100109a4>] _stext+0x9a4/0x1050
softirqs last disabled at (13929571): [<ffff800010161bd8>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (13929571): [<ffff800010161bd8>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (13929571): [<ffff800010161bd8>] __irq_exit_rcu+0x208/0x4f0 kernel/softirq.c:636
CPU: 1 PID: 4114 Comm: syz-executor.1 Not tainted 5.14.0-syzkaller-01100-gb91db6a0b52e #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:184 [inline]
lr : kernel_init_free_pages.part.0+0x6c/0x17c mm/page_alloc.c:1286
sp : ffff80001a4a7490
x29: ffff80001a4a7490 x28: 0000000000000000 x27: ffff00007fc11ec0
x26: ffff00000a896380 x25: ffff600001512c70 x24: 00000000000014c0
x23: ffff00000a894ec0 x22: fffffc0000171680 x21: ffff800015718d00
x20: dfff800000000000 x19: fffffc0000171640 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
x14: 1ffff00003494e5c x13: 0000000000000014 x12: ffff7f800002e2cf
x11: 1fffff800002e2ce x10: ffff7f800002e2ce x9 : 0000000000000000
x8 : ffff600000b8b400 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : 1ffff00003050388 x3 : 1fffe000015129d9
x2 : 0000000000000004 x1 : 0000000000000040 x0 : ffff000005c59f00
Call trace:
 clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:21
 kernel_init_free_pages mm/page_alloc.c:1283 [inline]
 post_alloc_hook+0x1ac/0x25c mm/page_alloc.c:2426
 prep_new_page mm/page_alloc.c:2436 [inline]
 get_page_from_freelist+0x184c/0x231c mm/page_alloc.c:4168
 __alloc_pages+0x1a8/0x2244 mm/page_alloc.c:5390
 alloc_pages_vma+0xb4/0x4dc mm/mempolicy.c:2208
 wp_page_copy+0x194/0x16b4 mm/memory.c:3003
 do_wp_page+0x1d8/0xbd0 mm/memory.c:3313
 handle_pte_fault mm/memory.c:4576 [inline]
 __handle_mm_fault+0x10a4/0x26a0 mm/memory.c:4693
 handle_mm_fault+0x1dc/0x4f0 mm/memory.c:4791
 __do_page_fault arch/arm64/mm/fault.c:512 [inline]
 do_page_fault+0x230/0x8c0 arch/arm64/mm/fault.c:612
 do_mem_abort+0x64/0x1c0 arch/arm64/mm/fault.c:826
 el0_da+0x3c/0x50 arch/arm64/kernel/entry-common.c:409
 el0t_64_sync_handler+0x168/0x1ac arch/arm64/kernel/entry-common.c:530
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:574

Crashes (153):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/31 17:54 upstream b91db6a0b52e 7eb7e152 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/30 19:38 upstream 7d2a07b76933 8f58a0ef .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/08/30 03:47 upstream 90ac80dcd313 be2c130d .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/30 00:29 upstream 90ac80dcd313 be2c130d .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/29 05:47 upstream 3f5ad13cb012 be2c130d .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/29 01:41 upstream 3f5ad13cb012 be2c130d .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/28 23:38 upstream 3f5ad13cb012 be2c130d .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/08/28 21:21 upstream 3f5ad13cb012 be2c130d .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/28 19:01 upstream 64b4fc45bea6 be2c130d .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/08/28 04:16 upstream 1a6436f37512 57b01c6e .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/27 03:18 upstream 1a6d80ff2419 b318694d .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/26 19:38 upstream 73f3af7b4611 b318694d .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/26 08:17 upstream 73f3af7b4611 b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/25 16:12 upstream 6e764bcd1cf7 b599f2fc .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/08/24 02:02 upstream d5ae8d7f85b7 b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/23 12:00 upstream e22ce8eb631b b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/23 10:13 upstream e22ce8eb631b b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/23 06:53 upstream 1bdc3d5be7e1 b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/22 17:13 upstream 9ff50bf2f2ff b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/22 16:05 upstream 9ff50bf2f2ff b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/22 05:22 upstream 002c0aef1090 b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/21 22:38 upstream 002c0aef1090 b599f2fc .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/08/21 15:44 upstream fa54d366a6e4 b599f2fc .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/08/21 10:27 upstream fa54d366a6e4 b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/20 22:18 upstream d992fe5318d8 b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/20 14:01 upstream f87d64319e6f b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/20 06:27 upstream f87d64319e6f b599f2fc .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/19 21:00 upstream d6d09a694205 e2da378b .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/19 18:03 upstream d6d09a694205 e2da378b .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/08/19 05:20 upstream d6d09a694205 a2fe1cb5 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/18 05:23 upstream 614cb2751d31 a2fe1cb5 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/17 08:37 upstream a2824f19e606 33c26cb7 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/16 16:42 upstream 7c60610d4767 6652437d .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/15 18:28 upstream 12f41321ce76 2489ab88 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/15 10:47 upstream 12f41321ce76 2489ab88 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/14 12:04 upstream dfa377c35d70 2489ab88 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/14 06:14 upstream dfa377c35d70 2489ab88 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/14 01:45 upstream f8e6dfc64f61 2489ab88 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/13 18:40 upstream f8e6dfc64f61 2489ab88 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/13 05:12 upstream f8e6dfc64f61 3fd2ea69 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/08/13 02:10 upstream f8fbb47c6e86 c551a195 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/12 18:05 upstream 1746f4db5135 c551a195 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/12 14:57 upstream 1746f4db5135 6972b106 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/11 10:02 upstream 761c6d7ec820 6972b106 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/08/10 19:48 upstream 9e723c5380c6 6972b106 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in handle_mm_fault
2021/05/17 05:53 upstream d07f6ca923ea f54a5c09 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
2021/05/14 19:44 upstream bd3c9cdb21a2 8bdd5343 .config console log report info ci-qemu2-arm64 BUG: soft lockup in handle_mm_fault
* Struck through repros no longer work on HEAD.