Skip to main content

Linux Kernel CVE-2025-71304

| EUVDEUVD-2025-209968 MEDIUM
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-hgc7-rqx4-p393
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain CAP_MAC_ADMIN write access to /smack/doi
  2. Delivery
    Write a new DOI value to trigger netlabel CIPSO reconfiguration
  3. Exploit
    Write back the previously-used DOI value
  4. Execution
    CIPSO re-add fails with EEXIST, stale DOI retained by netlabel
  5. Persist
    Default IPv4 domain map not re-established in netlabel
  6. Impact
    Non-ambient Smack-labeled processes lose IPv4 connectivity

Vulnerability Assessment

Exploitation Conditions

Exploitation requires four concurrent conditions: (1) the Linux kernel must be compiled with CONFIG_SECURITY_SMACK and Smack must be the active LSM at boot (security=smack kernel parameter) - this is non-default on all major general-purpose distributions (Ubuntu, RHEL, Debian, Fedora); (2) CIPSO/DOI-based network label mapping must be actively configured via netlabelctl, meaning the system is using label-based network security enforcement; (3) the attacker must possess write access to /smack/doi, which requires CAP_MAC_ADMIN capability (typically root or an explicitly delegated capability); (4) the attack requires a specific write sequence - a new DOI value followed by a previously-used DOI value - a pattern that may occur via administrative misconfiguration rather than deliberate attack. Limiting factors: ambient-label processes ('_' by default) are NOT affected and retain network connectivity throughout; only non-ambient labeled processes lose IPv4 reachability; IPv6 and UNLABELED domain mappings are separately configured and may remain functional.

Impact

CVSS 3.1 scores this at 5.5 Medium with AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The PR:L assignment warrants scrutiny - writing to /smack/doi typically requires CAP_MAC_ADMIN, which is generally a root-level capability, suggesting PR:H may be more accurate; this is a potential discrepancy worth verifying against the kernel's Smack permission model for the target deployment. EPSS of 0.02% at the 7th percentile is consistent with a local, configuration-dependent flaw in a non-default subsystem. No CISA KEV listing and no known public exploit code at time of analysis. The real-world risk is low-to-negligible outside Smack-specific deployments: exploitation requires Smack to be the active LSM (not the default on Ubuntu, RHEL, Fedora, or Debian - where SELinux or AppArmor are default), CIPSO networking actively configured, and privileged write access to the Smack filesystem. The availability impact, while rated High, is partial: ambient-label processes retain full connectivity; only non-ambient labeled processes lose IPv4 reachability. Practical priority outside Tizen, Automotive Grade Linux, or bespoke Smack deployments is very low.

Exploit ScenarioDerived

A local attacker or misconfigured administrative script with write access to /smack/doi on a Smack-enabled kernel first writes a new DOI value (e.g., 4) and then writes back the previously configured value (e.g., 3). The kernel fails to clear the stale netlabel CIPSO entry, causing the re-add to fail silently and the DEFAULT IPv4 domain map to go missing. All processes on the system carrying non-ambient Smack labels immediately lose IPv4 network connectivity, resulting in a partial network denial of service. No public exploit code exists; the attack steps are fully derivable from the kernel commit description.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
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 – Jun 25, 2026

Networking denial of service in the Linux kernel's Smack LSM disrupts IPv4 connectivity for all processes carrying non-ambient Smack labels when a previously-used CIPSO DOI value is cycled through /smack/doi. The kernel's smk_cipso_doi function retains decommissioned DOI definitions in netlabel's CIPSO configuration, causing re-add operations to fail with EEXIST (-17); this prevents the default IPv4 domain mapping from being re-established, silently severing label-based network traffic. No public exploit code is identified and EPSS sits at 0.02% (7th percentile), reflecting the very narrow deployment surface - only systems with Smack as the active LSM and CIPSO networking configured are affected.

RemediationAI

The primary fix is to upgrade to a patched stable kernel release: 5.10.252 or later, 5.15.202 or later, 6.1.165 or later, 6.6.128 or later, 6.12.75 or later, 6.18.14 or later, 6.19.4 or later, or kernel 7.0+. Upstream commit references are available at git.kernel.org/stable (see NVD references for exact commit SHAs per branch). Distributions carrying backported stable kernels should apply the relevant stable queue patch. As a compensating control where patching is not immediately possible, avoid cycling the /smack/doi value on production systems - specifically, do not write a new DOI value followed by the previous DOI value in the same session; if a DOI change is needed, reboot to restore a clean netlabel state. Restricting write access to /smack/doi via filesystem permissions or CAP_MAC_ADMIN policy reduces exposure but may not be feasible in all Smack deployments. Note that the compensating control does not address concurrent DOI update races also fixed by the patch.

Affected VersionsENISA

