CVE-2026-100022

rtc: pcf8563: pass the driver data to the alarm interrupt handler

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

rtc: pcf8563: pass the driver data to the alarm interrupt handler

pcf8563_irq() takes its dev_id as struct pcf8563, but probe still
registers the interrupt with the i2c client. The handler then takes the
regmap pointer from the wrong structure: the first alarm oopses, the
level-low INT is never acknowledged, and the interrupt gets disabled as
spurious.

Only an RTC that has an interrupt (client->irq > 0) reaches this path.

Analysis

AI-generated

Technical impact

The flaw stems from a mismatch between the data supplied to the device driver’s interrupt handler and the structure the handler expects. In the Linux kernel’s PCF8563 RTC driver, the interrupt registration still references the generic I2C client while the handler interprets its `dev_id` as a device‑specific structure. When an alarm fires, the handler pulls an internal register map pointer from the wrong data structure, causing an illegal memory access and a kernel oops. The result is a system‑wide crash that renders the device unavailable until reboot or a kernel patch is applied. This defect represents a local denial‑of‑service vulnerability caused by incorrect pointer handling (CWE‑665).

Affected Systems

This issue affects the Linux kernel’s RTC driver for the PCF8563 device. The advisory lists the Linux kernel as the impacted product, but no specific kernel versions are provided, so any build of the Linux kernel that incorporates the PCF8563 driver and enables alarm interrupt handling may be vulnerable.

Risk and Exploitability

EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog, but the impact—a kernel crash—makes it a severe local flaw. An attacker with the ability to configure an RTC alarm (or a privileged user who can trigger such an alarm) can actuate the interrupt and force the kernel to panic. The attack vector is therefore local; remote exploitation would require the attacker to influence local alarm configuration or gain device‑level control of the RTC. Consequently, the risk for embedded or IoT systems that rely on this RTC for timing features is high, while the likelihood of exploitation is uncertain without further metrics.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the patch for the PCF8563 RTC driver.
  • If an upgrade is not possible, disable the RTC alarm interrupt feature or remove any queued alarms that could trigger the interrupt.
  • Apply the patch from the kernel commit that fixes the `pcf8563_irq` dev_id mismatch and rebuild the kernel.

Generated by OpenCVE AI on November 30, 2026 at 15:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: rtc: pcf8563: pass the driver data to the alarm interrupt handler pcf8563_irq() takes its dev_id as struct pcf8563, but probe still registers the interrupt with the i2c client. The handler then takes the regmap pointer from the wrong structure: the first alarm oopses, the level-low INT is never acknowledged, and the interrupt gets disabled as spurious. Only an RTC that has an interrupt (client->irq > 0) reaches this path.
Title rtc: pcf8563: pass the driver data to the alarm interrupt handler
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM