rtc: msc313: fix NULL deref in shared IRQ handler at probe
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-72424
PublishedIn 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-72424 · CVE overview and exploitation status
cve-program · CVE-2026-72424
- 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
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.