Description
In the Linux kernel, the following vulnerability has been resolved:

rtc: dev: zero-initialize struct rtc_wkalrm to prevent information leak

The struct rtc_wkalrm has padding holes after the 'pending' member.
When returned to userspace via the RTC_WKALRM_RD ioctl, uninitialized
kernel stack data residing in these holes may be leaked.

Zero-initialize the struct at declaration to eliminate this information
leak risk.

Fixes smatch warnings:
- drivers/rtc/dev.c:392 rtc_dev_ioctl() warn: check that 'alarm' doesn't
leak information (struct has a hole after 'pending')
Published: 2026-10-23
Score: n/a
EPSS: n/a
KEV: No
Impact: Information Leak
Action: Apply Patch
AI Analysis

Impact

The Linux kernel contains a flaw where the struct rtc_wkalrm includes padding after the 'pending' field that is not initialized. When the RTC_WKALRM_RD ioctl returns this structure to userspace, the padding can contain residual kernel‑stack data, allowing privileged code or an attacker with access to the ioctl to read sensitive memory contents, a capability inferred from the ioctl’s handling of the device. The primary impact is the potential disclosure of kernel or user data, which can be used for further exploitation or to compromise confidentiality.

Affected Systems

All Linux kernel versions that include the rtc_dev userspace ioctl and have not applied the patch shown in the linked commits are affected. Specific version numbers are not listed, so any kernel build lacking the zero‑initialization change is vulnerable.

Risk and Exploitability

The vulnerability relies on the RTC_WKALRM_RD ioctl, which typically requires root or CAP_SYS_TIME privileges—a requirement inferred from the ioctl’s nature and required capabilities. While no exploits are publicly documented and the EPSS score is not available, the existence of the kernel data leak presents a moderate risk for systems where privileged users can abuse the ioctl. The issue is not listed in the CISA KEV catalog, indicating no confirmed field‑deployed attacks yet, but the potential impact warrants prompt remediation.

Generated by OpenCVE AI on October 23, 2026 at 17:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the zero‑initialization patch for rtc_wkalrm. The referenced Git commits provide the necessary changes; apply the patch if upgrading is not immediately feasible.
  • Restrict access to the rtc device by setting appropriate permissions or controlling capabilities so that only trusted users can invoke the RTC_WKALRM_RD ioctl.
  • If an immediate kernel update or patch is not possible, monitor for any new exploits or advisories and consider disabling or removing the rtc device from the system until a fix is available.

Generated by OpenCVE AI on October 23, 2026 at 17:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200

Fri, 23 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: rtc: dev: zero-initialize struct rtc_wkalrm to prevent information leak The struct rtc_wkalrm has padding holes after the 'pending' member. When returned to userspace via the RTC_WKALRM_RD ioctl, uninitialized kernel stack data residing in these holes may be leaked. Zero-initialize the struct at declaration to eliminate this information leak risk. Fixes smatch warnings: - drivers/rtc/dev.c:392 rtc_dev_ioctl() warn: check that 'alarm' doesn't leak information (struct has a hole after 'pending')
Title rtc: dev: zero-initialize struct rtc_wkalrm to prevent information leak
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 Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T12:11:46.041Z

Reserved: 2026-09-25T10:25:14.381Z

Link: CVE-2026-98935

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:14.377

Modified: 2026-10-23T13:17:14.377

Link: CVE-2026-98935

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T17:30:17Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor