Skip to contentSkip to conversation

CVE-2026-99653: mm: fix unkillable fault loop on MAP_DROPPABLE memory

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 20

lore
Share & tools
lore
#0 lore raw

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

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

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

mm: fix unkillable fault loop on MAP_DROPPABLE memory

handle_mm_fault() suppresses VM_FAULT_OOM for VM_DROPPABLE mappings.

For user-mode faults, pending signals are processed before retrying the access. Kernel-mode faults on user buffers instead return directly to the faulting instruction.

With persistent allocation failures (esp. memcg limits), a syscall, such as write(), can therefore loop while not dropping locks.

Only suppress VM_FAULT_OOM when FAULT_FLAG_USER is set, allowing kernel-mode faults and GUP to fail and signal allocation errors.

Fix generated by an LLM and sent by Chris Mason in private.

[ david: simplify description ]

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

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

	Issue introduced in 6.11 with commit 9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 and fixed in 6.12.118 with commit f8ed1ee3f590555be7cdbaeaa5b349eb9c95ba94
	Issue introduced in 6.11 with commit 9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 and fixed in 6.18.64 with commit 76ae1564e4c77d0ade4f533ac6de4fe1eb6d7e7f
	Issue introduced in 6.11 with commit 9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 and fixed in 7.3.5 with commit a9756f83b8a84b1f50c6af48aeabe9eb6429bcb1
	Issue introduced in 6.11 with commit 9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1 and fixed in 7.4-rc2 with commit 9f02ca8c15a74bc9e4e8e05ec089f63cb87cbf75

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

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:
mm/memory.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/f8ed1ee3f590555be7cdbaeaa5b349eb9c95ba94
	https://git.kernel.org/stable/c/76ae1564e4c77d0ade4f533ac6de4fe1eb6d7e7f
	https://git.kernel.org/stable/c/a9756f83b8a84b1f50c6af48aeabe9eb6429bcb1
	https://git.kernel.org/stable/c/9f02ca8c15a74bc9e4e8e05ec089f63cb87cbf75