A vulnerability in the Linux kernel's Smack security module allows previously used DOI values written to /smack/doi to disable networking for… (CVE-2025-71304)
A vulnerability in the Linux kernel's Smack security module allows previously used DOI values written to /smack/doi to disable networking for non-ambient labels. This occurs because Smack retains decommissioned DOI values and fails to re-add them properly, causing the refusal to add the default domain map and resulting in network failures. The issue is fixed by clearing old DOI definitions and serializing DOI updates with a new lock, allowing /smack/doi to be unconfigured safely and ensuring proper map updates.
AI Analysis
Technical Summary
The Linux kernel Smack module had a vulnerability where writing a DOI value to /smack/doi that was previously used would disable networking for non-ambient labels. This was due to Smack keeping decommissioned DOI values and failing to re-add them, which prevented the addition of the default domain map needed for networking. The fix involves clearing decommissioned DOI definitions, serializing concurrent DOI updates with a new lock, allowing /smack/doi to remain unconfigured, and adding new DOI maps before removing old ones to avoid failures.
Potential Impact
The vulnerability causes denial of network service for processes labeled with non-ambient Smack labels by disabling the addition of necessary network label mappings. This results in network communication failures such as inability to ping remote hosts. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves kernel code changes to clear old DOI definitions and serialize DOI updates. Until a patch is available, avoid writing previously used DOI values to /smack/doi to prevent network disruption.
A vulnerability in the Linux kernel's Smack security module allows previously used DOI values written to /smack/doi to disable networking for… (CVE-2025-71304)
Description
A vulnerability in the Linux kernel's Smack security module allows previously used DOI values written to /smack/doi to disable networking for non-ambient labels. This occurs because Smack retains decommissioned DOI values and fails to re-add them properly, causing the refusal to add the default domain map and resulting in network failures. The issue is fixed by clearing old DOI definitions and serializing DOI updates with a new lock, allowing /smack/doi to be unconfigured safely and ensuring proper map updates.
CVSS v3.1
Score 5.5medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel Smack module had a vulnerability where writing a DOI value to /smack/doi that was previously used would disable networking for non-ambient labels. This was due to Smack keeping decommissioned DOI values and failing to re-add them, which prevented the addition of the default domain map needed for networking. The fix involves clearing decommissioned DOI definitions, serializing concurrent DOI updates with a new lock, allowing /smack/doi to remain unconfigured, and adding new DOI maps before removing old ones to avoid failures.
Potential Impact
The vulnerability causes denial of network service for processes labeled with non-ambient Smack labels by disabling the addition of necessary network label mappings. This results in network communication failures such as inability to ping remote hosts. There is no impact on confidentiality or integrity, only availability is affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves kernel code changes to clear old DOI definitions and serialize DOI updates. Until a patch is available, avoid writing previously used DOI values to /smack/doi to prevent network disruption.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hgc7-rqx4-p393
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-71304"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a3ef7f227e9c79719036e11
Added to database: 06/26/2026, 22:06:42 UTC
Last enriched: 06/26/2026, 22:51:32 UTC
Last updated: 07/31/2026, 19:24:49 UTC
Views: 20
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.