{"id":"CVE-2025-40175","aliases":["CVE-2025-40175"],"related":[],"kind":"vulnerability","state":"published","title":"idpf: cleanup remaining SKBs in PTP flows","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nidpf: cleanup remaining SKBs in PTP flows\n\nWhen the driver requests Tx timestamp value, one of the first steps is\nto clone SKB using skb_get. It increases the reference counter for that\nSKB to prevent unexpected freeing by another component.\nHowever, there may be a case where the index is requested, SKB is\nassigned and never consumed by PTP flows - for example due to reset during\nrunning PTP apps.\n\nAdd a check in release timestamping function to verify if the SKB\nassigned to Tx timestamp latch was freed, and release remaining SKBs.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nidpf: cleanup remaining SKBs in PTP flows\n\nWhen the driver requests Tx timestamp value, one of the first steps is\nto clone SKB using skb_get. It increases the reference counter for that\nSKB to prevent unexpected freeing by another component.\nHowever, there may be a case where the index is requested, SKB is\nassigned and never consumed by PTP flows - for example due to reset during\nrunning PTP apps.\n\nAdd a check in release timestamping function to verify if the SKB\nassigned to Tx timestamp latch was freed, and release remaining SKBs.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nidpf: limpieza de los SKB restantes en los flujos PTP\n\nCuando 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.\nSin 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.\n\nAñ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.","source":"nvd"}],"published":"2025-11-12T10:53:50.166Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4901e83a94ef0a8baf27916f31daf59b0a68547f","fixed":"2c84e91ef831d4fedb0b94670b3cfd1cc5f966a5","status":"affected"},{"type":"git","introduced":"4901e83a94ef0a8baf27916f31daf59b0a68547f","fixed":"a3f8c0a273120fd2638f03403e786c3de2382e72","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.17.5","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2c84e91ef831d4fedb0b94670b3cfd1cc5f966a5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3f8c0a273120fd2638f03403e786c3de2382e72","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40175","url":"https://www.cve.org/CVERecord?id=CVE-2025-40175","licence":"CVE Terms of Use","modified":"2026-05-11T21:44:12.865Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40175","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40175","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.566Z","epss":{"score":0.00186,"percentile":0.08601,"date":"2026-12-01T12:00:22.000Z"}}