CVE-2025-38617
net/packet: fix a race in packet_set_ring() and packet_notifier()
Mitigation
- Upgrade Linux to 01d3c8417b9c1b884a8a981a3b886da556512f36 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18f13f2a83eb81be349a9757ba2141ff1da9ad73; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7da733f117533e9b2ebbd530a22ae4028713955c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ba2257034755ae773722f15f4c3ad1dcdad15ca9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7de07705007c7e34995a5599aaab1d23e762d7ca; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 88caf46db8239e6471413d28aabaa6b8bd552805; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f2e8fcfd2b1bc754920108b7f2cd75082c5a18df; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e50ccfaca9e3c671cae917dcb994831a859cf588; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f1791fd7b845bea0ce9674fcf2febee7bc87a893; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 01d3c8417b9c1b884a8a981a3b886da556512f36
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18f13f2a83eb81be349a9757ba2141ff1da9ad73; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7da733f117533e9b2ebbd530a22ae4028713955c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ba2257034755ae773722f15f4c3ad1dcdad15ca9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7de07705007c7e34995a5599aaab1d23e762d7ca; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 88caf46db8239e6471413d28aabaa6b8bd552805; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f2e8fcfd2b1bc754920108b7f2cd75082c5a18df; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e50ccfaca9e3c671cae917dcb994831a859cf588; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f1791fd7b845bea0ce9674fcf2febee7bc87a893; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 01d3c8417b9c1b884a8a981a3b886da556512f36; Linux 2.6.12
- Fixed in
- Linux 18f13f2a83eb81be349a9757ba2141ff1da9ad73, Linux 7da733f117533e9b2ebbd530a22ae4028713955c, Linux 7de07705007c7e34995a5599aaab1d23e762d7ca, Linux 88caf46db8239e6471413d28aabaa6b8bd552805, Linux 01d3c8417b9c1b884a8a981a3b886da556512f36
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.38% chance of exploitation in 30 days (percentile 23, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/packet: fix a race in packet_set_ring() and packet_notifier() When packet_set_ring() releases po->bind_lock, another thread can run packet_notifier() and process an NETDEV_UP event. This race and the fix are both similar to that of commit 15fe076edea7 ("net/packet: fix a race in packet_bind() and packet_notifier()"). There too the packet_notifier NETDEV_UP event managed to run while a po->bind_lock critical section had to be temporarily released. And the fix was similarly to temporarily set po->num to zero to keep the socket unhooked until the lock is retaken. The po->bind_lock in packet_set_ring and packet_notifier precede the introduction of git history.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18f13f2a83eb81be349a9757ba2141ff1da9ad73; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7da733f117533e9b2ebbd530a22ae4028713955c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ba2257034755ae773722f15f4c3ad1dcdad15ca9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7de07705007c7e34995a5599aaab1d23e762d7ca; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 88caf46db8239e6471413d28aabaa6b8bd552805; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f2e8fcfd2b1bc754920108b7f2cd75082c5a18df; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e50ccfaca9e3c671cae917dcb994831a859cf588; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f1791fd7b845bea0ce9674fcf2febee7bc87a893; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 01d3c8417b9c1b884a8a981a3b886da556512f36 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38617. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38617.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18f13f2a83eb81be349a9757ba2141ff1da9ad73; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7da733f117533e9b2ebbd530a22ae4028713955c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ba2257034755ae773722f15f4c3ad1dcdad15ca9; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 18f13f2a83eb81be349a9757ba2141ff1da9ad73, Linux 7da733f117533e9b2ebbd530a22ae4028713955c, Linux 7de07705007c7e34995a5599aaab1d23e762d7ca, Linux 88caf46db8239e6471413d28aabaa6b8bd552805, Linux 01d3c8417b9c1b884a8a981a3b886da556512f36 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/18f13f2a83eb81be349a9757ba2141ff1da9ad73
- https://git.kernel.org/stable/c/7da733f117533e9b2ebbd530a22ae4028713955c
- https://git.kernel.org/stable/c/ba2257034755ae773722f15f4c3ad1dcdad15ca9
- https://git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca
- https://git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805
- https://git.kernel.org/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df
- https://git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588
- https://git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893
- https://git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36
- https://github.com/google/security-research/pull/339
FAQ
Is CVE-2025-38617 being exploited?
There is no confirmed exploitation: CVE-2025-38617 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38617?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38617?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18f13f2a83eb81be349a9757ba2141ff1da9ad73; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7da733f117533e9b2ebbd530a22ae4028713955c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ba2257034755ae773722f15f4c3ad1dcdad15ca9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7de07705007c7e34995a5599aaab1d23e762d7ca; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 88caf46db8239e6471413d28aabaa6b8bd552805; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f2e8fcfd2b1bc754920108b7f2cd75082c5a18df; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e50ccfaca9e3c671cae917dcb994831a859cf588; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f1791fd7b845bea0ce9674fcf2febee7bc87a893; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 01d3c8417b9c1b884a8a981a3b886da556512f36; Linux 2.6.12.
Is there a fix for CVE-2025-38617?
Yes. Fixed in Linux 18f13f2a83eb81be349a9757ba2141ff1da9ad73, Linux 7da733f117533e9b2ebbd530a22ae4028713955c, Linux 7de07705007c7e34995a5599aaab1d23e762d7ca, Linux 88caf46db8239e6471413d28aabaa6b8bd552805, Linux 01d3c8417b9c1b884a8a981a3b886da556512f36. Upgrade Linux to 01d3c8417b9c1b884a8a981a3b886da556512f36 or later.
How do I check if I'm affected by CVE-2025-38617?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.