CVE-2025-38148
net: phy: mscc: Fix memory leak when using one step timestamping
Mitigation
- Upgrade Linux to 846992645b25ec4253167e3f931e4597eb84af56 or later.
Who should check
- Anyone running Linux >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 24b24295464f25fb771d36ed558c7cd942119361; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < db2a12ddd3a31f668137ff6a4befc1343c79cbc4; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 0b40aeaf83ca04d4c9801e235b7533400c8b5f17; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 66abe22017522dd56b820e41ca3a5b131a637001; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < cdbabd316c5a4a9b0fda6aafe491e2db17fbb95d; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 846992645b25ec4253167e3f931e4597eb84af56
- Anyone running Linux 5.9
Vulnerability facts
- Affected
- Linux >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 24b24295464f25fb771d36ed558c7cd942119361; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < db2a12ddd3a31f668137ff6a4befc1343c79cbc4; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 0b40aeaf83ca04d4c9801e235b7533400c8b5f17; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 66abe22017522dd56b820e41ca3a5b131a637001; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < cdbabd316c5a4a9b0fda6aafe491e2db17fbb95d; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 846992645b25ec4253167e3f931e4597eb84af56; Linux 5.9
- Fixed in
- Linux 24b24295464f25fb771d36ed558c7cd942119361, Linux 0b40aeaf83ca04d4c9801e235b7533400c8b5f17, Linux 66abe22017522dd56b820e41ca3a5b131a637001, Linux 846992645b25ec4253167e3f931e4597eb84af56
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: phy: mscc: Fix memory leak when using one step timestamping Fix memory leak when running one-step timestamping. When running one-step sync timestamping, the HW is configured to insert the TX time into the frame, so there is no reason to keep the skb anymore. As in this case the HW will never generate an interrupt to say that the frame was timestamped, then the frame will never released. Fix this by freeing the frame in case of one-step timestamping.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 24b24295464f25fb771d36ed558c7cd942119361; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < db2a12ddd3a31f668137ff6a4befc1343c79cbc4; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 0b40aeaf83ca04d4c9801e235b7533400c8b5f17; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 66abe22017522dd56b820e41ca3a5b131a637001; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < cdbabd316c5a4a9b0fda6aafe491e2db17fbb95d; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 846992645b25ec4253167e3f931e4597eb84af56 | — | cvelist |
| Linux | 5.9 | — | 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-38148. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38148.md Affected: Linux >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 24b24295464f25fb771d36ed558c7cd942119361; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < db2a12ddd3a31f668137ff6a4befc1343c79cbc4; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 0b40aeaf83ca04d4c9801e235b7533400c8b5f17; >= 7d272e63e0979d38a625610… Fixed in: Linux 24b24295464f25fb771d36ed558c7cd942119361, Linux 0b40aeaf83ca04d4c9801e235b7533400c8b5f17, Linux 66abe22017522dd56b820e41ca3a5b131a637001, Linux 846992645b25ec4253167e3f931e4597eb84af56 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/24b24295464f25fb771d36ed558c7cd942119361
- https://git.kernel.org/stable/c/db2a12ddd3a31f668137ff6a4befc1343c79cbc4
- https://git.kernel.org/stable/c/0b40aeaf83ca04d4c9801e235b7533400c8b5f17
- https://git.kernel.org/stable/c/66abe22017522dd56b820e41ca3a5b131a637001
- https://git.kernel.org/stable/c/cdbabd316c5a4a9b0fda6aafe491e2db17fbb95d
- https://git.kernel.org/stable/c/846992645b25ec4253167e3f931e4597eb84af56
FAQ
Is CVE-2025-38148 being exploited?
There is no confirmed exploitation: CVE-2025-38148 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38148?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38148?
Linux >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 24b24295464f25fb771d36ed558c7cd942119361; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < db2a12ddd3a31f668137ff6a4befc1343c79cbc4; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 0b40aeaf83ca04d4c9801e235b7533400c8b5f17; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 66abe22017522dd56b820e41ca3a5b131a637001; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < cdbabd316c5a4a9b0fda6aafe491e2db17fbb95d; >= 7d272e63e0979d38a6256108adbe462d621c26c5, < 846992645b25ec4253167e3f931e4597eb84af56; Linux 5.9.
Is there a fix for CVE-2025-38148?
Yes. Fixed in Linux 24b24295464f25fb771d36ed558c7cd942119361, Linux 0b40aeaf83ca04d4c9801e235b7533400c8b5f17, Linux 66abe22017522dd56b820e41ca3a5b131a637001, Linux 846992645b25ec4253167e3f931e4597eb84af56. Upgrade Linux to 846992645b25ec4253167e3f931e4597eb84af56 or later.
How do I check if I'm affected by CVE-2025-38148?
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.