# CVE-2025-38148: net: phy: mscc: Fix memory leak when using one step timestamping

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-07-03T08:35:53.544Z
- Modified: 2026-11-05T21:18:11.573Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7d272e63e0979d38a6256108adbe462d621c26c5 before 24b24295464f25fb771d36ed558c7cd942119361; from 7d272e63e0979d38a6256108adbe462d621c26c5 before db2a12ddd3a31f668137ff6a4befc1343c79cbc4; from 7d272e63e0979d38a6256108adbe462d621c26c5 before 0b40aeaf83ca04d4c9801e235b7533400c8b5f17; from 7d272e63e0979d38a6256108adbe462d621c26c5 before 66abe22017522dd56b820e41ca3a5b131a637001; from 7d272e63e0979d38a6256108adbe462d621c26c5 before cdbabd316c5a4a9b0fda6aafe491e2db17fbb95d; from 7d272e63e0979d38a6256108adbe462d621c26c5 before 846992645b25ec4253167e3f931e4597eb84af56; 5.9 (not affected: before 5.9; from 5.15.192 up to 5.15.*; from 6.1.142 up to 6.1.*; from 6.6.94 up to 6.6.*; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.9 before 5.15.192; from 5.16 before 6.1.142; from 6.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/24b24295464f25fb771d36ed558c7cd942119361> (patch)
- <https://git.kernel.org/stable/c/db2a12ddd3a31f668137ff6a4befc1343c79cbc4> (patch)
- <https://git.kernel.org/stable/c/0b40aeaf83ca04d4c9801e235b7533400c8b5f17> (patch)
- <https://git.kernel.org/stable/c/66abe22017522dd56b820e41ca3a5b131a637001> (patch)
- <https://git.kernel.org/stable/c/cdbabd316c5a4a9b0fda6aafe491e2db17fbb95d> (patch)
- <https://git.kernel.org/stable/c/846992645b25ec4253167e3f931e4597eb84af56> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-38148](https://www.cve.org/CVERecord?id=CVE-2025-38148), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38148](https://nvd.nist.gov/vuln/detail/CVE-2025-38148), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38148 · Whole record: https://cve.day/CVE-2025-38148.json · Rebuilt by cve.day 2026-11-25T22:59:00.541Z
