Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99912

published

riscv: mm: exclude invalid THP PMDs from page table check

Published
30 Nov 2026, 13:18:12 UTC
Updated
30 Nov 2026, 13:18:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < c41f2ec5ff3c840e38922ac19d47808842b972b4 · 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < fd4d112f27c0ed7ea03d3868618d93fff29b9201 · 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < 24df68281795de4b8ee11b71ccc5b9ba746127bd · 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < cb24274f7d304d992e940be51234a3d9cfc179b5 · 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < d1078b473e559875f1d2aeec1ef9792b89e35209 · 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < bdda2887cbf3937c2d0f56589c2124c4167324e1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: riscv: mm: exclude invalid THP PMDs from page table check RISC-V THP splitting uses a temporary invalid PMD state where pmd_mkinvalid() clears _PAGE_PRESENT and _PAGE_PROT_NONE but leaves _PAGE_LEAF set so the MM code can still recognize the PMD as a THP split in-progress entry. That temporary state no longer describes a user-accessible mapping, but page_table_check currently treats it as one because the RISC-V PMD user-accessibility test only checks whether the PMD is a leaf and has user permissions. As a result, when a PMD-sized anonymous THP is split during a COW fault, page_table_check can account the invalid intermediate PMD as a live PMD mapping, and then account the replacement PTE mappings again when the split installs the PTE table. This leaves stale PMD accounting behind and later triggers page_table_check failures such as a non-zero anon_map_count when the folio is freed. Fix this by tightening pmd_user_accessible_page() so PMD page-table-check accounting only considers leaf PMDs that still carry either _PAGE_PRESENT or _PAGE_PROT_NONE. This preserves the THP split semantics required by the MM code while preventing page_table_check from treating invalid split PMDs as live user mappings. With CONFIG_PAGE_TABLE_CHECK=y and CONFIG_PAGE_TABLE_CHECK_ENFORCED=y, tools/testing/selftests/mm/cow completes successfully on RISC-V after this change.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < c41f2ec5ff3c840e38922ac19d47808842b972b4 (affected · git)3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < fd4d112f27c0ed7ea03d3868618d93fff29b9201 (affected · git)3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < 24df68281795de4b8ee11b71ccc5b9ba746127bd (affected · git)3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < cb24274f7d304d992e940be51234a3d9cfc179b5 (affected · git)3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < d1078b473e559875f1d2aeec1ef9792b89e35209 (affected · git)3fee229a8eb936b96933c6b2cd02d2e87a4cc997 to < bdda2887cbf3937c2d0f56589c2124c4167324e1 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.19 (affected)0 to < 5.19 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

riscv: mm: exclude invalid THP PMDs from page table check

Provenance

Schema
5.2
Searchable
yes
Content hash
fe81bc32560aaa781304e026c49e871cd4b0c38a3cec93261ba7d95f294d39a9
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected