Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-98935

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

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 to < f84eb9b7b0feeb267a174237d70a857042ce0158affected
  • 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 to < a2215eb3cbbd3d9d73cc18c08e3ef53f903443cbaffected
  • 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 to < beda3c9730ad3087d01aa1d0415c40942042ec87affected
  • 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 to < 00dc50cede96738dadc64b20e671186cddb8a58daffected
  • 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 to < 2838d7bbb551861c25187dfb581ed6e7a56762e9affected
  • 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 to < 0ee5c5d804d592a8328a425b9274487d393d3a05affected

Linux Linux

Default version status: affected

  • 5.0affected
  • 0 to < 5.0unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.12.113 to ≤ 6.12.*unaffected
  • 6.18.56 to ≤ 6.18.*unaffected
  • 7.2.10 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References