CVE-2025-38148

net: phy: mscc: Fix memory leak when using one step timestamping

State
Published
Severity
Not scored
Published
Jul 3, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7d272e63e0979d38a6256108adbe462d621c26c5 to before 24b24295464f25fb771d36ed558c7cd942119361Affected
  • 7d272e63e0979d38a6256108adbe462d621c26c5 to before db2a12ddd3a31f668137ff6a4befc1343c79cbc4Affected
  • 7d272e63e0979d38a6256108adbe462d621c26c5 to before 0b40aeaf83ca04d4c9801e235b7533400c8b5f17Affected
  • 7d272e63e0979d38a6256108adbe462d621c26c5 to before 66abe22017522dd56b820e41ca3a5b131a637001Affected
  • 7d272e63e0979d38a6256108adbe462d621c26c5 to before cdbabd316c5a4a9b0fda6aafe491e2db17fbb95dAffected
  • 7d272e63e0979d38a6256108adbe462d621c26c5 to before 846992645b25ec4253167e3f931e4597eb84af56Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.15.192 through 5.15.*Not affected
  • 6.1.142 through 6.1.*Not affected
  • 6.6.94 through 6.6.*Not affected
  • 6.12.34 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.