CVE-2025-38148
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelfrom 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.3NVD
debian debian_linux11.0NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: phy: mscc: Se corrige la pérdida de memoria al usar el sellado de tiempo de un paso. Al ejecutar el sellado de tiempo de sincronización de un paso, el hardware está configurado para insertar la hora de transmisión en la trama, por lo que ya no hay razón para mantener el skb. Como en este caso, el hardware nunca generará una interrupción para indicar que la trama fue sellada, esta nunca se liberará. Se corrige liberando la trama en caso de sellado de tiempo de un paso.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38148 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-38148 changed 2026-11-05Public domain