Skip to contentSkip to conversation

CVE-2026-93266: arm64: RSI: fix field-spanning write warning in attestation token init

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

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

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

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

arm64: RSI: fix field-spanning write warning in attestation token init

The challenge is passed in registers a1 through a8. However, copying to &regs.a1 makes FORTIFY treat the destination as the single a1 field, resulting in a field-spanning write warning. [1]

Overlay the SMCCC register structure with an RSI-specific argument layout and copy the challenge into an explicit 64-byte array. This keeps the existing a1-a8 argument encoding while giving the copy a correctly sized destination object.

[1]
memcpy: detected field-spanning write (size 64) of single field "&regs.a1" at ./arch/arm64/include/asm/rsi_cmds.h:119 (size 8)

WARNING: ./arch/arm64/include/asm/rsi_cmds.h:119 at rsi_attestation_token_init+0xdc/0xf8 [arm_cca_guest], CPU#0: cat/3314

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

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

	Issue introduced in 6.13 with commit b880a80011f56880f32bde47fc6af313359f926b and fixed in 6.18.52 with commit e505092cb200d430d5b8d8d3e926d45f29474ba3
	Issue introduced in 6.13 with commit b880a80011f56880f32bde47fc6af313359f926b and fixed in 7.2.6 with commit d29a8ee271da17b5e32d7a76a9c78d43f66447ca
	Issue introduced in 6.13 with commit b880a80011f56880f32bde47fc6af313359f926b and fixed in 7.3-rc1 with commit 221049874b6a78c7d87bc826581b0695cd338e2b

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

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/arm64/include/asm/rsi_cmds.h

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/e505092cb200d430d5b8d8d3e926d45f29474ba3
	https://git.kernel.org/stable/c/d29a8ee271da17b5e32d7a76a9c78d43f66447ca
	https://git.kernel.org/stable/c/221049874b6a78c7d87bc826581b0695cd338e2b