CVE-2025-71304
📛 CVE Title
smack: /smack/doi: accept previously used values
Description
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)
Overview
- State
- PUBLISHED
- Assigner (CNA)
- Linux
- CVSS severity
- high
- CVSS score
- 8.4 / 10
- CVSS vector
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Effective score
- 8.4 / 10 HIGH source: CNA overview
- CWE(s)
- —
- Reserved
- 2026-05-08
- Published
- 2026-05-27 12:14 UTC
- Last updated
- 2026-05-27 12:14 UTC
- Source
- https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2025/71xxx/CVE-2025-71304.json
- Linked Threat
- CVE-2025-71304 — CVE-2025-71304
NVD triage scoring NVD CVE 2.0
Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.
- NVD published
- 2026-05-27 14:16:42 UTC
- NVD last modified
- 2026-06-25 21:04:41 UTC
- NVD CVSS v3.1
- 5.5 / 10 MEDIUM source: nvd@nist.gov
- NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Exploitability subscore
- 1.8 / 10
- Impact subscore
- 3.6 / 10
- EPSS score
- 0.0016 (probability of exploitation in next 30 days)
- EPSS percentile
- 5.59% vs all CVEs — higher = more likely to be exploited, as of 2026-07-26
NVD / KEV / EPSS data refreshed 2026-07-27 10:43 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.
European Union Vulnerability Database ENISA EUVD
ENISA's official EU repository for curated vulnerability intelligence. Carries a separate identifier (EUVD-YYYY-NNNN) and frequently exposes an earlier-published description + CVSS than NVD does.
- EUVD ID
-
EUVD-2025-209968 - Assigner
- Linux
- Published
- May 27, 2026, 12:14:53 PM
- Updated
- May 27, 2026, 12:14:53 PM
- EUVD base score
- 0.0 / 10
- EUVD-reported EPSS
- 0.1600
- Vendors
- Linux
- Products
-
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)
- Aliases
-
GHSA-hgc7-rqx4-p393
ENISA description: 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)
EUVD references (8)
- https://git.kernel.org/stable/c/eb718a3c8181ada679340db34cd61bce48e44749
- https://git.kernel.org/stable/c/6ec091c5c7eeabd249a7c46813cad1e9f555f859
- https://git.kernel.org/stable/c/199452f22d2f74b897fe826f81ec402b0a8461a0
- https://git.kernel.org/stable/c/1c7ee23dfcd18d80770d8f90f2ab5bb1b2bfd8a3
- https://git.kernel.org/stable/c/f8071500177f38cff38892bd85ac631cc6e010b2
- https://git.kernel.org/stable/c/5a247a84de0ba44edbbd6be851c8a6b2aa60ff85
- https://git.kernel.org/stable/c/8beebb8ad9a003f978e53b06237986588223e15e
- https://git.kernel.org/stable/c/33d589ed60ae433b483761987b85e0d24e54584e
Affected products (2)
| Vendor | Product | Versions | Platforms |
|---|---|---|---|
| Linux | Linux |
e114e473771c848c3cfec05f0123e70f1cdbdc99 (affected),
e114e473771c848c3cfec05f0123e70f1cdbdc99 (affected),
e114e473771c848c3cfec05f0123e70f1cdbdc99 (affected),
e114e473771c848c3cfec05f0123e70f1cdbdc99 (affected),
e114e473771c848c3cfec05f0123e70f1cdbdc99 (affected),
e114e473771c848c3cfec05f0123e70f1cdbdc99 (affected),
e114e473771c848c3cfec05f0123e70f1cdbdc99 (affected),
e114e473771c848c3cfec05f0123e70f1cdbdc99 (affected)
|
— |
| Linux | Linux |
2.6.25 (affected),
0 (unaffected),
5.10.252 (unaffected),
5.15.202 (unaffected),
6.1.165 (unaffected),
6.6.128 (unaffected),
6.12.75 (unaffected),
6.18.14 (unaffected),
6.19.4 (unaffected),
7.0 (unaffected)
|
— |
Affected products — CPE 2.3 (1) NVD
NVD's normalized CPE 2.3 matchers, used by vendor tools (vulnerability scanners, asset managers) for automated detection. Compare with the CNA's free-text "Affected products" section above.
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendor references (8)
References embedded in the original CVE record by the assigning CNA.
- https://git.kernel.org/stable/c/eb718a3c8181ada679340db34cd61bce48e44749
- https://git.kernel.org/stable/c/6ec091c5c7eeabd249a7c46813cad1e9f555f859
- https://git.kernel.org/stable/c/199452f22d2f74b897fe826f81ec402b0a8461a0
- https://git.kernel.org/stable/c/1c7ee23dfcd18d80770d8f90f2ab5bb1b2bfd8a3
- https://git.kernel.org/stable/c/f8071500177f38cff38892bd85ac631cc6e010b2
- https://git.kernel.org/stable/c/5a247a84de0ba44edbbd6be851c8a6b2aa60ff85
- https://git.kernel.org/stable/c/8beebb8ad9a003f978e53b06237986588223e15e
- https://git.kernel.org/stable/c/33d589ed60ae433b483761987b85e0d24e54584e
Web references (11)
DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.
- https://git.kernel.org/stable/c/199452f22d2f74b897fe826f81ec402b0a8461a0 tenable:git.kernel.org
- https://git.kernel.org/stable/c/1c7ee23dfcd18d80770d8f90f2ab5bb1b2bfd8a3 tenable:git.kernel.org
- https://git.kernel.org/stable/c/33d589ed60ae433b483761987b85e0d24e54584e tenable:git.kernel.org
- https://git.kernel.org/stable/c/5a247a84de0ba44edbbd6be851c8a6b2aa60ff85 tenable:git.kernel.org
- https://git.kernel.org/stable/c/6ec091c5c7eeabd249a7c46813cad1e9f555f859 tenable:git.kernel.org
- https://git.kernel.org/stable/c/8beebb8ad9a003f978e53b06237986588223e15e tenable:git.kernel.org
- https://git.kernel.org/stable/c/eb718a3c8181ada679340db34cd61bce48e44749 tenable:git.kernel.org
- https://git.kernel.org/stable/c/f8071500177f38cff38892bd85ac631cc6e010b2 tenable:git.kernel.org
- https://nvd.nist.gov/vuln/detail/CVE-2025-71304 tenable:nvd.nist.gov
- https://www.cve.org/CVERecord?id=CVE-2025-71304 tenable:www.cve.org
- https://www.first.org/epss/ tenable:www.first.org
NVD-tagged references (8)
Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.
- https://git.kernel.org/stable/c/199452f22d2f74b897fe826f81ec402b0a8461a0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/1c7ee23dfcd18d80770d8f90f2ab5bb1b2bfd8a3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/33d589ed60ae433b483761987b85e0d24e54584e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/5a247a84de0ba44edbbd6be851c8a6b2aa60ff85 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/6ec091c5c7eeabd249a7c46813cad1e9f555f859 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/8beebb8ad9a003f978e53b06237986588223e15e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/eb718a3c8181ada679340db34cd61bce48e44749 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/f8071500177f38cff38892bd85ac631cc6e010b2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
Remediations (18)
Remediations are stored against the linked Threat row; the list below is deduplicated across both pages.
-
web:blog.qualys.com
Key Takeaways RedSun is a critical zero-day vulnerability in Microsoft Defender that allows low-privileged users to gain SYSTEM access No patch is currently available, leaving all Defender-enabled Windows systems potentially exposed Qualys VMDR detects affected assets instantly (QID 92382) TruRisk™ Eliminate enables immediate mitigation , removing exploitability without waiting for a fix ...
2026-06-04 00:02 UTC -
web:integsec.com
CVE -2026-7304 was published to the National Vulnerability Database on May 18, 2026, with a final NVD update on May 19, 2026. The vulnerability affects LMSYS SGLang version 0.5.10 and any SGLang deployment started with the --enable-custom-logit-processor flag. SGLang is a serving runtime for large language and multimodal models used by enterprises deploying AI inference workloads.
2026-06-04 00:02 UTC -
web:krebsonsecurity.com
Microsoft Corp. today issued security updates to fix more than 80 vulnerabilities in its Windows operating systems and software. There are no known "zero-day" or actively exploited vulnerabilities ...
2026-06-04 00:02 UTC -
web:krebsonsecurity.com
Microsoft today pushed updates to fix at least 56 security flaws in its Windows operating systems and supported software. This final Patch Tuesday of 2025 tackles one zero-day bug that is already ...
2026-06-04 00:02 UTC -
web:learn.microsoft.com
Remediate security weaknesses discovered through security recommendations, and create exceptions if needed, in Defender Vulnerability Management.
2026-06-04 00:02 UTC -
web:mondoo.com
DEBIAN- CVE - 2025 - 71304 - UNKNOWN severity: (In the Linux kernel, the following vulnerability has been resolved: s ...)
2026-06-04 00:02 UTC -
web:portal.msrc.microsoft.com
The Security Update Guide provides information on the latest Microsoft security updates, helping users understand and address potential vulnerabilities effectively.
2026-06-04 00:02 UTC -
web:www.cisa.gov
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild. Organizations should use the KEV catalog as an input to their vulnerability management prioritization framework. Learn more about ...
2026-06-04 00:02 UTC -
web:www.maketecheasier.com
Check out the latest Windows 11 and Windows 10 update problems and their solutions, as recommended by Microsoft experts.
2026-06-04 00:02 UTC -
web:www.malwarebytes.com
The KEV catalog tracks vulnerabilities known to be exploited in the wild and sets patch deadlines for Federal Civilian Executive Branch (FCEB) agencies. Five of the added vulnerabilities are quite old by vulnerability standards. Patches were released in 2008, 2009, and 2010. But the Microsoft Defender vulnerabilities are from this year. Those ...
2026-06-04 00:02 UTC -
web:isc.sans.edu
Microsoft Patch Tuesday, July 2025 , Author: Johannes Ullrich
2026-06-19 02:27 UTC -
web:www.cisa.gov
Update (08/06/ 2025 ): CISA released a Malware Analysis Report (MAR) on six files related to CVE - 2025 -49704, CVE - 2025 -49706, CVE - 2025 -53770, and CVE - 2025 -53771. For more information see MAR-251132.c1.v1 Exploitation of SharePoint Vulnerabilities and CISA Releases Malware Analysis Report Associated with Microsoft SharePoint Vulnerabilities.
2026-06-19 02:27 UTC -
web:www.computerworld.com
Each month, the team at Readiness analyzes the latest Patch Tuesday updates from Microsoft and provides detailed, actionable testing guidance. The company's Patch Tuesday release for February ...
2026-06-19 02:27 UTC -
web:www.crowdstrike.com
Microsoft has released security updates for 84 vulnerabilities, including 2 publicly disclosed zero-day and 8 critical, in its September 2025 Patch Tuesday rollout.
2026-06-19 02:27 UTC -
web:www.microsoft.com
Security Update Guide Notifications Microsoft's free Security Update Guide Notifications provide links to security-related software updates and notification of re-released security updates. These notifications are sent via email throughout the month as needed.
2026-06-19 02:27 UTC -
web:www.rapid7.com
Microsoft is addressing 67 vulnerabilities this June 2025 Patch Tuesday. Learn more about the findings in this Patch Tuesday.
2026-06-19 02:27 UTC -
web:www.veeam.com
When a vulnerability is identified, our team promptly develops a patch to address and mitigate the risk. In line with our dedication to transparency, we publicly disclose the vulnerability and provide detailed mitigation information.
2026-06-19 02:27 UTC -
web:zecurit.com
Get the complete breakdown of Microsoft's June 2026 Patch Tuesday. We analyze the latest security updates and all critical CVEs .
2026-06-19 02:27 UTC
AI Forensic Analysis
Only Available for Registered Users. Sign in to view.
Raw JSON
The full cvelistV5 record. Download as CVE-2025-71304.json.
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"security/smack/smackfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "eb718a3c8181ada679340db34cd61bce48e44749",
"status": "affected",
"version": "e114e473771c848c3cfec05f0123e70f1cdbdc99",
"versionType": "git"
},
{
"lessThan": "6ec091c5c7eeabd249a7c46813cad1e9f555f859",
"status": "affected",
"version": "e114e473771c848c3cfec05f0123e70f1cdbdc99",
"versionType": "git"
},
{
"lessThan": "199452f22d2f74b897fe826f81ec402b0a8461a0",
"status": "affected",
"version": "e114e473771c848c3cfec05f0123e70f1cdbdc99",
"versionType": "git"
},
{
"lessThan": "1c7ee23dfcd18d80770d8f90f2ab5bb1b2bfd8a3",
"status": "affected",
"version": "e114e473771c848c3cfec05f0123e70f1cdbdc99",
"versionType": "git"
},
{
"lessThan": "f8071500177f38cff38892bd85ac631cc6e010b2",
"status": "affected",
"version": "e114e473771c848c3cfec05f0123e70f1cdbdc99",
"versionType": "git"
},
{
"lessThan": "5a247a84de0ba44edbbd6be851c8a6b2aa60ff85",
"status": "affected",
"version": "e114e473771c848c3cfec05f0123e70f1cdbdc99",
"versionType": "git"
},
{
"lessThan": "8beebb8ad9a003f978e53b06237986588223e15e",
"status": "affected",
"version": "e114e473771c848c3cfec05f0123e70f1cdbdc99",
"versionType": "git"
},
{
"lessThan": "33d589ed60ae433b483761987b85e0d24e54584e",
"status": "affected",
"version": "e114e473771c848c3cfec05f0123e70f1cdbdc99",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"security/smack/smackfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.25"
},
{
"lessThan": "2.6.25",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.252",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.202",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.165",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.128",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.75",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.14",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"version": "6.19.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.252",
"versionStartIncluding": "2.6.25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.202",
"versionStartIncluding": "2.6.25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.165",
"versionStartIncluding": "2.6.25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.128",
"versionStartIncluding": "2.6.25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.75",
"versionStartIncluding": "2.6.25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.14",
"versionStartIncluding": "2.6.25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.19.4",
"versionStartIncluding": "2.6.25",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0",
"versionStartIncluding": "2.6.25",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmack: /smack/doi: accept previously used values\n\nWriting to /smack/doi a value that has ever been\nwritten there in the past disables networking for\nnon-ambient labels.\nE.g.\n\n # cat /smack/doi\n 3\n # netlabelctl -p cipso list\n Configured CIPSO mappings (1)\n DOI value : 3\n mapping type : PASS_THROUGH\n # netlabelctl -p map list\n Configured NetLabel domain mappings (3)\n domain: \"_\" (IPv4)\n protocol: UNLABELED\n domain: DEFAULT (IPv4)\n protocol: CIPSO, DOI = 3\n domain: DEFAULT (IPv6)\n protocol: UNLABELED\n\n # cat /smack/ambient\n _\n # cat /proc/$$/attr/smack/current\n _\n # ping -c1 10.1.95.12\n 64 bytes from 10.1.95.12: icmp_seq=1 ttl=64 time=0.964 ms\n # echo foo >/proc/$$/attr/smack/current\n # ping -c1 10.1.95.12\n 64 bytes from 10.1.95.12: icmp_seq=1 ttl=64 time=0.956 ms\n unknown option 86\n\n # echo 4 >/smack/doi\n # echo 3 >/smack/doi\n!> [ 214.050395] smk_cipso_doi:691 cipso add rc = -17\n # echo 3 >/smack/doi\n!> [ 249.402261] smk_cipso_doi:678 remove rc = -2\n!> [ 249.402261] smk_cipso_doi:691 cipso add rc = -17\n\n # ping -c1 10.1.95.12\n!!> ping: 10.1.95.12: Address family for hostname not supported\n\n # echo _ >/proc/$$/attr/smack/current\n # ping -c1 10.1.95.12\n 64 bytes from 10.1.95.12: icmp_seq=1 ttl=64 time=0.617 ms\n\nThis happens because Smack keeps decommissioned DOIs,\nfails to re-add them, and consequently refuses to add\nthe \u201cdefault\u201d domain map:\n\n # netlabelctl -p cipso list\n Configured CIPSO mappings (2)\n DOI value : 3\n mapping type : PASS_THROUGH\n DOI value : 4\n mapping type : PASS_THROUGH\n # netlabelctl -p map list\n Configured NetLabel domain mappings (2)\n domain: \"_\" (IPv4)\n protocol: UNLABELED\n!> (no ipv4 map for default domain here)\n domain: DEFAULT (IPv6)\n protocol: UNLABELED\n\nFix by clearing decommissioned DOI definitions and\nserializing concurrent DOI updates with a new lock.\n\nAlso:\n- allow /smack/doi to live unconfigured, since\n adding a map (netlbl_cfg_cipsov4_map_add) may fail.\n CIPSO_V4_DOI_UNKNOWN(0) indicates the unconfigured DOI\n- add new DOI before removing the old default map,\n so the old map remains if the add fails\n\n(2008-02-04, Casey Schaufler)"
}
],
"providerMetadata": {
"dateUpdated": "2026-05-27T12:14:53.289Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/eb718a3c8181ada679340db34cd61bce48e44749"
},
{
"url": "https://git.kernel.org/stable/c/6ec091c5c7eeabd249a7c46813cad1e9f555f859"
},
{
"url": "https://git.kernel.org/stable/c/199452f22d2f74b897fe826f81ec402b0a8461a0"
},
{
"url": "https://git.kernel.org/stable/c/1c7ee23dfcd18d80770d8f90f2ab5bb1b2bfd8a3"
},
{
"url": "https://git.kernel.org/stable/c/f8071500177f38cff38892bd85ac631cc6e010b2"
},
{
"url": "https://git.kernel.org/stable/c/5a247a84de0ba44edbbd6be851c8a6b2aa60ff85"
},
{
"url": "https://git.kernel.org/stable/c/8beebb8ad9a003f978e53b06237986588223e15e"
},
{
"url": "https://git.kernel.org/stable/c/33d589ed60ae433b483761987b85e0d24e54584e"
}
],
"title": "smack: /smack/doi: accept previously used values",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2025-71304",
"datePublished": "2026-05-27T12:14:53.289Z",
"dateReserved": "2026-05-08T13:14:33.087Z",
"dateUpdated": "2026-05-27T12:14:53.289Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}