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

Published Nov 12, 2025
·
Updated

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 skbget. 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 Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update the idpf PTP Tx timestamping flow to verify the SKB in the release timestamping function, increment its reference counter with skb_get before cloning it, and clean up remaining SKBs when assigned Tx timestamp latches are not consumed, including after a reset.

Event History

Nov 12, 2025
CVE Published
via MITRE·10:53 AM
Data Sourced
via MITRE·10:53 AM
Description
Data Sourced
via NVD·11:15 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-40175?

CVE-2025-40175 has been classified as a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2025-40175?

To fix CVE-2025-40175, ensure that you update the Linux kernel to the latest stable version where the vulnerability has been addressed.

3

What does CVE-2025-40175 affect?

CVE-2025-40175 affects specific networking features in the Linux kernel, particularly related to Time Protocol (PTP) flows.

4

Can CVE-2025-40175 be exploited remotely?

CVE-2025-40175 does not appear to allow for remote exploitation, but it could impact systems where the affected functionality is used.

5

Is there a workaround for CVE-2025-40175?

Currently, there are no documented workarounds for CVE-2025-40175, thus applying the kernel update is the recommended approach.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203