CVE-2026-53373

Source
https://cve.org/CVERecord?id=CVE-2026-53373
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53373.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53373
Downstream
Published
2026-07-19T10:01:57.632Z
Modified
2026-07-22T05:30:11.703364593Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
mm/vma: do not try to unmap a VMA if mmap_prepare() invoked from mmap()
Details

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 mmapprepare hook functionality includes the ability to invoke mmapprepare() 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 mmapprepare action functionality, we deal with errors by unmapping the VMA should one arise. This works in the usual mmapprepare 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 vmamarkdetached(), 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53373.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ac0a3fc9c07df79dc8a4ce9d274df00afc7bf12d
Fixed
5394bcb746503f2ae4b206212416dccea78e3773
Fixed
619eab23e1ce7c97e54bfc5a417306d94b3f6f13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53373.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53373.json"