Skip to contentSkip to conversation

CVE-2026-98847: rtc: spear: initialize IRQ state before requesting alarm IRQ

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

rtc: spear: initialize IRQ state before requesting alarm IRQ

devm_request_irq() enables the interrupt before it returns, so the handler may run while probe is still initializing the device. Initialize the MMIO address and spinlock before requesting the alarm IRQ.

The Linux kernel CVE team has assigned CVE-2026-98847 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 3.0 with commit 0942a71e435f5198921e8f072540f208f0176542 and fixed in 6.12.113 with commit c02aa67ea34a826c2cb1aa65d77cf32fafb7eec3
	Issue introduced in 3.0 with commit 0942a71e435f5198921e8f072540f208f0176542 and fixed in 6.18.56 with commit e0cabda9b6f4dd276c55c40bdbb251e8507ae60e
	Issue introduced in 3.0 with commit 0942a71e435f5198921e8f072540f208f0176542 and fixed in 7.2.10 with commit cb6d6a7fbff0414b9eed505d17687b4b7e38fee8
	Issue introduced in 3.0 with commit 0942a71e435f5198921e8f072540f208f0176542 and fixed in 7.3-rc6 with commit 055ef5ce9f67a6a3a1363fa663007f8196cc0fb8

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-98847

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/rtc-spear.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/c02aa67ea34a826c2cb1aa65d77cf32fafb7eec3
	https://git.kernel.org/stable/c/e0cabda9b6f4dd276c55c40bdbb251e8507ae60e
	https://git.kernel.org/stable/c/cb6d6a7fbff0414b9eed505d17687b4b7e38fee8
	https://git.kernel.org/stable/c/055ef5ce9f67a6a3a1363fa663007f8196cc0fb8