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

CVE-2025-38148
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 7d272e63e0979d38a6256108adbe462d621c26c5 < 24b24295464f25fb771d36ed558c7cd942119361 ; affected 7d272e63e0979d38a6256108adbe462d621c26c5 < db2a12ddd3a31f668137ff6a4befc1343c79cbc4 ; affected 7d272e63e0979d38a6256108adbe462d621c26c5 < 0b40aeaf83ca04d4c9801e235b7533400c8b5f17 ; affected 7d272e63e0979d38a6256108adbe462d621c26c5 < 66abe22017522dd56b820e41ca3a5b131a637001 ; affected 7d272e63e0979d38a6256108adbe462d621c26c5 < cdbabd316c5a4a9b0fda6aafe491e2db17fbb95d ; affected 7d272e63e0979d38a6256108adbe462d621c26c5 < 846992645b25ec4253167e3f931e4597eb84af56
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.15.192 ≤ 5.15.* ; unaffected 6.1.142 ≤ 6.1.* ; unaffected 6.6.94 ≤ 6.6.* ; unaffected 6.12.34 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD