Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792758259; b=V033rRr2EqAjQSi7Xy4TOer/gpOQYZpKJKYUaDgj0SEic1V8Bfag65g9yPqgQ3xuG/MS 7fwK5iRaOGUdmMu5pHye/uf7u3szseGDqp8Ioar907uqBhX822V+I3GeBOUfDOacx0XOO yEwqsfI+bORxdtPGfcc+PcEK4XbAnY3sBfROBS+BO7rgF3yOOZWzN92wCjnRPTG6utLY6 3m9N7w2zywKiYXUahgeTHv7hMECXknilPWOAWL9zulLMgKKQrdJ6HlVdCEKN3Q5siWGzu 5oidH8KFLtYCqYEFGxXQfhHK5TzkaklVXXs47ZZYzQe01d0I9a9Ch5i2Lyn1TaUJmvg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758259; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=2DeglsaAA12JmMIghPy6F9/U7BpIteAhipjMtkp6cOA=; b=kDlpDV2zlvAz2GCSLUrdu9JR8U2bNufyGgjNcwwWrRAiGAn4MQ2kKQPuceDScC1kRu34 JJTHXl/p+dCc9n+COjgoA9hmFhbY82uO1QmdiEUyaW4r1frKjDO2kwrBCSBDv9uBTnTgv s0XNcL7NiRDPAApiJ9+rzYL1KmfXO5rlsoeHVZoXSOQeYjLKCJOE5bVyPLcII2hk/rJzL 2UYjSu++48X8cIXIhUGUMT/cIjeH4YVTRPIuDSFg1rouZWqhNQmD86TBCLyl1Cpzo0LBB gj42bSHIQEaE+YlwyxQ7r0Pc3frSI4OWvqp5cIn/xzarCEfS1QldzaRa4IFMfn/nC2A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=v+Ly0spx; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 737F4606A31A for ; Fri, 23 Oct 2026 12:24:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=v+Ly0spx Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94F461F01825; Fri, 23 Oct 2026 12:24:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758259; bh=2DeglsaAA12JmMIghPy6F9/U7BpIteAhipjMtkp6cOA=; h=From:To:Cc:Subject:Date:Reply-To; b=v+Ly0spxqtPTt0Kpmu3e7bTx9i/B1PSzkLk4JpbXH35cu1EdcK42m+2Ee6lfs8mTn SdOPAH/nKttZBkH7iSXfir8uyVz19dMLaK0uM5NeCkdMsdtDB1dywhK4RPu9N0ddPE GvtKLGUdRKwaYj/C6NM5j19qz2M++UGf4CXSo/Bw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98935: rtc: dev: zero-initialize struct rtc_wkalrm to prevent information leak Date: Fri, 23 Oct 2026 14:11:42 +0200 Message-ID: <2026102338-CVE-2026-98935-7309@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2893; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SFDGljx0Sy7ZWVEq85IZ2KC369Fph2hy41ejL2uZ7qI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3/X5VGMSrdd6fWnFn0lOdKyJ9yqt7SqdMuPlTtIH74 Ml5jQnuHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR9ZsYFjRXf9l/LOOthLjH e3V+x56MrZFTKxnmV+/0ZLUuU+x48P9Lc+Fl8ynGB8rWAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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') The Linux kernel CVE team has assigned CVE-2026-98935 to this issue. Affected and fixed versions =========================== Issue introduced in 5.0 with commit 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 and fixed in 6.6.160 with commit a2215eb3cbbd3d9d73cc18c08e3ef53f903443cb Issue introduced in 5.0 with commit 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 and fixed in 6.12.113 with commit beda3c9730ad3087d01aa1d0415c40942042ec87 Issue introduced in 5.0 with commit 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 and fixed in 6.18.56 with commit 00dc50cede96738dadc64b20e671186cddb8a58d Issue introduced in 5.0 with commit 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 and fixed in 7.2.10 with commit 2838d7bbb551861c25187dfb581ed6e7a56762e9 Issue introduced in 5.0 with commit 36e14f5fdfdf7cec8887b7ff69cd9bb5051ecf62 and fixed in 7.3 with commit 0ee5c5d804d592a8328a425b9274487d393d3a05 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98935 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/rtc/dev.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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