CVE-2026-53373

In the Linux kernel, the following vulnerability has been resolved: mm/vma: do not try to unmap a VMA if mmap_prepare() invoked from mmap() The mmap_prepare hook functionality includes the ability to invoke mmap_prepare() from the mmap() hook of existing 'stacked' drivers, that is ones which are capable of calling the mmap hooks of other drivers/file systems (e.g. overlayfs, shm). As part of the mmap_prepare action functionality, we deal with errors by unmapping the VMA should one arise. This works in the usual mmap_prepare case, as we invoke this action at the last moment, when the VMA is established in the maple tree. However, the mmap() hook passes a not-fully-established VMA pointer to the caller (which is the motivation behind the mmap_prepare() work), which is detached. So attempting to unmap a VMA in this state will be problematic, with the most obvious symptom being a warning in vma_mark_detached(), because the VMA is already detached. It's also unncessary - the mmap() handler will clean up the VMA on error. So to fix this issue, this patch propagates whether or not an mmap action is being completed via the compatibility layer or directly. If the former, then we do not attempt VMA cleanup, if the latter, then we do. This patch also updates the userland VMA tests to reflect the change.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*

History

29 Jul 2026, 16:55

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/5394bcb746503f2ae4b206212416dccea78e3773 - () https://git.kernel.org/stable/c/5394bcb746503f2ae4b206212416dccea78e3773 - Patch
References () https://git.kernel.org/stable/c/619eab23e1ce7c97e54bfc5a417306d94b3f6f13 - () https://git.kernel.org/stable/c/619eab23e1ce7c97e54bfc5a417306d94b3f6f13 - Patch
CWE NVD-CWE-noinfo

20 Jul 2026, 15:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

19 Jul 2026, 11:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-19 11:16

Updated : 2026-07-29 16:55


NVD link : CVE-2026-53373

Mitre link : CVE-2026-53373

CVE.ORG link : CVE-2026-53373


JSON object : View

Products Affected

linux

  • linux_kernel