# CVE-2026-98224: mm/vma: correctly unaccount on mmap\_prepare() failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-06T08:44:59.349Z
- **Modified:** 2026-10-19T10:18:23.160Z

## Who should check

- Anyone running Linux \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< fb5400bff669c8bad3d4ec09287d9b461e89e5f1; \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< 8fdc521d438fbf0d22c13d51d55d5dd82d7202b2; \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< 6cc27d82196385fe06853319f74312a7d8019726
- Anyone running Linux 6.16

## Description

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.

## Affected and fixed versions

- Linux: \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< fb5400bff669c8bad3d4ec09287d9b461e89e5f1; \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< 8fdc521d438fbf0d22c13d51d55d5dd82d7202b2; \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< 6cc27d82196385fe06853319f74312a7d8019726 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 6cc27d82196385fe06853319f74312a7d8019726 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98224. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98224.md
Affected: Linux >= c84bf6dd2b836b49bb2662668ff1692350d28236, < fb5400bff669c8bad3d4ec09287d9b461e89e5f1; >= c84bf6dd2b836b49bb2662668ff1692350d28236, < 8fdc521d438fbf0d22c13d51d55d5dd82d7202b2; >= c84bf6dd2b836b49bb2662668ff1692350d28236, < 6cc27d82196385fe06853319f74312a7d8019726; Linux 6.16
Fixed in: Linux 8fdc521d438fbf0d22c13d51d55d5dd82d7202b2, Linux 6cc27d82196385fe06853319f74312a7d8019726

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98224 being exploited?

There is no confirmed exploitation: CVE-2026-98224 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98224?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98224?

Linux \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< fb5400bff669c8bad3d4ec09287d9b461e89e5f1; \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< 8fdc521d438fbf0d22c13d51d55d5dd82d7202b2; \>= c84bf6dd2b836b49bb2662668ff1692350d28236, \< 6cc27d82196385fe06853319f74312a7d8019726; Linux 6.16.

### Is there a fix for CVE-2026-98224?

Yes. Fixed in Linux 8fdc521d438fbf0d22c13d51d55d5dd82d7202b2, Linux 6cc27d82196385fe06853319f74312a7d8019726. Upgrade Linux to 6cc27d82196385fe06853319f74312a7d8019726 or later.

### How do I check if I'm affected by CVE-2026-98224?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/fb5400bff669c8bad3d4ec09287d9b461e89e5f1>
- other: <https://git.kernel.org/stable/c/8fdc521d438fbf0d22c13d51d55d5dd82d7202b2>
- other: <https://git.kernel.org/stable/c/6cc27d82196385fe06853319f74312a7d8019726>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98224>

HTML: <https://flawdb.com/CVE-2026-98224> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98224>
