CVE-2026-98224

Source
https://cve.org/CVERecord?id=CVE-2026-98224
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98224.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98224
Downstream
Published
2026-10-06T08:44:59Z
Modified
2026-10-08T02:52:54Z
Summary
mm/vma: correctly unaccount on mmap_prepare() failure
Details

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

mm/vma: correctly unaccount on mmap_prepare() failure

__mmap_setup() accounts memory for relevant mappings via:

security_vm_enough_memory_mm() -> __vm_enough_memory() -> vm_acct_memory()

If __mmap_setup() fails, this indicates that this accounting did not take place, and thus it's appropriate for __mmap_region() to jump to abort_munmap.

However if call_mmap_prepare() fails, it also jumps there and any accounted memory is not correctly unaccounted.

Fix this by handling each error separately.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98224.json"
}
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
c84bf6dd2b836b49bb2662668ff1692350d28236
Fixed
fb5400bff669c8bad3d4ec09287d9b461e89e5f1
Fixed
8fdc521d438fbf0d22c13d51d55d5dd82d7202b2
Fixed
6cc27d82196385fe06853319f74312a7d8019726

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.18.54
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.8

Database specific

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