# CVE-2026-98935: rtc: dev: zero-initialize struct rtc_wkalrm to prevent information leak

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-23T12:11:46.041Z
- Modified: 2026-10-30T13:21:32.003Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 before f84eb9b7b0feeb267a174237d70a857042ce0158; from 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 before a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb; from 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 before beda3c9730ad3087d01aa1d0415c40942042ec87; from 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 before 00dc50cede96738dadc64b20e671186cddb8a58d; from 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 before 2838d7bbb551861c25187dfb581ed6e7a56762e9; from 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 before 0ee5c5d804d592a8328a425b9274487d393d3a05; 5.0 (not affected: before 5.0; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/f84eb9b7b0feeb267a174237d70a857042ce0158>
- <https://git.kernel.org/stable/c/a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb>
- <https://git.kernel.org/stable/c/beda3c9730ad3087d01aa1d0415c40942042ec87>
- <https://git.kernel.org/stable/c/00dc50cede96738dadc64b20e671186cddb8a58d>
- <https://git.kernel.org/stable/c/2838d7bbb551861c25187dfb581ed6e7a56762e9>
- <https://git.kernel.org/stable/c/0ee5c5d804d592a8328a425b9274487d393d3a05>

## Sources

- CVE List: [CVE-2026-98935](https://www.cve.org/CVERecord?id=CVE-2026-98935), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98935](https://nvd.nist.gov/vuln/detail/CVE-2026-98935), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98935 · Whole record: https://cve.day/CVE-2026-98935.json · Rebuilt by cve.day 2026-11-25T22:59:46.915Z
