CVE-2026-74632

HIGHPre-NVD 7.87.8
EchelonGraph scoreHIGH confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-22. a secondary CVSS source baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 5 sources updated this week
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.8Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

In the Linux kernel, the following vulnerability has been resolved:

mm/huge_memory: fix huge_zero_pfn race

Patch series "mm/huge_memory: fix huge_zero_pfn race", v2.

There is a subtle race in the reference-counted huge_zero_folio implementation.

The fast path atomic logic fails to account for the fact that the shrinker (which drops the final huge_zero_refcount pin) can overwrite huge_zero_pfn with the ~0UL sentinel value in shrink_huge_zero_folio_scan() after a racing get_huge_zero_folio() installed a valid value there.

This results in huge_zero_folio being correctly set but huge_zero_pfn being set incorrectly and thus is_huge_zero_pfn() and consequently is_huge_zero_pmd() will misidentify the huge zero folio as being an ordinary THP folio.

This can result in the huge zero folio being split and otherwise treated incorrectly.

The solution to this is very subtle as there is an atomic fast path, and thus ordering in weakly ordered architectures has to be treated very carefully.

The first commit fixes the issue by introducing a spinlock around huge_zero_[pfn, folio, refcount] write, with careful consideration paid to load/store ordering in the fast path. It is placed first and kept as small as possible so that it can be backported on its own.

The second commit is a pure cleanup which reworks the CONFIG_PERSISTENT_HUGE_ZERO_FOLIO logic to better separate the persistent logic from the dynamically allocated one.

This patch (of 2):

If !CONFIG_PERSISTENT_HUGE_ZERO_FOLIO, the huge_zero_folio is refcounted by huge_zero_refcount and returned by mm_get_huge_zero_folio().

When the caller is done with the huge zero page, its reference count is decremented. Only a shrinker can set the reference count to zero.

A race can unfortunately occur between a shrinker decrementing the reference count to zero and a concurrent page fault.

This is because shrink_huge_zero_folio_scan() might, if very unlucky, be preempted between setting huge_zero_refcount to zero and writing an invalid value.

During this time get_huge_zero_folio() could write to huge_zero_pfn before shrink_huge_zero_folio_scan() resumes.

In this event the huge zero folio will be persistently misidentified causing the THP code path to be entered inappropriately for the huge zero folio:

CPU 0 CPU 1 =======================================|================================= shrink_huge_zero_folio_scan() | atomic_cmpxchg() sets refcount to 0 | xchg() sets huge_zero_folio to NULL | get_huge_zero_folio() | | atomic_inc_not_zero() -> zero preempted for a long time | Allocate new huge zero folio | | Write valid huge_zero_folio v | Write valid huge_zero_pfn Overwrite huge_zero_pfn with ~0UL <--- Invalid overwrite!

This results in is_huge_zero_pfn() and is_huge_zero_pmd() incorrectly returning false for a huge zero page which could result in issues like the huge zero folio being incorrectly split.

Note that the issue is with huge_zero_pfn not huge_zero_folio, as get_huge_zero_folio() uses cmpxchg() gated on huge_zero_folio being NULL with a retry loop and shrink_huge_zero_folio_scan() uses xchg() to set huge_zero_folio.

Fix the issue by introducing a spinlock, huge_zero_lock, to prevent concurrent write of huge_zero_folio, huge_zero_pfn and huge_zero_refcount.

There needs to be significant care taken here to ensure correctness:

The fast path in get_huge_zero_folio() uses atomic_inc_not_zero(), which is outside of the critical section, and means huge zero allocation is gated on zero huge_zero_refcount.

The fast path doesn't use huge_zero_lock, so the critical section is irrelevant to it.

So invariants are required - huge_zero_refcount MUST:

* Only be set in the huge_zero_lock critical section to ensure serialisation of huge_zero_pfn, huge_zero_folio and ---truncated---

CVSS v3
7.8
EG Score
7.8(high)
EG Risk
40(Track)
EG Risk 40/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity78% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
3%
KEV
Not listed

Published

August 22, 2026

Last Modified

August 27, 2026

Advisory Details (6)

Auto-updated Aug 25, 2026
No patch confirmed yet.
generic

