Skip to main content

Linux Kernel EUVDEUVD-2026-130943

| CVE-2026-99650 HIGH
2026-11-20 Linux GHSA-jrv6-2gpm-h6x6
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 low-privilege execution
  2. Delivery
    Mark pages MADV_MERGEABLE for KSM merging
  3. Exploit
    Force swap-out then exit mapping process
  4. Execution
    Swap-in dereferences freed/reused anon_vma
  5. Impact
    Corrupt reverse mapping, block reclaim and migration

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local code execution and all of the following to coincide: KSM must be active and have merged the target anonymous pages (e.g. pages marked MADV_MERGEABLE with KSM enabled - not the default on most systems); the folio must have been read from a swap slot previously shared by KSM and remain in the swap cache; the process that first mapped it must exit so its anon_vma is freed; and SLAB_TYPESAFE_BY_RCU must reuse that freed anon_vma object such that a stale pointer's root still matches during the ksm_might_need_to_copy() comparison at swap-in. Limiting factors: AV:L means no remote reachability; PR:L means an authenticated local foothold is needed; KSM being opt-in and not default-enabled narrows the exposed population; and the dependence on object-reuse timing (not an attacker-controlled primitive per the sources) makes deterministic triggering uncertain.

Impact

Signals point to a genuine but non-urgent local kernel hardening fix rather than an actively-attacked flaw. The CVSS base score of 7.8 (HIGH) is driven entirely by the three H impact metrics, but the vector is local (AV:L) and requires an authenticated foothold (PR:L), so there is no remote exposure. Corroborating signals argue against elevated priority: EPSS is only 0.16% (5th percentile), the CVE is NOT in CISA KEV, and no proof-of-concept or exploit reference is supplied - so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week,' consistent with routine stable-kernel patch cadence, not 'act_now'/'emergency.' Two points of tension should be flagged: (1) the NVD CVSS assigns C:H/I:H/A:H, yet the described real-world consequence is reverse-mapping corruption that prevents page migration and reclaim - a correctness/availability problem underpinned by a use-after-free of a freed anon_vma - so the confidentiality/integrity 'High' ratings read as worst-case UAF potential rather than a demonstrated info leak or code-exec path. (2) The trigger depends on KSM having actually merged pages plus SLAB_TYPESAFE_BY_RCU object reuse, which is an opportunistic reuse-timing condition, not a reliably-controllable primitive. Net: patch on normal kernel-update schedule; this is not a drop-everything issue.

Exploit ScenarioDerived

A local, low-privileged user enables KSM merging on anonymous pages, forces the shared folio out to swap, then exits the process that first mapped it so its anon_vma is freed and (via SLAB_TYPESAFE_BY_RCU) potentially reused. On swap-in, ksm_might_need_to_copy() dereferences the stale anon_vma to compare roots, producing a false-positive match that leaves the new folio mapping unreachable by reverse mapping. No public PoC is available, and the SLAB reuse timing makes reliable triggering difficult.

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 read in the Linux kernel's KSM swap-in path can cause reverse-mapping compatibility checks to consult a freed anon_vma, producing false positives that leave a new folio mapping out of the reverse map and impede migration and reclaim. The assessed vector is local, high-complexity, low-privilege (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H), and exploitation requires KSM to have merged the pages, a KSM-shared swap-slot folio to remain in swap cache, the original mapping process to exit, and SLAB_TYPESAFE_BY_RCU object reuse during the comparison; KSM is opt-in and not default on most systems. No public exploit identified at time of analysis, EPSS is 0.16% (5th percentile), and vendor fixes are available.

RemediationAI

Vendor-released patch: Linux 7.3.5 and 7.4-rc2, corresponding to stable commits 85260730efefc48111603fa865d224bae1f5447a and 4c2dec1dce368ad9e9b1814307cb5ef3832fa07e; apply the kernel update from https://git.kernel.org/stable/c/85260730efefc48111603fa865d224bae1f5447a and https://git.kernel.org/stable/c/4c2dec1dce368ad9e9b1814307cb5ef3832fa07e. Where KSM is not required, keeping KSM disabled or not marking workloads MADV_MERGEABLE reduces exposure because the flaw requires KSM to have merged the affected anonymous pages, at the cost of losing KSM memory deduplication; this is a compensating measure, not a replacement for the vendor patch.

Affected VersionsENISA

Linux patch: 0
Linux ba6f0ff3981e6263ab81ac512f04cca55b85ec81 <85260730efefc48111603fa865d224bae1f5447a
Linux patch: 7.4-rc2
Linux 2.6.36
Linux ba6f0ff3981e6263ab81ac512f04cca55b85ec81 <4c2dec1dce368ad9e9b1814307cb5ef3832fa07e
Linux patch: 7.3.5

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

