Skip to main content

Linux Kernel CVE-2026-63950

| EUVDEUVD-2026-45723 HIGH
NULL Pointer Dereference (CWE-476)
2026-07-19 Linux GHSA-9fqf-4mvh-6fx9
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local unprivileged shell
  2. Delivery
    mmap 64K MAP_DROPPABLE anon folio
  3. Exploit
    madvise(MADV_FREE) to enable lazyfree batching
  4. Install
    mark last page device-exclusive via HMM_DMIRROR
  5. C2
    force node reclaim via sysfs
  6. Execute
    stale nr_pages corrupts folio refcount/mapcount
  7. Impact
    kernel panic (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local low-privileged code execution (CVSS PR:L) plus a very specific setup: the target folio must be a large (e.g. 64K) anonymous folio mapped with MAP_ANONYMOUS|MAP_DROPPABLE, marked with madvise(MADV_FREE) so it enters the lazyfree batching path, and at least one of its pages must be made device-exclusive via the HMM device-exclusive mechanism (HMM_DMIRROR_EXCLUSIVE) - meaning HMM/ZONE_DEVICE device-exclusive support and an accessible device driver (such as the hmm_dmirror test module) must be present. Exploitation is then driven by triggering node reclaim through sysfs. Limiting factors: it is local-only (no network reach), needs the non-default HMM device-exclusive feature/driver, applies only to anonymous folios, and depends on precise memory-state timing (batch count carried over from a prior lazyfree unmap), which raises real-world attack complexity above the AC:L in the supplied vector.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H = 7.8 High) marks this local and low-complexity, but the description undercuts AC:L: reliable triggering requires an elaborate, specific sequence (a 64K MAP_ANONYMOUS|MAP_DROPPABLE folio, madvise(MADV_FREE), a device-exclusive PTE via HMM_DMIRROR, and forced node reclaim), so real-world attack complexity is closer to High - verify the vector with the vendor. Corroborating signals point to modest priority: EPSS is only 0.20% (10th percentile), the CVE is not in CISA KEV, there is no public exploit, and the vendor/NVD tag it as Denial Of Service. No SSVC decision record was provided. The confidentiality/integrity 'High' ratings in the input are optimistic for the demonstrated effect (a crash); refcount/mapcount corruption is in principle a use-after-free primitive that could escalate, but that has not been shown here. Net: a genuine local DoS with theoretical escalation potential, not an urgent internet-facing threat - patch on normal kernel-update cadence, prioritizing hosts that expose HMM/GPU device-exclusive functionality.

Exploit ScenarioDerived

A logged-in local user maps a 64K droppable anonymous folio, marks it lazily freeable with madvise(MADV_FREE), converts its last page to a device-exclusive PTE through the HMM device-mirror interface, and then forces node reclaim via sysfs. During reclaim, try_to_unmap_one() applies a stale batch count to the device-exclusive PTE, corrupting the folio's refcount/mapcount and crashing the kernel. No public exploit is available, and the described outcome is a denial of service rather than confirmed code execution.

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 – Jul 20, 2026

Memory-management memory corruption in the Linux kernel's reverse-mapping (rmap) code lets a local, low-privileged user crash the system by corrupting folio refcount/mapcount state. The flaw lives in try_to_unmap_one() (mm/rmap.c), where the nr_pages counter is not reset to 1 at the start of each page-table-walk iteration, so a stale batch count from a prior lazyfree folio unmap is reused against a device-exclusive PTE. No public exploit identified at time of analysis and EPSS is low (0.20%, 10th percentile); the demonstrated userspace-visible effect is a kernel crash (denial of service).

RemediationAI

Vendor-released patch: upgrade to a fixed stable kernel - 6.18.35 or later in the 6.18 series, 7.0.12 or later in the 7.0 series, or 7.1, which incorporate the one-line fix that re-initializes nr_pages to 1 at the start of each try_to_unmap_one() loop iteration (fix commits 0fcc34d0d8fefca4fea349e45c10e3a3d90350eb, f611db9b771b2b6775357555d2517af044fca4f0, 3f8968e9cbf95d5d87d32218906cab0b9b9eddbe at git.kernel.org/stable). Distribution users should apply the corresponding backported kernel package and reboot. Where immediate patching is not possible, reduce exposure by restricting access to the HMM device-exclusive path - do not load or grant unprivileged access to HMM test/mirror drivers (e.g. the hmm_dmirror test module) or GPU/accelerator drivers that create device-exclusive PTEs, since the corruption requires a device-exclusive entry; this trade-off disables device-exclusive DMA/GPU coherency features for those workloads. Limiting untrusted local users on affected hosts also lowers risk given the local (AV:L) attack vector.

