net: ravb: serialize PTP clock teardown (Linux Linux)

CVE-2026-80991
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 0400b9c5608933289bcacc3886dd3e4f6b7695f1 ; affected a0d2f20650e81407d8e51ad2cbdc492861c74e9c < b917f37bfcce919a969d66a044580a95b11df31c ; affected a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 695acb5534a9e366efb47b40c7487fc56488b09b ; affected a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 67a82e6f886beed0de8f8da08bb767e68fba952d ; affected a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 66b50c31419e7946e9aa325a468ad9b64c961a25 ; affected a0d2f20650e81407d8e51ad2cbdc492861c74e9c < 1cb9663789c5b7a12fcd419fcca6d6254c398252
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD