What’s Vulnerable › Vulnerabilities
CVE-2025-40175: idpf: cleanup remaining SKBs in PTP flows
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-12 · updated 2026-10-19
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 products
- Linux kernel: 6.16 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2c84e91ef831d4fedb0b94670b3cfd1cc5f966a5
- https://git.kernel.org/stable/c/a3f8c0a273120fd2638f03403e786c3de2382e72
Get alerted when CVE-2025-40175 or the next vulnerability affects your stack