Skip to main content

Linux Kernel CVE-2026-53399

| EUVDEUVD-2026-45454 CRITICAL
NULL Pointer Dereference (CWE-476)
2026-07-19 Linux GHSA-f4wg-8884-3qg5
Critical
Disputed · 9.8 Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Mount pNFS-enabled NFSv4.1 export
  2. Delivery
    Issue LAYOUTGET to allocate layout stid
  3. Exploit
    Force setlease to fail
  4. Execution
    Freed stid left in IDR
  5. Persist
    IDR walk dereferences dangling pointer
  6. Impact
    Kernel crash or memory disclosure

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

Exploitation requires the target host to run the Linux in-kernel NFS server (nfsd) with pNFS layout support enabled and to export layouts to clients - this is not a default NFS configuration. The attacker must be an NFSv4.1+ client able to reach the export and issue layout (LAYOUTGET) operations, and must cause nfsd4_layout_setlease() to fail so the buggy error path executes; the freed-pointer dereference then only manifests when a subsequent IDR walker runs (states_show read or client teardown). Limiting factors: the vulnerable code path is pNFS-only and off by default, the setlease call must actually fail (a specific error/race, not a guaranteed condition), and the client needs export access - so despite the AV:N/PR:N CVSS input, realistic exploitation is constrained to pNFS-serving deployments reachable by a would-be attacker.

Impact

The signals conflict sharply. The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H = 9.8) is the generic, inflated score routinely auto-assigned to Linux kernel CVEs and does not reflect this bug: reaching the flaw requires an NFS server that exports pNFS layouts, a client capable of driving a LAYOUTGET, AND the nfsd4_layout_setlease() call to actually fail (a specific error/race condition), which is materially harder than AC:L/PR:N implies. No EPSS score, KEV status, POC, or SSVC data was provided; treat exploitation probability as low. The realistic technical impact is a kernel dangling-pointer dereference - most plausibly a denial of service (crash/panic) with possible information disclosure (the vendor tag lists 'Information Disclosure'), not straightforward remote code execution. This is a correctness/robustness fix on a narrow, non-default code path rather than a mass-exploitable network RCE; prioritize it for hosts that actually run nfsd with pNFS, and deprioritize elsewhere despite the 9.8 headline.

Exploit ScenarioDerived

An attacker who can mount a pNFS-enabled NFSv4.1 export drives a LAYOUTGET operation crafted so that nfsd4_layout_setlease() fails, leaving a freed layout stateid still published in the server's IDR. A later IDR walk during client teardown or a read of the states debug file then dereferences the dangling pointer, crashing the NFS server (kernel panic) and potentially leaking freed memory contents. No public proof-of-concept is known, and triggering the error path reliably is non-trivial.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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

Use-after-free in the Linux kernel NFS server (nfsd) pNFS layout code allows an NFSv4.1+ client to leave a freed layout state ID published in the client's IDR when nfsd4_layout_setlease() fails, so any later IDR walk (states_show, client teardown) dereferences a dangling slab pointer. The affected component is the pNFS block/SCSI/flexfiles layout server path on kernels between commit c5c707f96fc9 and the fixed stable releases. No public exploit has been identified and it is not in CISA KEV; the practical impact is kernel memory corruption leading to crash (DoS) and possible information disclosure per the vendor tag, though the auto-assigned CVSS of 9.8 significantly overstates real-world exploitability.

RemediationAI

