CVE-2026-80991
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
In the Linux kernel, the following vulnerability has been resolved:
net: ravb: serialize PTP clock teardown
ravb_ptp_interrupt() can race with ravb_ptp_stop() and pass the clock to ptp_clock_event() while ptp_clock_unregister() is freeing it. This can lead to a use-after-free.
Use READ_ONCE() and WRITE_ONCE() for lockless access to the clock pointer. Atomically detach it with xchg() before disabling PTP interrupts, then synchronize all IRQs which can invoke ravb_ptp_interrupt() 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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 695acb5534a9e366efb47b40c7487fc56488b09b | affected |
| Linux | Linux | a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 67a82e6f886beed0de8f8da08bb767e68fba952d | affected |
| Linux | Linux | a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 66b50c31419e7946e9aa325a468ad9b64c961a25 | affected |
| Linux | Linux | a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 1cb9663789c5b7a12fcd419fcca6d6254c398252 | affected |
| Linux | Linux | 4.2 | affected |
| Linux | Linux | 0 < 4.2 | unaffected |
| Linux | Linux | 6.12.109 <= 6.12.* | unaffected |
| Linux | Linux | 6.18.50 <= 6.18.* | unaffected |
| Linux | Linux | 7.2.4 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/695acb5534a9e366efb47b40c7487fc56488b09b
- https://git.kernel.org/stable/c/67a82e6f886beed0de8f8da08bb767e68fba952d
- https://git.kernel.org/stable/c/66b50c31419e7946e9aa325a468ad9b64c961a25
- https://git.kernel.org/stable/c/1cb9663789c5b7a12fcd419fcca6d6254c398252
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.