syzbot


kernel BUG in __page_table_check_zero (3)

Status: upstream: reported on 2026/02/18 21:59
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+2b5fe617654be3d8848b@syzkaller.appspotmail.com
First crash: 21d, last: 1h32m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] kernel BUG in __page_table_check_zero (3) 0 (1) 2026/02/18 21:59
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in __page_table_check_zero (2) mm -1 C error done 32 483d 493d 0/29 auto-obsoleted due to no activity on 2025/01/19 02:16
linux-6.1 kernel BUG in __page_table_check_zero origin:lts-only -1 C inconclusive 3 532d 993d 0/3 upstream: reported C repro on 2023/06/18 21:38
upstream kernel BUG in __page_table_check_zero usb -1 C error done 213 534d 1022d 28/29 fixed on 2024/10/22 13:24

Sample crash report:
------------[ cut here ]------------
kernel BUG at [] mm/page_table_check.c:142!
Kernel BUG [#1]
Modules linked in:
CPU: 0 UID: 0 PID: 5681 Comm: syz.0.457 Not tainted syzkaller #0 PREEMPT 
Hardware name: riscv-virtio,qemu (DT)
epc : __page_table_check_zero+0x396/0x544 mm/page_table_check.c:142
 ra : __page_table_check_zero+0x396/0x544 mm/page_table_check.c:142
epc : ffffffff80bfdcce ra : ffffffff80bfdcce sp : ffff8f8003e96b90
 gp : ffffffff89f9df20 tp : ffffaf801e678000 t0 : ffff8f8003e96b40
 t1 : fffff5ef02701409 t2 : 0000000000000000 s0 : ffff8f8003e96c00
 s1 : ffffaf801380a048 a0 : 0000000000000005 a1 : 0000000000000000
 a2 : 0000000000000002 a3 : ffffffff80bfdcce a4 : 0000000000000000
 a5 : ffffaf801e679000 a6 : 0000000000000003 a7 : ffffaf801380a04b
 s2 : 0000000000000001 s3 : 0000000000000000 s4 : ffffaf801380a000
 s5 : dfffffff00000000 s6 : 00000000000b8200 s7 : 0000000000000200
 s8 : 0000000000000009 s9 : 0000000000007fff s10: fffffffef1416bb0
 s11: ffffffff8a0b5d80 t3 : 0000000000000001 t4 : fffff5ef02701409
 t5 : fffff5ef0270140a t6 : 0000000000000002 ssp : 0000000000000000
status: 0000000200000120 badaddr: ffffffff80bfdcce cause: 0000000000000003
[<ffffffff80bfdcce>] __page_table_check_zero+0x396/0x544 mm/page_table_check.c:142
[<ffffffff80a775b6>] page_table_check_free include/linux/page_table_check.h:43 [inline]
[<ffffffff80a775b6>] free_pages_prepare mm/page_alloc.c:1434 [inline]
[<ffffffff80a775b6>] free_unref_folios+0xa22/0x1dc8 mm/page_alloc.c:3030
[<ffffffff808aac84>] folios_put_refs+0x41c/0x61c mm/swap.c:1002
[<ffffffff80ac4cec>] free_pages_and_swap_cache+0x29c/0x480 mm/swap_state.c:358
[<ffffffff809e9980>] __tlb_batch_free_encoded_pages+0xe4/0x25c mm/mmu_gather.c:137
[<ffffffff809eb398>] tlb_batch_pages_flush mm/mmu_gather.c:150 [inline]
[<ffffffff809eb398>] tlb_flush_mmu_free mm/mmu_gather.c:398 [inline]
[<ffffffff809eb398>] tlb_flush_mmu+0xdc/0x5f8 mm/mmu_gather.c:405
[<ffffffff809aaf02>] zap_pte_range mm/memory.c:1897 [inline]
[<ffffffff809aaf02>] zap_pmd_range mm/memory.c:1950 [inline]
[<ffffffff809aaf02>] zap_pud_range mm/memory.c:1978 [inline]
[<ffffffff809aaf02>] zap_p4d_range mm/memory.c:1999 [inline]
[<ffffffff809aaf02>] unmap_page_range+0x1b3a/0x408c mm/memory.c:2020
[<ffffffff809ad592>] unmap_single_vma+0x13e/0x230 mm/memory.c:2062
[<ffffffff809ad86e>] unmap_vmas+0x1ea/0x40c mm/memory.c:2104
[<ffffffff809e610c>] exit_mmap+0x184/0xca8 mm/mmap.c:1277
[<ffffffff8013b6aa>] __mmput+0x106/0x3d0 kernel/fork.c:1173
[<ffffffff8013b9e8>] mmput+0x74/0x88 kernel/fork.c:1196
[<ffffffff8015b08e>] exit_mm kernel/exit.c:581 [inline]
[<ffffffff8015b08e>] do_exit+0x792/0x2828 kernel/exit.c:959
[<ffffffff8015d64e>] do_group_exit+0xca/0x258 kernel/exit.c:1112
[<ffffffff801951fa>] get_signal+0x1f7e/0x224c kernel/signal.c:3034
[<ffffffff800726f0>] arch_do_signal_or_restart+0xca0/0x1ddc arch/riscv/kernel/signal.c:534
[<ffffffff803c0aee>] __exit_to_user_mode_loop kernel/entry/common.c:41 [inline]
[<ffffffff803c0aee>] exit_to_user_mode_loop+0x8e/0x874 kernel/entry/common.c:75
[<ffffffff86391c9a>] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
[<ffffffff86391c9a>] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
[<ffffffff86391c9a>] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
[<ffffffff86391c9a>] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
[<ffffffff86391c9a>] do_trap_ecall_u+0x462/0x58c arch/riscv/kernel/traps.c:359
[<ffffffff863bb61e>] handle_exception+0x15e/0x16a arch/riscv/kernel/entry.S:232
Code: 7f80 8526 c0ef ec3f 8a2a b791 6097 ff90 80e7 7e60 (9002) 6097 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	7f80                	flw	fs0,56(a5)
   2:	8526                	mv	a0,s1
   4:	ec3fc0ef          	jal	0xffffffffffffcec6
   8:	8a2a                	mv	s4,a0
   a:	b791                	j	0xffffffffffffff4e
   c:	ff906097          	auipc	ra,0xff906
  10:	7e6080e7          	jalr	2022(ra) # 0xff9067f2
* 14:	9002                	ebreak <-- trapping instruction
  16:	9760                	.short	0x6097

Crashes (63):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/08 19:44 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/03/08 19:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/03/08 18:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/03/08 16:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/03/08 15:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/03/08 09:52 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/03/07 14:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 5cb44a80 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/03/04 09:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 4180d919 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/03/02 08:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 2cf092b8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/28 15:07 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 2cf092b8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/28 15:05 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 2cf092b8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/28 13:54 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 2cf092b8 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 09:14 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 09:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 08:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 08:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 06:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 06:14 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 06:12 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 06:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 06:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 04:32 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 04:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/23 04:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/22 22:22 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/22 22:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/22 22:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 6e7b5511 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 13:32 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 13:31 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 13:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 11:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 11:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 11:20 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 11:15 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 11:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 07:49 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 07:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 06:56 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 06:55 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 04:41 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/16 04:39 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/15 23:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/15 23:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/15 23:37 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/15 23:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/15 17:26 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/15 17:25 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/15 11:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/15 11:28 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
2026/02/14 21:51 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 18be4ca5cb4e 1e62d198 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in __page_table_check_zero
* Struck through repros no longer work on HEAD.