Vendor-released patch: upgrade to Linux kernel 6.12.96, 6.18.39, 7.1.3, or 7.2-rc1 (or your distribution's backported equivalent), which replace the manual kmem_cache_free cleanup with nfs4_put_stid() and move the ls_fence_work initialization ahead of the setlease call; the fix commits are at https://git.kernel.org/stable/c/d369e5edfaaf83a448016e2f1da392b2174be801, https://git.kernel.org/stable/c/8dee7c278f1c2b5bb80e17a6281c3812fc8b0cdd, https://git.kernel.org/stable/c/83c2b7797742339bb768f83935f7ca33950db138, and https://git.kernel.org/stable/c/30d55c8aabb261bc3f427d6b9aae7ef6206063f9. If immediate patching is not possible, the most effective compensating control is to disable pNFS layout serving on nfsd (do not export block/SCSI/flexfiles layouts; serve plain NFSv4 instead), which removes the vulnerable code path at the cost of losing pNFS performance benefits; alternatively restrict NFS export access to trusted client subnets via firewall and exportfs host restrictions to limit who can drive layout operations, accepting that this narrows rather than eliminates exposure.

Affected VersionsENISA

Linux patch: 7.1.3
Linux c5c707f96fc9a6e5a57ca5baac892673270abe3d <83c2b7797742339bb768f83935f7ca33950db138
Linux c5c707f96fc9a6e5a57ca5baac892673270abe3d <8dee7c278f1c2b5bb80e17a6281c3812fc8b0cdd
Linux c5c707f96fc9a6e5a57ca5baac892673270abe3d <d369e5edfaaf83a448016e2f1da392b2174be801
Linux patch: 6.18.39
Linux patch: 0
Linux c5c707f96fc9a6e5a57ca5baac892673270abe3d <30d55c8aabb261bc3f427d6b9aae7ef6206063f9
Linux patch: 6.12.96
Linux patch: 7.2-rc1
Linux 4.0

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 lives in the Linux kernel NFSv4.1 pNFS layout stateid lifecycle in fs/nfsd. nfs4_alloc_stid() publishes a new stateid into cl->cl_stateids via idr_alloc_cyclic() under cl_lock before nfsd4_alloc_layout_stateid() returns. On the setlease-failure path the original code freed the layout stateid directly with kmem_cache_free() without calling idr_remove(), so the IDR slot kept pointing at freed slab memory - a classic CWE-416 use-after-free, compounded by a CWE-908 use-of-uninitialized-resource because nfsd4_free_layout_stateid() inspects ls->ls_fence_work via delayed_work_pending() before INIT_DELAYED_WORK() had run. Correct teardown for an IDR-published stid is nfs4_put_stid(), which removes the IDR slot under cl_lock and dispatches sc_free to release ls->ls_file and drop the nfs4_file reference. The fix hoists the ls_fenced/ls_fence_delay/INIT_DELAYED_WORK initialization above the setlease call and replaces the manual cleanup with a single nfs4_put_stid(stp).

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

Sources disagree (Medium–Critical)
Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.9 MEDIUM

NFS is network-reachable (AV:N) but exploitation needs export access (PR:L) and forcing a specific setlease failure/race (AC:H); impact is mainly a kernel crash (A:H) with possible info leak (C:L).

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

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Jul 20, 2026 - 15:22 NVD
9.8 (CRITICAL)
Patch available
Jul 19, 2026 - 14:17 EUVD
CVE Published
Jul 19, 2026 - 12:02 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 12:02 cve.org
CRITICAL 9.8

DescriptionCVE.org

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

nfsd: release layout stid on setlease failure

nfs4_alloc_stid() publishes the new stid into cl->cl_stateids via idr_alloc_cyclic() under cl_lock before returning to nfsd4_alloc_layout_stateid(). When nfsd4_layout_setlease() then fails, the error path frees the layout stateid directly with kmem_cache_free() without ever calling idr_remove(), leaving the IDR slot pointing at freed slab memory. Any subsequent IDR walker (states_show, client teardown) dereferences the dangling pointer.

The correct teardown for an IDR-published stid is nfs4_put_stid(), which removes the IDR slot under cl_lock, dispatches sc_free (nfsd4_free_layout_stateid) to release ls->ls_file via nfsd4_close_layout(), and drops the nfs4_file reference in its tail.

A second issue blocks that switch: nfsd4_free_layout_stateid() unconditionally inspects ls->ls_fence_work via delayed_work_pending() under ls_lock, but INIT_DELAYED_WORK(&ls->ls_fence_work, ...) currently runs only after the setlease call. On the setlease-failure path the destructor would touch an uninitialized delayed_work.

nfsd4_alloc_layout_stateid() nfs4_alloc_stid() /* idr_alloc_cyclic under cl_lock */ nfsd4_layout_setlease() /* fails */ nfs4_put_stid() nfsd4_free_layout_stateid() delayed_work_pending(&ls->ls_fence_work) /* needs INIT */ nfsd4_close_layout() /* nfsd_file_put(ls->ls_file) */ put_nfs4_file()

Fix by hoisting the ls_fenced / ls_fence_delay / INIT_DELAYED_WORK initialization above the nfsd4_layout_setlease() call, and replace the manual nfsd_file_put + put_nfs4_file + kmem_cache_free cleanup with a single nfs4_put_stid(stp).

Executive ViewAI

Why It Matters

A critical use-after-free vulnerability in Linux kernel NFS servers allows remote clients to trigger memory corruption, resulting in denial of service or potential data exposure on vulnerable systems; no public exploit identified at time of analysis. Organizations relying on NFS for storage infrastructure face operational disruption and data integrity risks until patching is complete.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous, though the vulnerable nfsd pNFS path is rarely enabled
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
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: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

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