Linux KSM deduplicates anonymous pages and relies on anon_vma/anon_vma_chain structures for anonymous reverse mapping. The bug is in the swap-in path: ksm_might_need_to_copy() compared roots using an anon_vma pointer that can outlive the exiting process that first mapped a folio, and SLAB_TYPESAFE_BY_RCU allows the freed anon_vma object to be reused immediately; a stale pointer can then match another anon_vma's root even though the target VMA is not linked to it. The fix moves the anonymous rmap compatibility checks into folio_anon_rmap_compatible(), keeps the page-index check, compares the folio's anon_vma pointer against the VMA's own anon_vma and root first, and otherwise walks the VMA's anon_vma_chain, which keeps those anon_vmas alive and makes a match sufficient for reverse mapping to find the new mapping. No CWE is assigned in the supplied data; this is a use-after-free/stale-pointer lifetime issue, and the fix documents the lifetime requirements of folio_anon_vma(). The CPE cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* is a wildcard for the Linux kernel and does not distinguish KSM-enabled builds. The supplied tag Information Disclosure matches the low confidentiality component of the assessed vector, while the core described effect is reverse-mapping inconsistency.

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 5.8 MEDIUM

Local low-priv trigger (AV:L/PR:L); AC:H because it depends on KSM being active plus opportunistic SLAB_TYPESAFE_BY_RCU reuse; impact is chiefly reclaim/migration failure (A:H) with only incidental UAF-based C/I exposure (L).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Red Hat 4.7 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 20, 2026 - 07:02 EUVD
CVE Published
Nov 20, 2026 - 05:50 cve.org
HIGH 7.8
CVE Published
Nov 20, 2026 - 05:50 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

mm/ksm: fix use of a freed anon_vma at swap-in

A folio read from a swap slot previously shared by KSM can remain in the swap cache after the process that first mapped it exits. Its anon_vma can then be freed, so ksm_might_need_to_copy() must not dereference it to compare roots.

Doing so can result in some false-positives, resulting in the reverse mapping missing the new folio mapping, preventing migration and reclaim.

SLAB_TYPESAFE_BY_RCU allows individual anon_vma objects to be reused immediately after freeing. A stale pointer can then refer to another anon_vma whose root matches, even though the target VMA is not linked to that anon_vma.

Move the anonymous rmap compatibility checks into folio_anon_rmap_compatible(). Keep the page-index check and compare the folio's anon_vma pointer against the VMA's own anon_vma and root first.

If neither matches, bite the bullet and walk the VMA's anon_vma_chain. The VMA keeps these anon_vmas alive, and finding a match guarantees that reverse mapping can find the new mapping.

Lorenzo Stoakes says in a private discussion:

"This isn't quite equivalent to the existing check.

Every anon_vma in an anon_vma_chain shares the same root, but if you split a VMA then fork both of them like this:

VMA A / \ <split> VMA B VMA C \ / root <- anon_vma 1 ----^ ^---- <fork> / parent \ anon_vma 2 anon_vma 3

| | VMA D VMA E

VMA's D and E both get their own new anon_vma's such that:

VMA D: anon_vma 2 -> anon_vma 1 -> root VMA E: anon_vma 3 -> anon_vma 1 -> root

And if you found a folio referencing anon_vma 2, the existing check:

anon_vma->root == vma->anon-vma->root

Would be true for VMA's B, C, D & E.

However after your change it'd be true for VMA D only, as it's the only one with anon_vma 2 in its anon_vma_chain.

Whether or not that could actually happen in practice... 🙂 I don't know.

[...] after your change it'd be true for VMA D only, as it's the only one with anon_vma 2 in its anon_vma_chain. [...] I would [...] say that you are making the test stricter but more correct. "

If this affects performance when KSM was never even involved, we could just track whether KSM ever merged anything and just skip these checks.

There isn't really a lot we can do otherwise: for mapped folios we might be able to use folio_get_anon_vma(), but for unmapped folios there really is no easy way to see if the anon_vma is still valid.

Document the (confusing) lifetime requirements of folio_anon_vma().

Executive ViewAI

Why It Matters

A high-severity flaw in the Linux kernel's KSM swap-in path could allow a local low-privileged user to cause memory corruption, potentially leading to system instability or limited data exposure. While exploitation requires KSM to be explicitly enabled and is highly complex, successful attacks could disrupt availability and integrity on affected hosts, warranting attention from security leadership.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not possible, disable KSM on affected systems (echo 0 > /sys/kernel/mm/ksm/run) and limit local user access to sensitive systems.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel memory manager, present in virtually every Linux deployment
Data Quality
4 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