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.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During initialization of the msc313 RTC driver in the Linux kernel, the probe function requests a shared IRQ but only associates driver data after setting up the clock. If another device sharing the same IRQ line triggers the handler before the driver data is established, the handler uses dev_get_drvdata and obtains a NULL pointer, then dereferences it in interrupt context. This null pointer dereference can crash the kernel, causing a denial of service. The weakness is a classical null pointer dereference (CWE‑476).

Affected Systems

The vulnerability affects any Linux kernel that includes the msc313 RTC driver and allows shared IRQ lines. The specific kernel versions are not enumerated in the advisory, so all releases containing the vulnerable probe sequence are potentially impacted.

Risk and Exploitability

The CVSS score is not listed in the advisory, and the EPSS score is unavailable, but the bug is exploitable via a concurrent device on the same IRQ line. Since it triggers inside the kernel interrupt context, an attacker with control over another device sharing the IRQ can induce a kernel panic. The vulnerability is not currently reported in CISA KEV. The attack vector is local and requires co‑existence with a device that can trigger the shared IRQ, making it less likely to be broadly exploitable but still serious in embedded or tightly coupled environments.

Generated by OpenCVE AI on August 15, 2026 at 11:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit passing priv directly as the IRQ cookie, eliminating the race
  • Verify that the kernel build includes the patched msc313 driver; if not, apply the upstream commit or backport the fix
  • If an immediate kernel update is not feasible, avoid using the msc313 RTC driver on hardware that shares its IRQ line with other devices, or reassign a dedicated IRQ if possible

Generated by OpenCVE AI on August 15, 2026 at 11:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title rtc: msc313: fix NULL deref in shared IRQ handler at probe
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T05:56:42.335Z

Reserved: 2026-08-09T03:40:39.928Z

Link: CVE-2026-72424

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:16.210

Modified: 2026-08-15T06:22:16.210

Link: CVE-2026-72424

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T12:00:05Z

Weaknesses