rtc: msc313: fix NULL deref in shared IRQ handler at probe (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 12 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: rtc: msc313: fix NULL deref in shared IRQ handler at probe msc313_rtc_probe() calls devm_request_irq() with IRQF_SHARED and &pdev->dev as the cookie, but platform_set_drvdata() is only called later after the clock setup. With a shared IRQ line, another device on the same line can trigger the handler in that window. The handler does dev_get_drvdata() on the cookie, gets NULL, and dereferences priv->rtc_base in interrupt context. Pass priv as the cookie directly so the handler reads it from dev_id without the lookup, removing the dependency on probe order.
Références
- https://git.kernel.org/stable/c/ece7b9ffde23e2ccd7567761ac27463ded43932c
- https://git.kernel.org/stable/c/52c73b6992b46ed476590ed526faa033d4fbfc5d
- https://git.kernel.org/stable/c/bc1f61a9b97d65de21c2681bcf0b5b1392c58486
- https://git.kernel.org/stable/c/1f6a4aec0d36647eb2f67cd69db22bd28cabe2cb
- https://git.kernel.org/stable/c/bb3e624808c981fe881cb79037be63e680ed7d38
- https://git.kernel.org/stable/c/a369f48be8de426a7d2bca18dbd46c2ad1138803
Références européennes
- ENISA EUVD · EUVD-2026-59323
- GCVE · GCVE-0-2026-72424
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected be7d9c9161b9c76edeff15e79edc2f256568fe05 < ece7b9ffde23e2ccd7567761ac27463ded43932c ; affected be7d9c9161b9c76edeff15e79edc2f256568fe05 < 52c73b6992b46ed476590ed526faa033d4fbfc5d ; affected be7d9c9161b9c76edeff15e79edc2f256568fe05 < bc1f61a9b97d65de21c2681bcf0b5b1392c58486 ; affected be7d9c9161b9c76edeff15e79edc2f256568fe05 < 1f6a4aec0d36647eb2f67cd69db22bd28cabe2cb ; affected be7d9c9161b9c76edeff15e79edc2f256568fe05 < bb3e624808c981fe881cb79037be63e680ed7d38 ; affected be7d9c9161b9c76edeff15e79edc2f256568fe05 < a369f48be8de426a7d2bca18dbd46c2ad1138803 |
| Linux · Linux | affected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |