syzbot


BUG: soft lockup in do_wp_page (4)

Status: auto-closed as invalid on 2021/09/01 04:11
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+0b036374a865ba0efa8e@syzkaller.appspotmail.com
First crash: 1347d, last: 1300d
Duplicate bugs (3)
duplicates (3):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
BUG: soft lockup in get_page_from_freelist mm 8 1292d 1340d 0/28 closed as dup on 2021/03/25 19:07
BUG: soft lockup in handle_mm_fault mm 153 1181d 1286d 0/28 closed as dup on 2021/05/19 06:00
BUG: soft lockup in kjournald2 mm 28 1187d 1338d 0/28 closed as dup on 2021/03/27 07:12
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: soft lockup in do_wp_page (4) 8 (9) 2021/09/17 07:32
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in do_wp_page (2) kernel 1 1773d 1769d 0/28 auto-closed as invalid on 2020/04/16 05:42
upstream BUG: soft lockup in do_wp_page kernel 1 2257d 2256d 0/28 auto-closed as invalid on 2019/03/19 22:21
upstream BUG: soft lockup in do_wp_page (3) kernel 3 1601d 1603d 0/28 auto-closed as invalid on 2020/10/05 22:00

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.0:11479]
Modules linked in:
irq event stamp: 2706
hardirqs last  enabled at (2705): [<ffff80001440fd38>] exit_to_kernel_mode+0x38/0x230 arch/arm64/kernel/entry-common.c:63
hardirqs last disabled at (2706): [<ffff800014410400>] enter_el1_irq_or_nmi+0x10/0x20 arch/arm64/kernel/entry-common.c:105
softirqs last  enabled at (2600): [<ffff8000100109e0>] _stext+0x9e0/0x1084
softirqs last disabled at (2435): [<ffff80001015ced4>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (2435): [<ffff80001015ced4>] invoke_softirq kernel/softirq.c:440 [inline]
softirqs last disabled at (2435): [<ffff80001015ced4>] __irq_exit_rcu+0x494/0x550 kernel/softirq.c:637
CPU: 0 PID: 11479 Comm: syz-executor.0 Not tainted 5.12.0-syzkaller-08136-gd72cd4ad4174 #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:1212
sp : ffff80001a9474a0
x29: ffff80001a9474a0 x28: fffffc0000181f00 
x27: ffff00007fc13ec0 x26: ffff000011f614c0 
x25: ffff6000023ec298 x24: 00000000000014c0 
x23: ffff000011f60000 x22: fffffc0000181f40 
x21: ffff800015534d28 x20: dfff800000000000 
x19: fffffc0000181f00 x18: 0000000000000000 
x17: 0000000000000000 x16: 0000000000000000 
x15: 0000000000000000 x14: 1ffff00003528e5e 
x13: 0000000000000001 x12: ffff7f80000303e7 
x11: 1fffff80000303e6 x10: ffff7f80000303e6 
x9 : 0000000000000000 x8 : ffff600000c0fa00 
x7 : 0000000000000000 x6 : 000000000000003f 
x5 : 0000000000000040 x4 : 1ffff00002fb1938 
x3 : 1fffe000023ec001 x2 : 0000000000000004 
x1 : 0000000000000040 x0 : ffff00000607cd80 
Call trace:
 clear_page+0x14/0x28 arch/arm64/lib/clear_page.S:21
 post_alloc_hook+0x104/0x1fc mm/page_alloc.c:2305
 prep_new_page mm/page_alloc.c:2311 [inline]
 get_page_from_freelist+0x201c/0x2a40 mm/page_alloc.c:3951
 __alloc_pages_nodemask+0x2a0/0x24dc mm/page_alloc.c:5001
 alloc_pages_vma+0xb4/0x510 mm/mempolicy.c:2240
 wp_page_copy+0x198/0x16e0 mm/memory.c:2853
 do_wp_page+0x1d8/0xbbc mm/memory.c:3160
 handle_pte_fault mm/memory.c:4336 [inline]
 __handle_mm_fault+0x1020/0x21d4 mm/memory.c:4453
 handle_mm_fault+0x1cc/0x4dc mm/memory.c:4551
 __do_page_fault arch/arm64/mm/fault.c:507 [inline]
 do_page_fault+0x230/0x8c0 arch/arm64/mm/fault.c:607
 do_mem_abort+0x64/0x1c0 arch/arm64/mm/fault.c:821
 el0_da+0x3c/0x50 arch/arm64/kernel/entry-common.c:314
 el0_sync_handler+0x168/0x1b0 arch/arm64/kernel/entry-common.c:441
 el0_sync+0x18c/0x1c0 arch/arm64/kernel/entry.S:743

Crashes (31):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/04 04:10 upstream d72cd4ad4174 09efdd63 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/30 08:49 upstream d72cd4ad4174 77e2b668 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/28 01:56 upstream fafe1e39ed21 805b5003 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/26 20:16 upstream 9f4ad9e425a1 8ee2dea6 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/26 17:28 upstream 9f4ad9e425a1 2a82f1b3 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/25 16:18 upstream 2a1d7946fa53 36c88236 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/25 12:30 upstream 2a1d7946fa53 36c88236 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/24 13:09 upstream e77a830c8297 17f0b706 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/23 18:54 upstream 18a3c5f7abfd 17f0b706 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/22 09:47 upstream 16fc44d6387e 33c28d03 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in do_wp_page
2021/04/20 11:34 upstream 7af08140979a c0ced557 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/15 19:39 upstream 7e25f40eab52 c59079a6 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in do_wp_page
2021/04/14 12:22 upstream 50987beca096 3134b37f .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/14 06:00 upstream eebe426d32e1 a184b83e .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/12 12:10 upstream d434405aaab7 bfeda1b1 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in do_wp_page
2021/04/12 11:44 upstream d434405aaab7 bfeda1b1 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/11 11:08 upstream 52e44129fba5 bfeda1b1 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in do_wp_page
2021/04/10 04:23 upstream 9288e1f7d396 6a81331a .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/08 12:59 upstream 454859c552da 6a81331a .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/04/08 03:16 upstream 3a22981230f9 6a81331a .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/03/31 15:17 upstream 5e46d1b78a03 6a81331a .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/03/31 12:55 upstream 5e46d1b78a03 6a81331a .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/03/31 00:14 upstream 2bb25b3a748a 6a81331a .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/03/30 19:34 upstream 2bb25b3a748a 6a81331a .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/03/28 21:20 upstream 36a14638f7c0 a8529b82 .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in do_wp_page
2021/03/28 20:39 upstream 81b1d39fd39a a8529b82 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/03/26 17:18 upstream db24726bfefa a8529b82 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/03/25 18:26 upstream e138138003eb 6a383ecf .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in do_wp_page
2021/03/24 21:25 upstream 4ee998b0ef8b 607e3baf .config console log report info ci-qemu2-arm64-compat BUG: soft lockup in do_wp_page
2021/03/20 12:06 upstream 1c273e10bc0c 878fc870 .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
2021/03/18 19:21 upstream bf152b0b41dc 7216542e .config console log report info ci-qemu2-arm64 BUG: soft lockup in do_wp_page
* Struck through repros no longer work on HEAD.