Affected VersionsENISA

Linux 354dffd29575cdf13154e8fb787322354aa9efc4 <f611db9b771b2b6775357555d2517af044fca4f0
Linux patch: 0
Linux patch: 7.1
Linux patch: 7.0.12
Linux patch: 6.18.35
Linux 354dffd29575cdf13154e8fb787322354aa9efc4 <3f8968e9cbf95d5d87d32218906cab0b9b9eddbe
Linux 6.15
Linux 354dffd29575cdf13154e8fb787322354aa9efc4 <0fcc34d0d8fefca4fea349e45c10e3a3d90350eb

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

The bug is in the Linux memory-management subsystem, specifically the anonymous-folio unmap path try_to_unmap_one() in mm/rmap.c, which is invoked during reclaim/swap-out. Large (multi-page) anonymous folios are unmapped in batches via folio_unmap_pte_batch(), which computes nr_pages for a contiguous run of PTEs. Because nr_pages is not re-initialized to 1 at each page_vma_mapped_walk (pvmw) iteration - unlike the sibling routine folio_referenced_one() - a value left over from a previous batch (e.g. 15) is applied to a subsequent PTE that is device-exclusive (an HMM/ZONE_DEVICE exclusive entry created via HMM_DMIRROR_EXCLUSIVE). folio_remove_rmap_ptes() then adjusts refcount/mapcount by the wrong page count. This is a classic reference-counting/state-corruption defect (conceptually CWE-911 improper reference-count / CWE-787-adjacent out-of-bounds refcount accounting; the input lists CWE as N/A). It affects only anonymous folios because device-exclusive PTEs exist only for anonymous memory, and the defect was introduced with lazyfree folio batching rather than the earlier file-folio batching.

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

Local low-priv trigger with an elaborate HMM device-exclusive + reclaim setup (AC:H); demonstrated impact is a kernel crash (A:H) with no confirmed confidentiality/integrity loss.

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

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
Jul 20, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 17:19 EUVD
CVE Published
Jul 19, 2026 - 14:55 cve.org
HIGH 7.8
CVE Published
Jul 19, 2026 - 14:55 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

mm/rmap: initialize nr_pages to 1 at loop start in try_to_unmap_one

Initialize nr_pages to 1 at the start of each loop iteration, like folio_referenced_one() does.

Without this, nr_pages computed by a previous folio_unmap_pte_batch() call can be reused on a later iteration that does not run folio_unmap_pte_batch() again.

mmap a 64K large folio with MAP_ANONYMOUS | MAP_DROPPABLE, then call madvise(MADV_FREE), then make the last page device-exclusive via HMM_DMIRROR_EXCLUSIVE.

Trigger node reclaim through sysfs. Now, in try_to_unmap_one(), we will first clear the first 15 out of 16 entries mapping the lazyfree folio. This will set nr_pages to 15. In the next pvmw walk, this nr_pages gets reused on a device-exclusive pte, thus potentially corrupting folio refcount/mapcount.

At the moment, I have a userspace program which can make the kernel spit out a trace, but the blow up is in folio_referenced_one(), because there are existing bugs in the interaction between device-private and rmap (which too I am investigating). I did a one liner kernel change to avoid going into folio_referenced_one(), and the kernel blows up at folio_remove_rmap_ptes in try_to_unmap_one which is what I wanted.

Note that the bug is there not since file folio batching but lazyfree folio batching, since device-exclusive only works for anonymous folios.

Userspace visible effect is simply kernel crashing somewhere due to refcount/mapcount corruption.

Executive ViewAI

Why It Matters

CVE-2026-63950 affects the Linux kernel's memory management system, allowing local users to crash systems and disrupt operations through denial of service. While no public exploit has been identified at this time, the vulnerability warrants immediate attention due to its HIGH severity rating and potential impact on operational continuity. A vendor patch is available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Ubiquitous
Linux kernel runs a huge fraction of servers, cloud, and devices
Data Quality
6 sources
Confidence: High

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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

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