Skip to main content

Linux EUVDEUVD-2026-18788

| CVE-2026-31403 HIGH
Use After Free (CWE-416)
2026-04-03 Linux GHSA-85m5-f4f3-q6f5
7.8
CVSS 3.1 · Vendor: Linux
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Impact

Without CVSS or EPSS data, risk assessment relies on structural analysis. Attack vector is local (file descriptor must be opened by or inherited by a malicious process; network exposure is absent). Exploitation requires deliberate namespace management (setns followed by namespace destruction), suggesting low attack complexity for a containerized or namespace-aware attacker with local access. The primary impact is information disclosure: freed memory reads can leak kernel heap contents, potentially exposing sensitive NFS export cache data, credentials, or pointers useful for further exploitation. Unlike remote code execution vectors, this does not directly enable privilege escalation or system compromise, but heap information leakage is a recognized stepping stone in modern kernel exploitation chains (KASLR bypass, heap spray coordination). The absence of public exploit code in the provided data and the local-only attack vector reduce immediate real-world risk compared to remote RCE vulnerabilities; however, for organizations running multi-tenant containerized workloads with untrusted users, the information disclosure risk is material. The fix is straightforward (reference counting), suggesting the issue is genuine and not a theoretical edge case. SSVC perspective: exploitation is possible (requires local access + namespace manipulation), not automatable across diverse systems, and impact is information disclosure (limited scope compared to availability or integrity loss). This rates as moderate priority for systems with containerized NFSD deployments, low priority for isolated single-namespace servers.

Exploit ScenarioDerived

A malicious local user in a containerized environment opens /proc/fs/nfs/exports (e.g., to read NFS export metadata) and then calls setns() to switch to a different network namespace. The container is subsequently destroyed, triggering namespace teardown and nfsd_export_shutdown(), which frees the export cache. The attacker's still-open file descriptor, inherited across the namespace change or held in a long-lived process, then performs subsequent reads on the freed cache_detail structure, dereferencing freed heap memory and leaking kernel heap data to user space. This could expose NFS export credentials, file handles, or other sensitive metadata useful for lateral movement or further kernel exploitation. No public POC is identified in the provided data, but the mechanism is straightforward enough that a skilled local attacker with namespace access can construct one.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 03, 2026

Use-after-free in Linux kernel NFSD /proc/fs/nfs/exports proc entry allows information disclosure when a network namespace is destroyed while an exports file descriptor remains open. The vulnerability occurs because exports_proc_open() captures a network namespace reference without holding a refcount, enabling nfsd_net_exit() to free the export cache while the fd is still active, leading to subsequent reads dereferencing freed memory. The fix holds a struct net reference for the lifetime of the

Earlier versions of this analysis (1)
v1 Apr 03, 2026 - 15:30

Use-after-free in Linux kernel NFSD /proc/fs/nfs/exports proc entry allows information disclosure when a network namespace is destroyed while an exports file descriptor remains open. The vulnerability occurs because exports_proc_open() captures a network namespace reference without holding a refcount, enabling nfsd_net_exit() to free the export cache while the fd is still active, leading to subsequent reads dereferencing freed memory. The fix holds a struct net reference for the lifetime of the open file descriptor, preventing namespace teardown while any exports fd is open.

RemediationAI

Apply the upstream fix by updating to a patched Linux kernel version that includes one or more of the referenced commits (c7f406fb341d6747634b8b1fa5461656e5e56076 and related). Check your distribution's kernel security advisories and stable kernel releases (https://git.kernel.org/stable/) to identify the earliest patched kernel version for your series (e.g., 5.10.x, 5.15.x, 6.1.x). For distributions with backported patches, install the security-updated kernel package via your package manager (apt, yum, zypper, etc.). No workaround is available short of disabling NFSD or blocking access to /proc/fs/nfs/exports; however, the most practical interim mitigation is to restrict setns() usage to trusted processes and avoid opening /proc/fs/nfs/exports in untrusted namespace contexts until patching is completed. Verify patch application by confirming the kernel version matches or exceeds the stable releases containing these commits.

Affected VersionsENISA

Linux patch: 6.6.130
Linux patch: 0
Linux patch: 7.0-rc5
Linux 3.9
Linux 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 <c7f406fb341d6747634b8b1fa5461656e5e56076
Linux patch: 6.18.20
Linux 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 <6a8d70e2ad6aad2c345a5048edcb8168036f97d6
Linux patch: 6.12.78
Linux patch: 6.1.167
Linux 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 <e7fcf179b82d3a3730fd8615da01b087cc654d0b
Linux 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 <d1a19217995df9c7e4118f5a2820c5032fef2945
Linux 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 <db4a9f99b12a7ee1c19d86c83a3b752c7effa6c6
Linux 96d851c4d28de8cc83fe2bd5c6bc2eb8f253a6c5 <e3d77f935639e6ae4b381c80464c31df998d61f4
Linux patch: 6.19.10

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 Linux kernel NFSD (NFS Server Daemon) module maintains an /proc/fs/nfs/exports proc entry that persists for the module's lifetime. This entry uses a seq_file interface (exports_proc_open) to expose NFS export cache information to userspace. The vulnerability is rooted in improper lifetime management of network namespace (struct net) references within the cache_detail structure. When a process opens /proc/fs/nfs/exports after executing setns() to change its network namespace, the proc handler stores the namespace's svc_export_cache in the seq_file private data but does not increment the namespace's reference counter. Subsequently, if the namespace is destroyed (e.g., during container teardown), nfsd_net_exit() is invoked, which calls nfsd_export_shutdown() to free the cache_detail. Any subsequent read on the still-open file descriptor then dereferences this freed memory, accessing an invalid hash table. The root cause is a use-after-free (CWE-416 adjacent, though more specifically a reference counting issue) stemming from the mismatch between the proc entry's lifetime (module-wide) and the namespace's lifetime (application-specific). The fix leverages the fact that cache_detail already maintains a struct net pointer (cd->net, set during cache_create_net()), allowing exports_release() to acquire and hold a reference on that namespace without per-file storage overhead.

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
SUSE HIGH
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

3
CVSS changed
Apr 27, 2026 - 14:22 NVD
7.8 (HIGH)
Patch available
Apr 16, 2026 - 05:29 EUVD
6a8d70e2ad6aad2c345a5048edcb8168036f97d6
CVE Published
Apr 03, 2026 - 15:16 nvd
N/A

DescriptionCVE.org

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

NFSD: Hold net reference for the lifetime of /proc/fs/nfs/exports fd

The /proc/fs/nfs/exports proc entry is created at module init and persists for the module's lifetime. exports_proc_open() captures the caller's current network namespace and stores its svc_export_cache in seq->private, but takes no reference on the namespace. If the namespace is subsequently torn down (e.g. container destruction after the opener does setns() to a different namespace), nfsd_net_exit() calls nfsd_export_shutdown() which frees the cache. Subsequent reads on the still-open fd dereference the freed cache_detail, walking a freed hash table.

Hold a reference on the struct net for the lifetime of the open file descriptor. This prevents nfsd_net_exit() from running -- and thus prevents nfsd_export_shutdown() from freeing the cache -- while any exports fd is open. cache_detail already stores its net pointer (cd->net, set by cache_create_net()), so exports_release() can retrieve it without additional per-file storage.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
2
1 source
Social Media
1
Sightings
Data Quality
7 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.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH 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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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