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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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: 2026-09-11T19:42:48.187Z
- Modified: 2026-10-30T13:20:15.297Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from a0d2f20650e81407d8e51ad2cbdc492861c74e9c before 0400b9c5608933289bcacc3886dd3e4f6b7695f1; from a0d2f20650e81407d8e51ad2cbdc492861c74e9c before b917f37bfcce919a969d66a044580a95b11df31c; from a0d2f20650e81407d8e51ad2cbdc492861c74e9c before 695acb5534a9e366efb47b40c7487fc56488b09b; from a0d2f20650e81407d8e51ad2cbdc492861c74e9c before 67a82e6f886beed0de8f8da08bb767e68fba952d; from a0d2f20650e81407d8e51ad2cbdc492861c74e9c before 66b50c31419e7946e9aa325a468ad9b64c961a25; from a0d2f20650e81407d8e51ad2cbdc492861c74e9c before 1cb9663789c5b7a12fcd419fcca6d6254c398252; 4.2 (not affected: before 4.2; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/0400b9c5608933289bcacc3886dd3e4f6b7695f1>
- <https://git.kernel.org/stable/c/b917f37bfcce919a969d66a044580a95b11df31c>
- <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>

## Sources

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

---

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