i2c: imx: Cancel hrtimer before clearing slave pointer (Linux Linux)

CVE-2026-74461
HIGH 8.4

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: i2c: imx: Cancel hrtimer before clearing slave pointer In i2c_imx_unreg_slave(), the slave pointer is set to NULL after disabling interrupts. However, a pending interrupt might already have started the hrtimer (i2c_imx_slave_timeout) before the pointer was cleared. If the hrtimer fires after i2c_imx->slave is set to NULL, the timer callback i2c_imx_slave_finish_op() will call i2c_imx_slave_event() with a NULL slave pointer, which results in a use-after-free / NULL pointer dereference. Fix by canceling the hrtimer and waiting for it to complete after disabling interrupts, before clearing the slave pointer.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/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 f7414cd6923fd7f78e57086fc964ba2dc25db5c1 < e3da77bdb4015051656bb472c295656bbea03b6f ; affected f7414cd6923fd7f78e57086fc964ba2dc25db5c1 < 470fe15fb3bb2eba6629be301ca7e991ee3cfb7e ; affected f7414cd6923fd7f78e57086fc964ba2dc25db5c1 < a8a1f9ac3d763e721586f15479ef9140b216ddf3 ; affected f7414cd6923fd7f78e57086fc964ba2dc25db5c1 < 753060f2b77ff2f386addbd3ecadb95b9f90cddd ; affected f7414cd6923fd7f78e57086fc964ba2dc25db5c1 < affd62f5719a78135b7441aa49c8cab3c3b5e838 ; affected f7414cd6923fd7f78e57086fc964ba2dc25db5c1 < dab4762ee7f3fd0a01980d5407ba48d0261d3bff
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.* ; unaffected 6.12.103 ≤ 6.12.*

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