CVE-2026-98935
Full vulnerability record from the local CVENow database.
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')
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-23 13:17:14.377000
Last modified
2026-10-30 13:21:32.003000
View original CVE JSON
{
"id": "CVE-2026-98935",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-23T13:17:14.377",
"lastModified": "2026-10-30T13:21:32.003",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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')"
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/rtc/dev.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62",
"lessThan": "f84eb9b7b0feeb267a174237d70a857042ce0158",
"versionType": "git",
"status": "affected"
},
{
"version": "36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62",
"lessThan": "a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb",
"versionType": "git",
"status": "affected"
},
{
"version": "36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62",
"lessThan": "beda3c9730ad3087d01aa1d0415c40942042ec87",
"versionType": "git",
"status": "affected"
},
{
"version": "36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62",
"lessThan": "00dc50cede96738dadc64b20e671186cddb8a58d",
"versionType": "git",
"status": "affected"
},
{
"version": "36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62",
"lessThan": "2838d7bbb551861c25187dfb581ed6e7a56762e9",
"versionType": "git",
"status": "affected"
},
{
"version": "36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62",
"lessThan": "0ee5c5d804d592a8328a425b9274487d393d3a05",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/rtc/dev.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.0",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.0",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.113",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.56",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.10",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/00dc50cede96738dadc64b20e671186cddb8a58d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/0ee5c5d804d592a8328a425b9274487d393d3a05",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2838d7bbb551861c25187dfb581ed6e7a56762e9",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/beda3c9730ad3087d01aa1d0415c40942042ec87",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/f84eb9b7b0feeb267a174237d70a857042ce0158",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}