Skip to main content

Linux Kernel EUVDEUVD-2026-130183

| CVE-2026-99506 HIGH
2026-11-19 Linux GHSA-m64r-vrqc-r265
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local unprivileged shell
  2. Delivery
    Map MAP_PRIVATE|MAP_NORESERVE hugetlb region
  3. Exploit
    Race faulting thread against MADV_DONTNEED zap
  4. Execution
    Trigger use-after-free on freed folio
  5. Impact
    Corrupt reused kernel page / escalate privileges

Vulnerability Assessment

Exploitation Conditions

Requires local code execution as an unprivileged user AND a hugetlb mapping reachable without a VMA reservation lock - specifically a MAP_PRIVATE | MAP_NORESERVE hugetlb mapping, or a private hugetlb VMA inherited in a child after fork() (neither owns a reservation map, so neither takes the VMA lock). The trigger is a race: a page fault in hugetlb_no_page() drops the page-table lock before setting the migratable flag and calling folio_unlock(), while a concurrent MADV_DONTNEED or the first hole-punch unmap (hugetlb_vmdelete_list()) zaps and frees the folio without holding the fault mutex. LIMITING FACTORS: hugetlbfs/huge pages must be available and usable by the attacker; exploitation depends on winning a narrow timing window (no single-shot reliability); and kernels patched after the fix (or pre-dating commit 3a47c54f09c4, which held i_mmap_rwsem and closed the window) are not affected. No network vector and no privileged account are required beyond ordinary local access.

Impact

Signals are mixed and point to a credible but not emergency-level priority. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, base 7.8 HIGH) establishes a local, low-privilege, no-interaction flaw with full C:H/I:H/A:H impact - consistent with a kernel use-after-free that can corrupt arbitrary reused pages and plausibly enable privilege escalation. However, EPSS is very low (0.17%, 6th percentile), there is no CISA KEV listing (not confirmed actively exploited), and no public exploit is identified - only vendor fix commits. The vuln.today decision label is 'this_week' rather than act_now/emergency. One internal tension: the input CVSS scores AC:L, yet the description explicitly describes a race - 'Whoever zaps the entry in between frees the folio' - a timing window between dropping the page-table lock and the late folio_unlock(); a real-world exploit must win that race, which argues the practical attack complexity is higher than AC:L suggests (reflected in my independent assessment below). Also note the only tag, 'Information Disclosure,' understates the flaw: the mechanism is memory corruption/UAF (a locked surplus page returned to the allocator, or a freed page handed to another file), not a simple read. Net: a real priority to patch on a normal urgent cycle, but low evidence of widespread or active exploitation suggests this is not a drop-everything emergency.

Exploit ScenarioDerived

An unprivileged local user creates a MAP_PRIVATE | MAP_NORESERVE hugetlb mapping (or operates in a child VMA after fork, which lacks a reservation-map lock), then runs one thread that faults in a page while another thread issues MADV_DONTNEED (or a hole-punch unmap) on the same region. Because those zap paths do not take the fault mutex and the VMA has no lock without a reservation map, the folio is freed in the race window before the fault's late folio_unlock(), producing a use-after-free: a locked surplus page is returned to the allocator, or a freed pool page is handed to another file and corrupted. No public PoC or exploit is identified at the time of analysis; the attack requires winning a kernel timing race.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

Use-after-free in the Linux kernel's hugetlb anonymous-fault path lets a local, unprivileged user corrupt page state on affected kernels, producing 'Bad page state' panics or a kernel BUG in mm/filemap.c when a pool page is handed to an unrelated file and its lock is then released by the wrong owner. The window opens only for a MAP_PRIVATE hugetlb fault that has no VMA reservation lock: a MAP_NORESERVE private mapping, or a private hugetlb VMA inherited by a child after fork(). There, hugetlb_no_page() drops the page-table lock while still holding the only reference to a freshly allocated folio; a concurrent MADV_DONTNEED or the first hole-punch unmap via hugetlb_vmdelete_list() frees that folio without taking the fault mutex, and the trailing migratable-flag store and folio_unlock() then operate on freed or reallocated memory. No public exploit code was identified at time of analysis and EPSS is low at 0.17% (6th percentile); our assessment scores it CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H because the race is narrow but the consequences are high-integrity and high-confidentiality, and vendor patches are already available.

RemediationAI

