{"id":"CVE-2026-98935","summary":"rtc: dev: zero-initialize struct rtc_wkalrm to prevent information leak","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: dev: zero-initialize struct rtc_wkalrm to prevent information leak\n\nThe struct rtc_wkalrm has padding holes after the 'pending' member.\nWhen returned to userspace via the RTC_WKALRM_RD ioctl, uninitialized\nkernel stack data residing in these holes may be leaked.\n\nZero-initialize the struct at declaration to eliminate this information\nleak risk.\n\nFixes smatch warnings:\n- drivers/rtc/dev.c:392 rtc_dev_ioctl() warn: check that 'alarm' doesn't\n  leak information (struct has a hole after 'pending')","modified":"2026-11-04T14:27:32.144604695Z","published":"2026-10-23T12:11:46.041Z","related":["SUSE-SU-2026:5091-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98935.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/00dc50cede96738dadc64b20e671186cddb8a58d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ee5c5d804d592a8328a425b9274487d393d3a05"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2838d7bbb551861c25187dfb581ed6e7a56762e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/beda3c9730ad3087d01aa1d0415c40942042ec87"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f84eb9b7b0feeb267a174237d70a857042ce0158"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98935.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98935"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62"},{"fixed":"f84eb9b7b0feeb267a174237d70a857042ce0158"},{"fixed":"a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb"},{"fixed":"beda3c9730ad3087d01aa1d0415c40942042ec87"},{"fixed":"00dc50cede96738dadc64b20e671186cddb8a58d"},{"fixed":"2838d7bbb551861c25187dfb581ed6e7a56762e9"},{"fixed":"0ee5c5d804d592a8328a425b9274487d393d3a05"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98935.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98935.json"}}],"schema_version":"1.9.2"}