# CVE-2025-40175: idpf: cleanup remaining SKBs in PTP flows

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-11-12T10:53:50.166Z
- Modified: 2026-10-19T21:10:00.160Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)

## References

- <https://git.kernel.org/stable/c/2c84e91ef831d4fedb0b94670b3cfd1cc5f966a5>
- <https://git.kernel.org/stable/c/a3f8c0a273120fd2638f03403e786c3de2382e72>

## Sources

- CVE List: [CVE-2025-40175](https://www.cve.org/CVERecord?id=CVE-2025-40175), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40175](https://nvd.nist.gov/vuln/detail/CVE-2025-40175), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40175 · Whole record: https://cve.day/CVE-2025-40175.json · Rebuilt by cve.day 2026-11-25T22:59:07.566Z