mm/huge_memory: fix huge_zero_pfn race - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/33192a26cddea7a7e4ca66e5c3eebd36fa8be2bb
generic

mm/huge_memory: fix huge_zero_pfn race - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/ab7e4b407c7f58d1a003134eff3841f303d5ccc2
generic

mm/huge_memory: fix huge_zero_pfn race - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/105d04edbec83010df5728f74d17fd9c108e7553
generic

mm/huge_memory: fix huge_zero_pfn race - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/6024f6d0d9b9ca5138bfc4ac6f6e4bdf616e42b3
generic

mm/huge_memory: fix huge_zero_pfn race - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/f3a874a903053c53fb53ba287ea9eacda69c68e8
generic

mm/huge_memory: fix huge_zero_pfn race - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/9332b080ad57650d1dc582e54517f9fc78ef89cc

Vendor Advisories for CVE-2026-74632(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Data Freshness Timeline

(refreshed 32× in last 7d / 35× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-30 01:22 UTCEPSS rescore
  2. 2026-08-29 22:47 UTCGHSA enrichment
  3. 2026-08-29 11:53 UTCGHSA enrichment
  4. 2026-08-29 00:52 UTCEG score recompute
  5. 2026-08-29 00:52 UTCGHSA enrichment
  6. 2026-08-28 21:42 UTCEPSS rescore
  7. 2026-08-28 11:39 UTCGHSA enrichment
  8. 2026-08-28 00:45 UTCEG score recompute
  9. 2026-08-28 00:45 UTCGHSA enrichment
  10. 2026-08-27 14:25 UTCEPSS rescore
  11. 2026-08-27 13:34 UTCEG score recompute
  12. 2026-08-27 13:34 UTCGHSA enrichment
  13. 2026-08-27 13:00 UTCEG score recompute
  14. 2026-08-27 13:00 UTCGHSA enrichment
  15. 2026-08-27 02:05 UTCGHSA enrichment
  16. 2026-08-26 15:12 UTCEG score recompute
  17. 2026-08-26 15:12 UTCGHSA enrichment
  18. 2026-08-26 14:47 UTCEPSS rescore
  19. 2026-08-26 04:18 UTCGHSA enrichment
  20. 2026-08-25 17:23 UTCEG score recompute
  21. 2026-08-25 17:23 UTCGHSA enrichment
  22. 2026-08-25 13:49 UTCEPSS rescore
  23. 2026-08-25 06:29 UTCEG score recompute
  24. 2026-08-25 06:29 UTCGHSA enrichment
  25. 2026-08-25 05:56 UTCEG score recompute 7.80
Show 10 more
  1. 2026-08-25 05:56 UTCGHSA enrichment
  2. 2026-08-25 05:55 UTCMITRE cvelistV5CVSS v3 → 7.8 · severity → HIGH
  3. 2026-08-24 14:18 UTCEPSS rescore
  4. 2026-08-23 13:19 UTCGHSA enrichment
  5. 2026-08-23 13:19 UTCNVD update
  6. 2026-08-23 13:06 UTCGHSA enrichment
  7. 2026-08-23 13:05 UTCMITRE cvelistV5
  8. 2026-08-22 16:24 UTCNVD update
  9. 2026-08-22 15:41 UTCEG score recompute
  10. 2026-08-22 15:35 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-74632?
CVE-2026-74632 is a high vulnerability published on August 22, 2026. In the Linux kernel, the following vulnerability has been resolved: mm/hugememory: fix hugezero_pfn race Patch series "mm/hugememory: fix hugezero_pfn race", v2. There is a subtle race in the reference-counted hugezerofolio implementation. The fast path atomic logic fails to account for the fact…
When was CVE-2026-74632 disclosed?
CVE-2026-74632 was first published in the National Vulnerability Database on August 22, 2026, with the most recent update on August 27, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-74632 actively exploited?
CVE-2026-74632 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 97.1% of all scored CVEs.
What is the CVSS score of CVE-2026-74632?
CVE-2026-74632 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2026-74632?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-74632, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-74632

Explore →

Is Your Infrastructure Affected by CVE-2026-74632?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.