Skip to contentSkip to conversation

CVE-2026-23354: x86/fred: Correct speculative safety in fred_extint()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 25

lore
Share & tools
lore
#0 lore raw

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

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

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

x86/fred: Correct speculative safety in fred_extint()

array_index_nospec() is no use if the result gets spilled to the stack, as it makes the believed safe-under-speculation value subject to memory predictions.

For all practical purposes, this means array_index_nospec() must be used in the expression that accesses the array.

As the code currently stands, it's the wrong side of irqentry_enter(), and 'index' is put into %ebp across the function call.

Remove the index variable and reposition array_index_nospec(), so it's calculated immediately before the array access.

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

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

	Issue introduced in 6.9 with commit 14619d912b658ecd9573fb88400d3830a29cadcb and fixed in 6.12.77 with commit 3bc5887b0a2b06d2d9c22f1f4f8500490b3ae643
	Issue introduced in 6.9 with commit 14619d912b658ecd9573fb88400d3830a29cadcb and fixed in 6.18.17 with commit e58f1a9b0677de24dcfee0b21393446ec92ff120
	Issue introduced in 6.9 with commit 14619d912b658ecd9573fb88400d3830a29cadcb and fixed in 6.19.7 with commit 92caa5274b99cb6729177232a029ce0dfa6c5f7b
	Issue introduced in 6.9 with commit 14619d912b658ecd9573fb88400d3830a29cadcb and fixed in 7.0-rc2 with commit aa280a08e7d8fae58557acc345b36b3dc329d595

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

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:

	arch/x86/entry/entry_fred.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/3bc5887b0a2b06d2d9c22f1f4f8500490b3ae643
	https://git.kernel.org/stable/c/e58f1a9b0677de24dcfee0b21393446ec92ff120
	https://git.kernel.org/stable/c/92caa5274b99cb6729177232a029ce0dfa6c5f7b
	https://git.kernel.org/stable/c/aa280a08e7d8fae58557acc345b36b3dc329d595