CVE-2026-72424
JSON

Not scored

rtc: msc313: fix NULL deref in shared IRQ handler at probe

Severity
Not scored
Exploit likelihood
0.17% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom be7d9c9161b9c76edeff15e79edc2f256568fe05 before ece7b9ffde23e2ccd7567761ac27463ded43932c, from be7d9c9161b9c76edeff15e79edc2f256568fe05 before 52c73b6992b46ed476590ed526faa033d4fbfc5d, from be7d9c9161b9c76edeff15e79edc2f256568fe05 before bc1f61a9b97d65de21c2681bcf0b5b1392c58486, from be7d9c9161b9c76edeff15e79edc2f256568fe05 before 1f6a4aec0d36647eb2f67cd69db22bd28cabe2cb, from be7d9c9161b9c76edeff15e79edc2f256568fe05 before bb3e624808c981fe881cb79037be63e680ed7d38, from be7d9c9161b9c76edeff15e79edc2f256568fe05 before a369f48be8de426a7d2bca18dbd46c2ad1138803, 5.16
Not affected: before 5.16, from 6.1.178 up to 6.1.*, from 6.6.145 up to 6.6.*, from 6.12.97 up to 6.12.*, from 6.18.40 up to 6.18.*, from 7.1.5 up to 7.1.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72424 changed 2026-08-17CVE Terms of Use
NVDCVE-2026-72424 changed 2026-08-17Public domain