CVE-2025-40175
JSON

Not scored

idpf: cleanup remaining SKBs in PTP flows

Severity
Not scored
Exploit likelihood
0.19% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: idpf: cleanup remaining SKBs in PTP flows When the driver requests Tx timestamp value, one of the first steps is to clone SKB using skb_get. It increases the reference counter for that SKB to prevent unexpected freeing by another component. However, there may be a case where the index is requested, SKB is assigned and never consumed by PTP flows - for example due to reset during running PTP apps. Add a check in release timestamping function to verify if the SKB assigned to Tx timestamp latch was freed, and release remaining SKBs.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4901e83a94ef0a8baf27916f31daf59b0a68547f before 2c84e91ef831d4fedb0b94670b3cfd1cc5f966a5, from 4901e83a94ef0a8baf27916f31daf59b0a68547f before a3f8c0a273120fd2638f03403e786c3de2382e72, 6.16
Not affected: before 6.16, from 6.17.5 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: idpf: cleanup remaining SKBs in PTP flows When the driver requests Tx timestamp value, one of the first steps is to clone SKB using skb_get. It increases the reference counter for that SKB to prevent unexpected freeing by another component. However, there may be a case where the index is requested, SKB is assigned and never consumed by PTP flows - for example due to reset during running PTP apps. Add a check in release timestamping function to verify if the SKB assigned to Tx timestamp latch was freed, and release remaining SKBs.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: idpf: limpieza de los SKB restantes en los flujos PTP Cuando el controlador solicita el valor de la marca de tiempo Tx, uno de los primeros pasos es clonar el SKB usando skb_get. Aumenta el contador de referencias para ese SKB para evitar la liberación inesperada por otro componente. Sin embargo, puede haber un caso en el que se solicita el índice, se asigna el SKB y nunca es consumido por los flujos PTP, por ejemplo, debido a un reinicio durante la ejecución de aplicaciones PTP. Añadir una comprobación en la función de liberación de marcas de tiempo para verificar si el SKB asignado al *latch* de la marca de tiempo Tx fue liberado, y liberar los SKB restantes.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40175 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40175 changed 2026-10-19Public domain