CVE-2025-38542
net: appletalk: Fix device refcount leak in atrtr_create()
Mitigation
- Upgrade Linux to 711c80f7d8b163d3ecd463cd96f07230f488e750 or later.
Who should check
- Anyone running Linux >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b92bedf71f25303e203a4e657489d76691a58119; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < a7852b01793669248dce0348d14df89e77a32afd; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < d2e9f50f0bdad73b64a871f25186b899624518c4; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 4a17370da6e476d3d275534e9e9cd2d02c57ca46; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 473f3eadfc73b0fb6d8dee5829d19a5772e387f7; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 711c80f7d8b163d3ecd463cd96f07230f488e750
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b92bedf71f25303e203a4e657489d76691a58119; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < a7852b01793669248dce0348d14df89e77a32afd; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < d2e9f50f0bdad73b64a871f25186b899624518c4; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 4a17370da6e476d3d275534e9e9cd2d02c57ca46; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 473f3eadfc73b0fb6d8dee5829d19a5772e387f7; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 711c80f7d8b163d3ecd463cd96f07230f488e750; Linux 2.6.12
- Fixed in
- Linux 4a17370da6e476d3d275534e9e9cd2d02c57ca46, Linux 473f3eadfc73b0fb6d8dee5829d19a5772e387f7, Linux 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b, Linux 711c80f7d8b163d3ecd463cd96f07230f488e750
- 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.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: appletalk: Fix device refcount leak in atrtr_create() When updating an existing route entry in atrtr_create(), the old device reference was not being released before assigning the new device, leading to a device refcount leak. Fix this by calling dev_put() to release the old device reference before holding the new one.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b92bedf71f25303e203a4e657489d76691a58119; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < a7852b01793669248dce0348d14df89e77a32afd; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < d2e9f50f0bdad73b64a871f25186b899624518c4; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 4a17370da6e476d3d275534e9e9cd2d02c57ca46; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 473f3eadfc73b0fb6d8dee5829d19a5772e387f7; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 711c80f7d8b163d3ecd463cd96f07230f488e750 | — | 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-38542. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38542.md Affected: Linux >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b92bedf71f25303e203a4e657489d76691a58119; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < a7852b01793669248dce0348d14df89e77a32afd; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90; >= c7f905f0f6d49ed8c1aa456… Fixed in: Linux 4a17370da6e476d3d275534e9e9cd2d02c57ca46, Linux 473f3eadfc73b0fb6d8dee5829d19a5772e387f7, Linux 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b, Linux 711c80f7d8b163d3ecd463cd96f07230f488e750 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/b92bedf71f25303e203a4e657489d76691a58119
- https://git.kernel.org/stable/c/a7852b01793669248dce0348d14df89e77a32afd
- https://git.kernel.org/stable/c/b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90
- https://git.kernel.org/stable/c/d2e9f50f0bdad73b64a871f25186b899624518c4
- https://git.kernel.org/stable/c/4a17370da6e476d3d275534e9e9cd2d02c57ca46
- https://git.kernel.org/stable/c/473f3eadfc73b0fb6d8dee5829d19a5772e387f7
- https://git.kernel.org/stable/c/64124cf0aab0dd1e18c0fb5ae66e45741e727f8b
- https://git.kernel.org/stable/c/711c80f7d8b163d3ecd463cd96f07230f488e750
FAQ
Is CVE-2025-38542 being exploited?
There is no confirmed exploitation: CVE-2025-38542 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38542?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38542?
Linux >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b92bedf71f25303e203a4e657489d76691a58119; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < a7852b01793669248dce0348d14df89e77a32afd; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < b2f5dfa87367fdce9f8b995bc6c38f64f9ea2c90; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < d2e9f50f0bdad73b64a871f25186b899624518c4; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 4a17370da6e476d3d275534e9e9cd2d02c57ca46; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 473f3eadfc73b0fb6d8dee5829d19a5772e387f7; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b; >= c7f905f0f6d49ed8c1aa4566c31f0383a0ba0c9d, < 711c80f7d8b163d3ecd463cd96f07230f488e750; Linux 2.6.12.
Is there a fix for CVE-2025-38542?
Yes. Fixed in Linux 4a17370da6e476d3d275534e9e9cd2d02c57ca46, Linux 473f3eadfc73b0fb6d8dee5829d19a5772e387f7, Linux 64124cf0aab0dd1e18c0fb5ae66e45741e727f8b, Linux 711c80f7d8b163d3ecd463cd96f07230f488e750. Upgrade Linux to 711c80f7d8b163d3ecd463cd96f07230f488e750 or later.
How do I check if I'm affected by CVE-2025-38542?
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.