Skip to contentSkip to conversation

CVE-2026-43109: x86: shadow stacks: proper error handling for mmap lock

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

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: shadow stacks: proper error handling for mmap lock

김영민 reports that shstk_pop_sigframe() doesn't check for errors from mmap_read_lock_killable(), which is a silly oversight, and also shows that we haven't marked those functions with "__must_check", which would have immediately caught it.

So let's fix both issues.

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

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

	Fixed in 6.18.24 with commit c64cebcc5c4f223dbcbe7dcdf74908fc092a0aa4
	Fixed in 6.19.14 with commit 262b6d38a81d51b135db81e1f30c13d30e38feee
	Fixed in 7.0 with commit 52f657e34d7b21b47434d9d8b26fa7f6778b63a0

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

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/kernel/shstk.c
	include/linux/mmap_lock.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/c64cebcc5c4f223dbcbe7dcdf74908fc092a0aa4
	https://git.kernel.org/stable/c/262b6d38a81d51b135db81e1f30c13d30e38feee
	https://git.kernel.org/stable/c/52f657e34d7b21b47434d9d8b26fa7f6778b63a0