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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-23T12:11:46.041Z
- **Modified:** 2026-10-30T13:21:32.003Z

## Who should check

- Anyone running Linux \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< f84eb9b7b0feeb267a174237d70a857042ce0158; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< beda3c9730ad3087d01aa1d0415c40942042ec87; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 00dc50cede96738dadc64b20e671186cddb8a58d; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 2838d7bbb551861c25187dfb581ed6e7a56762e9; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 0ee5c5d804d592a8328a425b9274487d393d3a05
- Anyone running Linux 5.0

## 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 and fixed versions

- Linux: \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< f84eb9b7b0feeb267a174237d70a857042ce0158; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< beda3c9730ad3087d01aa1d0415c40942042ec87; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 00dc50cede96738dadc64b20e671186cddb8a58d; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 2838d7bbb551861c25187dfb581ed6e7a56762e9; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 0ee5c5d804d592a8328a425b9274487d393d3a05 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 0ee5c5d804d592a8328a425b9274487d393d3a05 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98935. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98935.md
Affected: Linux >= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, < f84eb9b7b0feeb267a174237d70a857042ce0158; >= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, < a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb; >= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, < beda3c9730ad3087d01aa1d0415c40942042ec87; >= 36e14f5fdfdf7cec8887b7f…
Fixed in: Linux 00dc50cede96738dadc64b20e671186cddb8a58d, Linux 2838d7bbb551861c25187dfb581ed6e7a56762e9, Linux 0ee5c5d804d592a8328a425b9274487d393d3a05

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98935 being exploited?

There is no confirmed exploitation: CVE-2026-98935 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98935?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98935?

Linux \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< f84eb9b7b0feeb267a174237d70a857042ce0158; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< beda3c9730ad3087d01aa1d0415c40942042ec87; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 00dc50cede96738dadc64b20e671186cddb8a58d; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 2838d7bbb551861c25187dfb581ed6e7a56762e9; \>= 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62, \< 0ee5c5d804d592a8328a425b9274487d393d3a05; Linux 5.0.

### Is there a fix for CVE-2026-98935?

Yes. Fixed in Linux 00dc50cede96738dadc64b20e671186cddb8a58d, Linux 2838d7bbb551861c25187dfb581ed6e7a56762e9, Linux 0ee5c5d804d592a8328a425b9274487d393d3a05. Upgrade Linux to 0ee5c5d804d592a8328a425b9274487d393d3a05 or later.

### How do I check if I'm affected by CVE-2026-98935?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98935>

HTML: <https://flawdb.com/CVE-2026-98935> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98935>