Vendor-released patches are available: update to Linux 7.4-rc1 or later on mainline, or to 7.3.2, 6.18.61 or 6.12.117 on the corresponding stable branches, which carry the fix delivered by commits 727dfb28c6a2334f08cdaef82540137c9b094ab7, 1108d9a51c91bb459fa62506fd0176dc9e0927c5, 51b21515bdac0a60efac142dbfa44481e4206f28 and 824cc56bf43c714319992bad3558803cac6e77c0 (see https://git.kernel.org/stable/c/727dfb28c6a2334f08cdaef82540137c9b094ab7 and https://nvd.nist.gov/vuln/detail/CVE-2026-99506); distributors that backport stable fixes should pick up the branch commit matching their kernel line. The fix moves the migratable-flag update and folio_unlock() ahead of the page-table unlock, so no configuration flag turns it off. Where patching must wait, the exposure is bounded by who can create the affected mappings: with MAP_NORESERVE removed from private hugetlb mappings the VMA owns a reservation map and takes hugetlb_vma_lock, closing the race, at the cost of requiring reserved huge pages up front so allocations can fail under memory pressure; alternatively, depleting the huge-page pool (vm.nr_hugepages=0) or restricting hugetlbfs mounts to trusted workloads removes the attack path entirely but disables workloads that depend on huge pages; avoiding fork() of processes that hold private hugetlb VMAs also removes the lock-less child case, at the cost of restructuring those workloads. Note that per the kernel commit, a fault on a private mapping still needs local unprivileged code execution on the host, so container or namespace isolation alone is not a complete substitute for the patch.

Affected VersionsENISA

Linux patch: 7.3.2
Linux 3a47c54f09c4c89128d8f67d49296b1c25b317d0 <51b21515bdac0a60efac142dbfa44481e4206f28
Linux patch: 6.18.61
Linux patch: 6.12.117
Linux 6.1
Linux patch: 7.4-rc1
Linux 3a47c54f09c4c89128d8f67d49296b1c25b317d0 <727dfb28c6a2334f08cdaef82540137c9b094ab7
Linux patch: 0
Linux 3a47c54f09c4c89128d8f67d49296b1c25b317d0 <824cc56bf43c714319992bad3558803cac6e77c0
Linux 3a47c54f09c4c89128d8f67d49296b1c25b317d0 <1108d9a51c91bb459fa62506fd0176dc9e0927c5

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

hugetlbfs backs huge-page mappings, and hugetlb_no_page() is the fault handler for a private mapping whose page cache is empty: it allocates a folio from the huge-page pool, locks it, installs it in the page table, and from that point the single reference belongs to the page-table entry. The handler was updated to be finished with such a folio before the page-table lock is dropped, matching how hugetlb_wp() handles its copy and how page-cache folios are already unlocked under that lock. Before the fix, after the page-table lock was released the fault still wrote the folio's migratable flag and called folio_unlock(). Zapping paths that run concurrently - MADV_DONTNEED and the first unmap of a hole punch through hugetlb_vmdelete_list() - do not acquire the fault mutex, so they can free the folio in that gap; the trailing store and unlock then hit a freed page or a page with a new owner. Historic serialization came from the fault holding i_mmap_rwsem for read, which zapping writers exclude, until commit 3a47c54f09c4 ("hugetlbfs: revert use i_mmap_rwsem for more pmd sharing synchronization") removed it; commit bf4916922c60 ("hugetlbfs: extend hugetlb_vma_lock to private VMAs") restored exclusion only for private VMAs that own a reservation map, which excludes MAP_NORESERVE mappings and child VMAs after fork(). Observed symptoms are PAGE_FLAGS_CHECK_AT_FREE failures with locked|uptodate|dirty|head flags on free, and 'kernel BUG at mm/filemap.c:1532!' when another file takes the recycled pool page, locks it, and then loses that lock to the late folio_unlock(). No CWE identifier was supplied with the record; the class is a use-after-free / page-lock ownership defect in the memory-management subsystem, and the trigger conditions beyond those described here are not detailed in the available sources.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local unprivileged account gives AV:L/PR:L; the described race window between the page-table unlock and folio_unlock() makes exploitation timing-dependent, so AC:H; kernel UAF yields full C:H/I:H/A:H.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Nov 22, 2026 - 11:22 NVD
7.8 (HIGH)
Patch available
Nov 19, 2026 - 16:18 EUVD
CVE Published
Nov 19, 2026 - 14:43 cve.org
HIGH 7.8
CVE Published
Nov 19, 2026 - 14:43 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

mm/hugetlb: fix use-after-free of a new anon folio

For a fault in a private mapping with nothing in the page cache, hugetlb_no_page() allocates a folio, locks it and maps it. The folio has one reference, which belongs to the page table entry from then on. After dropping the page table lock the function still sets the migratable flag of the folio and unlocks it.

Whoever zaps the entry in between frees the folio. The fault holds the fault mutex and the lock of the vma. MADV_DONTNEED and the first unmap of a hole punch, hugetlb_vmdelete_list(), do not take the fault mutex, and a private vma only has a lock if it owns a reservation map: not with MAP_NORESERVE, and not in the child after fork().

Then the flag is set in, and folio_unlock() is called on, a folio that is free or has a new owner. A surplus page goes back to the page allocator while it is locked:

BUG: Bad page state in process init pfn:108e00 flags: 0x200000000000059(locked|uptodate|dirty|head|node=0|zone=2) page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set

A page of the pool can be given to the next user, of any file, who locks it and loses the lock to the late folio_unlock():

kernel BUG at mm/filemap.c:1532! hugetlb_no_page+0x111b/0x23e0 hugetlb_fault+0x3a9/0x14a0

An unprivileged process is enough: threads that write to a MAP_PRIVATE | MAP_NORESERVE hugetlb mapping, threads that call MADV_DONTNEED on it, and one that takes the freed pages for another file.

Until commit 3a47c54f09c4 ("hugetlbfs: revert use i_mmap_rwsem for more pmd sharing synchronization") the fault held i_mmap_rwsem for reading, which everybody who zaps takes for writing. The lock that commit bf4916922c60 ("hugetlbfs: extend hugetlb_vma_lock to private VMAs") gave to private vmas closed the window again, but only for those with a reservation map.

Be done with the folio before the page table lock is dropped, as hugetlb_wp() is with its copy. The function already unlocks page cache folios under that lock.

Original fix generated by an LLM and sent in private by Josef.

[david@kernel.org: simplify+move comment]

Executive ViewAI

Why It Matters

A high-severity memory-safety flaw in the Linux kernel's hugetlb memory management subsystem allows a local, low-privileged user to corrupt kernel page state, potentially crashing affected systems with 'Bad page state' panics or kernel BUGs. The exposure is concentrated on Linux hosts that enable hugetlb pages and permit non-privileged local access, such as multi-tenant servers, container hosts, and HPC or database clusters relying on large pages. Leadership should care because successful abuse degrades availability of shared infrastructure and could enable further kernel-level compromise, even though the narrow race window and low observed exploitation lower immediate likelihood.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel, present in nearly all server, cloud, and desktop deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy