CVE-2026-72424

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

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • be7d9c9161b9c76edeff15e79edc2f256568fe05 to before ece7b9ffde23e2ccd7567761ac27463ded43932cAffected
  • be7d9c9161b9c76edeff15e79edc2f256568fe05 to before 52c73b6992b46ed476590ed526faa033d4fbfc5dAffected
  • be7d9c9161b9c76edeff15e79edc2f256568fe05 to before bc1f61a9b97d65de21c2681bcf0b5b1392c58486Affected
  • be7d9c9161b9c76edeff15e79edc2f256568fe05 to before 1f6a4aec0d36647eb2f67cd69db22bd28cabe2cbAffected
  • be7d9c9161b9c76edeff15e79edc2f256568fe05 to before bb3e624808c981fe881cb79037be63e680ed7d38Affected
  • be7d9c9161b9c76edeff15e79edc2f256568fe05 to before a369f48be8de426a7d2bca18dbd46c2ad1138803Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.