Linux patch: 6.12.75
Linux e114e473771c848c3cfec05f0123e70f1cdbdc99 <8beebb8ad9a003f978e53b06237986588223e15e
Linux e114e473771c848c3cfec05f0123e70f1cdbdc99 <f8071500177f38cff38892bd85ac631cc6e010b2
Linux e114e473771c848c3cfec05f0123e70f1cdbdc99 <5a247a84de0ba44edbbd6be851c8a6b2aa60ff85
Linux patch: 6.18.14
Linux patch: 6.1.165
Linux patch: 5.10.252
Linux patch: 5.15.202
Linux e114e473771c848c3cfec05f0123e70f1cdbdc99 <1c7ee23dfcd18d80770d8f90f2ab5bb1b2bfd8a3
Linux patch: 6.19.4
Linux e114e473771c848c3cfec05f0123e70f1cdbdc99 <6ec091c5c7eeabd249a7c46813cad1e9f555f859
Linux e114e473771c848c3cfec05f0123e70f1cdbdc99 <33d589ed60ae433b483761987b85e0d24e54584e
Linux patch: 7.0
Linux patch: 6.6.128
Linux e114e473771c848c3cfec05f0123e70f1cdbdc99 <eb718a3c8181ada679340db34cd61bce48e44749
Linux patch: 0
Linux e114e473771c848c3cfec05f0123e70f1cdbdc99 <199452f22d2f74b897fe826f81ec402b0a8461a0
Linux 2.6.25

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

Smack (Simplified Mandatory Access Control Kernel) is a Linux Security Module that enforces mandatory access control by attaching labels to subjects and objects. For network traffic, Smack uses CIPSO (Commercial IP Security Option) DOI (Domain of Interpretation) values - configured via netlabel - to label and enforce policy on IP packets. The virtual file /smack/doi exposes the active DOI to privileged users and triggers netlabel reconfiguration on write. The root cause is a state management logic error in smk_cipso_doi() (around lines 678-691 of the Smack LSM source): when a DOI value is changed and then reverted to a prior value, Smack does not clear the decommissioned DOI from netlabel's internal CIPSO table before attempting to re-add it. The re-add fails with EEXIST (-17), and the code path that establishes the DEFAULT IPv4 domain map via netlbl_cfg_cipsov4_map_add is skipped, leaving the default domain entry absent. Affected CPE is cpe:2.3:o:linux:linux_kernel across multiple stable branches introduced with commit e114e473771c848c3cfec05f0123e70f1cdbdc99 (Linux 2.6.25). CWE is listed as N/A but the root cause is closest to a stale-state/resource-lifecycle management flaw.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.4 MEDIUM

Writing to /smack/doi requires CAP_MAC_ADMIN (effectively root-level), warranting PR:H over the official PR:L; no confidentiality or integrity impact applies.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jun 25, 2026 - 21:07 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:16 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

smack: /smack/doi: accept previously used values

Writing to /smack/doi a value that has ever been written there in the past disables networking for non-ambient labels. E.g.

cat /smack/doi

3

netlabelctl -p cipso list

Configured CIPSO mappings (1) DOI value : 3 mapping type : PASS_THROUGH

netlabelctl -p map list

Configured NetLabel domain mappings (3) domain: "_" (IPv4) protocol: UNLABELED domain: DEFAULT (IPv4) protocol: CIPSO, DOI = 3 domain: DEFAULT (IPv6) protocol: UNLABELED

cat /smack/ambient

_

cat /proc/$$/attr/smack/current

_

ping -c1 10.1.95.12

64 bytes from 10.1.95.12: icmp_seq=1 ttl=64 time=0.964 ms

echo foo >/proc/$$/attr/smack/current

ping -c1 10.1.95.12

64 bytes from 10.1.95.12: icmp_seq=1 ttl=64 time=0.956 ms unknown option 86

echo 4 >/smack/doi

echo 3 >/smack/doi

!> [ 214.050395] smk_cipso_doi:691 cipso add rc = -17

echo 3 >/smack/doi

!> [ 249.402261] smk_cipso_doi:678 remove rc = -2 !> [ 249.402261] smk_cipso_doi:691 cipso add rc = -17

ping -c1 10.1.95.12

!!> ping: 10.1.95.12: Address family for hostname not supported

echo _ >/proc/$$/attr/smack/current

ping -c1 10.1.95.12

64 bytes from 10.1.95.12: icmp_seq=1 ttl=64 time=0.617 ms

This happens because Smack keeps decommissioned DOIs, fails to re-add them, and consequently refuses to add the “default” domain map:

netlabelctl -p cipso list

Configured CIPSO mappings (2) DOI value : 3 mapping type : PASS_THROUGH DOI value : 4 mapping type : PASS_THROUGH

netlabelctl -p map list

Configured NetLabel domain mappings (2) domain: "_" (IPv4) protocol: UNLABELED !> (no ipv4 map for default domain here) domain: DEFAULT (IPv6) protocol: UNLABELED

Fix by clearing decommissioned DOI definitions and serializing concurrent DOI updates with a new lock.

Also:

  • allow /smack/doi to live unconfigured, since

adding a map (netlbl_cfg_cipsov4_map_add) may fail. CIPSO_V4_DOI_UNKNOWN(0) indicates the unconfigured DOI

  • add new DOI before removing the old default map,

so the old map remains if the add fails

(2008-02-04, Casey Schaufler)

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Low
Smack LSM non-default on all major Linux distros; primarily Tizen and embedded deployments
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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

SUSE

Severity: Moderate
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 Performance Computing 15 SP7 Not-Affected

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