Skip to contentSkip to conversation

CVE-2026-45993: LoongArch: Add spectre boundry for syscall dispatch table

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

lore
Share & tools
lore
#0 lore raw

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

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

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

LoongArch: Add spectre boundry for syscall dispatch table

The LoongArch syscall number is directly controlled by userspace, but does not have a array_index_nospec() boundry to prevent access past the syscall function pointer tables.

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

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

	Fixed in 6.6.140 with commit 108f2cd13577a410c0ad6ea00708596d9d0dfc90
	Fixed in 6.12.86 with commit 07040904ad217545be096d4280ed33c02f6a3750
	Fixed in 6.18.27 with commit 85cbf7fb568af5358aae61925c4e66b8f5e1439d
	Fixed in 7.0.4 with commit bc84a109c2082dd0c4b38e8d923c046b41977533
	Fixed in 7.1-rc1 with commit 0c965d2784fbbd7f8e3b96d875c9cfdf7c00da3d

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

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/loongarch/kernel/syscall.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/108f2cd13577a410c0ad6ea00708596d9d0dfc90
	https://git.kernel.org/stable/c/07040904ad217545be096d4280ed33c02f6a3750
	https://git.kernel.org/stable/c/85cbf7fb568af5358aae61925c4e66b8f5e1439d
	https://git.kernel.org/stable/c/bc84a109c2082dd0c4b38e8d923c046b41977533
	https://git.kernel.org/stable/c/0c965d2784fbbd7f8e3b96d875c9cfdf7c00da3d