# CVE-2026-99737: mm/shmem: fix truncate loop after boundary swapin failure

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:51:10.519Z
- **Modified:** 2026-11-20T06:18:11.280Z

## Who should check

- Anyone running Linux \>= a99f9a4669a04662c8f9efe0e62cafc598153139, \< 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb; \>= b23bee8cdb7aabce5701a7f57414db5a354ae8ed, \< d4d46430852caf5e7dbca1386fc6621ecf8fe2b0; \>= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184, \< e6e9ba49679e5f33f62615fb57ec103045fbc8f9; \>= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184, \< 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67; \>= 6.12.69, \< 6.12.118; \>= 6.18.9, \< 6.18.64
- Anyone running Linux 6.19

## Description

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

mm/shmem: fix truncate loop after boundary swapin failure

If swapping in a large entry at the new EOF fails, shmem\_undo\_range()
leaves the entry in place. Its final scan skips the entry, then restarts
from the same start index and finds it again. Truncation can loop forever
while holding i\_rwsem.

Advance start past the skipped entry so that a restarted scan can finish,
as we already do for folios that cannot be split.

Note that this does not fix the missing zeroing when boundary swapin fails,
it merely prevents the endless loop.

## Affected and fixed versions

- Linux: \>= a99f9a4669a04662c8f9efe0e62cafc598153139, \< 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb; \>= b23bee8cdb7aabce5701a7f57414db5a354ae8ed, \< d4d46430852caf5e7dbca1386fc6621ecf8fe2b0; \>= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184, \< e6e9ba49679e5f33f62615fb57ec103045fbc8f9; \>= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184, \< 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67; \>= 6.12.69, \< 6.12.118; \>= 6.18.9, \< 6.18.64 (cvelist)
- Linux: 6.19 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.18.64 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-99737. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99737.md
Affected: Linux >= a99f9a4669a04662c8f9efe0e62cafc598153139, < 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb; >= b23bee8cdb7aabce5701a7f57414db5a354ae8ed, < d4d46430852caf5e7dbca1386fc6621ecf8fe2b0; >= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184, < e6e9ba49679e5f33f62615fb57ec103045fbc8f9; >= 8a1968bd997f45a9b11aefe…
Fixed in: Linux 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb, Linux 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67, Linux 6.12.118, Linux 6.18.64

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-99737 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= a99f9a4669a04662c8f9efe0e62cafc598153139, \< 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb; \>= b23bee8cdb7aabce5701a7f57414db5a354ae8ed, \< d4d46430852caf5e7dbca1386fc6621ecf8fe2b0; \>= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184, \< e6e9ba49679e5f33f62615fb57ec103045fbc8f9; \>= 8a1968bd997f45a9b11aefeabdd1232e1b6c7184, \< 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67; \>= 6.12.69, \< 6.12.118; \>= 6.18.9, \< 6.18.64; Linux 6.19.

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

Yes. Fixed in Linux 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb, Linux 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67, Linux 6.12.118, Linux 6.18.64. Upgrade Linux to 6.18.64 or later.

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

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/7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb>
- other: <https://git.kernel.org/stable/c/d4d46430852caf5e7dbca1386fc6621ecf8fe2b0>
- other: <https://git.kernel.org/stable/c/e6e9ba49679e5f33f62615fb57ec103045fbc8f9>
- other: <https://git.kernel.org/stable/c/5f1ec2cf92a7d655a8eb39711987822f9b1f9d67>

## 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-99737>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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