CVE-2026-80991: net: ravb: serialize PTP clock teardown

Published Sep 11, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net: ravb: serialize PTP clock teardown

ravbptpinterrupt() can race with ravbptpstop() and pass the clock to ptpclockevent() while ptpclockunregister() is freeing it. This can lead to a use-after-free.

Use READONCE() and WRITEONCE() for lockless access to the clock pointer. Atomically detach it with xchg() before disabling PTP interrupts, then synchronize all IRQs which can invoke ravbptpinterrupt() before unregistering the detached clock.

A handler which read the old pointer completes before the clock is unregistered, while later handlers read NULL and skip the event.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 11, 2026
CVE Published
via MITRE·07:42 PM
Data Sourced
via MITRE·07:42 PM
Description

Frequently Asked Questions

1

What conditions are required for this issue to occur?

A race must occur between ravb_ptp_interrupt() handling a PTP event and ravb_ptp_stop() tearing down the PTP clock. The interrupt handler must retain or use the clock pointer while ptp_clock_unregister() is freeing that clock.

2

Which systems are exposed?

Systems using the Linux kernel ravb network driver with PTP clock functionality are relevant. The provided information does not identify specific hardware models, kernel versions, or configuration defaults.

3

How does the fix prevent the use-after-free?

The fix atomically detaches the clock pointer with xchg() before PTP interrupts are disabled, then synchronizes IRQ handlers before unregistering the detached clock. Interrupt handlers that run afterward read a NULL pointer and do not submit an event for the freed clock.

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