Shellfeed logo Shellfeed

CVE-2026-98935 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 12.0).

Details

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')

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 – f84eb9b7b0feeb267a174237d70a857042ce0158]
  • Linux Kernel [5.0.0 – 6.1.191] [6.2.0 – 6.6.160] [6.7.0 – 6.12.113] [6.13.0 – 6.18.56] [6.19.0 – 7.2.10]

References