kernel BUG in page_table_check_set (2)

Status: upstream: reported on 2026/02/05 22:40
Subsystems: mm
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+227179d5a8a87e9df90d@syzkaller.appspotmail.com
First crash: 219d, last: 1d19h
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
dbe26b28 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ kernel BUG in page_table_check_set (2) 2026/05/12 01:00 2026/05/12 01:00 2026/05/12 01:30 d168f260
cb8b9a41 repro kernel BUG in page_table_check_set (2) 2026/03/06 00:11 2026/03/06 00:11 2026/03/06 00:18 31e9c887
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] kernel BUG in page_table_check_set (2) 1 (2) 2026/02/07 17:43
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in page_table_check_set mm -1 syz, C 6 370d 383d 0/29 auto-obsoleted due to no activity on 2025/12/13 01:49

Sample crash report:
------------[ cut here ]------------
kernel BUG at [] mm/page_table_check.c:118!
Kernel BUG [#1]
Modules linked in:
CPU: 0 UID: 0 PID: 5817 Comm: syz.0.666 Not tainted syzkaller #0 PREEMPT 
Hardware name: riscv-virtio,qemu (DT)
epc : page_table_check_set+0x9ca/0xc72 mm/page_table_check.c:118
 ra : page_table_check_set+0x9ca/0xc72 mm/page_table_check.c:118
epc : ffffffff80ca1b5e ra : ffffffff80ca1b5e sp : ffff8f80037b6ff0
 gp : ffffffff8a4c0280 tp : ffffaf801d26b500 t0 : ffff8f80037b7598
 t1 : fffff5ef02801409 t2 : ffffffff80ab9300 s0 : ffff8f80037b7070
 s1 : 0000000000000001 a0 : 0000000000000001 a1 : 0000000000000000
 a2 : 0000000000080000 a3 : ffffffff80ca1b5e a4 : ffff8f8004f16048
 a5 : 000000000002b048 a6 : 0000000000000003 a7 : ffffaf801400a04b
 s2 : 00000000000b8200 s3 : 0000000000000000 s4 : ffffaf801400a000
 s5 : 0000000000000200 s6 : 0000000000000001 s7 : dfffffff00000000
 s8 : ffffffff88c66940 s9 : 0000000000007fff s10: 0000000000000000
 s11: ffffffff8a5dfd20 t3 : 0000000000000001 t4 : fffff5ef02801409
 t5 : fffff5ef0280140a t6 : 0000000000000002 ssp : 0000000000000000
status: 0000000200000120 badaddr: ffffffff80ca1b5e cause: 0000000000000003
[<ffffffff80ca1b5e>] page_table_check_set+0x9ca/0xc72 mm/page_table_check.c:118
[<ffffffff80ca22a6>] __page_table_check_ptes_set+0x23c/0x4a4 mm/page_table_check.c:223
[<ffffffff80c29f9a>] page_table_check_ptes_set include/linux/page_table_check.h:83 [inline]
[<ffffffff80c29f9a>] set_ptes arch/riscv/include/asm/pgtable.h:645 [inline]
[<ffffffff80c29f9a>] __split_huge_pmd_locked mm/huge_memory.c:3343 [inline]
[<ffffffff80c29f9a>] split_huge_pmd_locked+0x1eb2/0x23f0 mm/huge_memory.c:3361
[<ffffffff80c2a782>] __split_huge_pmd+0x2aa/0x3d4 mm/huge_memory.c:3375
[<ffffffff80c2ce00>] split_huge_pmd_address mm/huge_memory.c:3388 [inline]
[<ffffffff80c2ce00>] split_huge_pmd_if_needed mm/huge_memory.c:3400 [inline]
[<ffffffff80c2ce00>] split_huge_pmd_if_needed mm/huge_memory.c:3391 [inline]
[<ffffffff80c2ce00>] vma_adjust_trans_huge+0x272/0x4b2 mm/huge_memory.c:3412
[<ffffffff80af82e6>] __split_vma+0x978/0xf0e mm/vma.c:557
[<ffffffff80afa8c6>] split_vma mm/vma.c:599 [inline]
[<ffffffff80afa8c6>] vma_modify+0xa40/0x1df0 mm/vma.c:1691
[<ffffffff80b0240a>] vma_modify_flags+0x220/0x328 mm/vma.c:1719
[<ffffffff80a7b546>] mlock_fixup+0x36a/0x8de mm/mlock.c:486
[<ffffffff80a7bcfc>] apply_vma_lock_flags+0x242/0x378 mm/mlock.c:557
[<ffffffff80a7c3f2>] do_mlock+0x23a/0x81c mm/mlock.c:653
[<ffffffff80a84db2>] __do_sys_mlock mm/mlock.c:667 [inline]
[<ffffffff80a84db2>] __se_sys_mlock mm/mlock.c:665 [inline]
[<ffffffff80a84db2>] __riscv_sys_mlock+0x54/0x74 mm/mlock.c:665
[<ffffffff8007af94>] syscall_handler+0x92/0x114 arch/riscv/include/asm/syscall.h:112
[<ffffffff86594576>] do_trap_ecall_u+0x4ca/0x658 arch/riscv/kernel/traps.c:341
[<ffffffff865c0d08>] handle_exception+0x168/0x174 arch/riscv/kernel/entry.S:237
Code: 3097 ff89 80e7 d400 82e3 e404 3097 ff89 80e7 23e0 (9002) 3097 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	ff893097          	auipc	ra,0xff893
   4:	d40080e7          	jalr	-704(ra) # 0xff892d40
   8:	e40482e3          	beqz	s1,0xfffffffffffffe4c
   c:	ff893097          	auipc	ra,0xff893
  10:	23e080e7          	jalr	574(ra) # 0xff89324a
* 14:	9002                	ebreak <-- trapping instruction
  16:	9730                	.short	0x3097

Crashes (902):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/07 08:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 4f7b22a0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/09/07 02:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 4f7b22a0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/09/06 16:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 4f7b22a0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/09/05 21:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 4f7b22a0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/09/05 16:54 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 4f7b22a0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/31 12:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/31 03:14 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/31 01:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/31 00:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/31 00:05 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/30 22:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/30 19:02 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/29 21:46 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/29 18:55 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 2f52988a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/28 09:14 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 e2fa417d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/28 08:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 e2fa417d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/28 04:02 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 e2fa417d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/28 02:08 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 e2fa417d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/28 00:59 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 e2fa417d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/27 17:41 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 c53a1b9c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/27 17:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 c53a1b9c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/27 14:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 c53a1b9c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/27 06:53 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 a2b77b9e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/26 22:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 a2b77b9e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/26 16:46 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 a2b77b9e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/26 15:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 a2b77b9e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/26 09:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 6a91adb4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/26 09:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 6a91adb4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/24 03:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 23:08 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 21:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 17:08 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 14:15 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 12:51 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 11:44 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 10:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 08:37 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 07:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 05:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/23 03:59 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/22 22:04 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/08/22 20:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 77ae27fd98f3 1e72964b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/05/03 11:21 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next f2abc305aa93 a0d91488 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/03/02 09:16 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_set
2026/02/04 13:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 099ba40b1bd9 42b01fab .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
2026/02/01 22:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next 099ba40b1bd9 6b8752f2 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel BUG in page_table_check_set
* Struck through repros no longer work on HEAD.