Skip to contentSkip to conversation

CVE-2026-93132: ACPI: RISC-V: Fix riscv_acpi_add_prt_dep() loop handling

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

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

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

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

ACPI: RISC-V: Fix riscv_acpi_add_prt_dep() loop handling

The loop in riscv_acpi_add_prt_dep() includes error conditions that are handled in a dubious - if not outright wrong - way, by continuining the loop (which skips and misses the entry pointer update to point to the next entry).

Rewrite the loop as a for loop (that handles the continuation correctly) and wrap the condition and update statements using helper functions to make it cleaner.

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

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

	Issue introduced in 6.12 with commit 1b173cc4bfcdcf4a49927952ba3a445c5b293723 and fixed in 6.12.110 with commit 41652ca8c6ff2b77b9780cbbb2f20f1551b9ff80
	Issue introduced in 6.12 with commit 1b173cc4bfcdcf4a49927952ba3a445c5b293723 and fixed in 6.18.52 with commit c9729ced165d6c5b57d99141b6632bb8711efec9
	Issue introduced in 6.12 with commit 1b173cc4bfcdcf4a49927952ba3a445c5b293723 and fixed in 7.2.6 with commit 3fd86a5d6facb6618f63a76d499f28007cef878f
	Issue introduced in 6.12 with commit 1b173cc4bfcdcf4a49927952ba3a445c5b293723 and fixed in 7.3-rc1 with commit 3a56321d0aceee2a0bd80d23366401c131ff8350

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

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/acpi/riscv/irq.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/41652ca8c6ff2b77b9780cbbb2f20f1551b9ff80
	https://git.kernel.org/stable/c/c9729ced165d6c5b57d99141b6632bb8711efec9
	https://git.kernel.org/stable/c/3fd86a5d6facb6618f63a76d499f28007cef878f
	https://git.kernel.org/stable/c/3a56321d0aceee2a0bd80d23366401c131ff8350