CVE-2026-99738
mm/shmem: preserve allocation errors when swapping in large entries
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 265dfa2525817d3be437576505186beb623384bf; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 680afc486db200e7b08307cb28be4f90766afcff; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < f4ce23b1feef16d435aa1188b6c2a637a5373ed5
- Anyone running Linux 6.17
Vulnerability facts
- Affected
- Linux >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 265dfa2525817d3be437576505186beb623384bf; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 680afc486db200e7b08307cb28be4f90766afcff; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < f4ce23b1feef16d435aa1188b6c2a637a5373ed5; Linux 6.17
- Fixed in
- Linux 265dfa2525817d3be437576505186beb623384bf, Linux 680afc486db200e7b08307cb28be4f90766afcff
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm/shmem: preserve allocation errors when swapping in large entries shmem_swapin_folio() adjusts swap to the requested slot within a large swap entry before allocating a folio. If allocation or charging fails, the error path compares this adjusted value with the original entry still stored in the XArray in shmem_confirm_swap(). Unless the index is at the start of the entry, this turns -ENOMEM into -EEXIST even though nothing changed. The caller retries -EEXIST, so persistent allocation failures can leave the task spinning instead of returning the error. Restore swap to index_entry on allocation failure so the existing error path checks the original entry. This preserves the allocation error if the entry is unchanged and still retries if it changed concurrently.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 265dfa2525817d3be437576505186beb623384bf; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 680afc486db200e7b08307cb28be4f90766afcff; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < f4ce23b1feef16d435aa1188b6c2a637a5373ed5 | — | cvelist |
| Linux | 6.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99738. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99738.md Affected: Linux >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 265dfa2525817d3be437576505186beb623384bf; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 680afc486db200e7b08307cb28be4f90766afcff; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < f4ce23b1feef16d435aa1188b6c2a637a5373ed5; Linux 6.17 Fixed in: Linux 265dfa2525817d3be437576505186beb623384bf, Linux 680afc486db200e7b08307cb28be4f90766afcff 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.
Technologies
References
FAQ
Is CVE-2026-99738 being exploited?
There is no confirmed exploitation: CVE-2026-99738 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-26).
How serious is CVE-2026-99738?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99738?
Linux >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 265dfa2525817d3be437576505186beb623384bf; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 680afc486db200e7b08307cb28be4f90766afcff; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < f4ce23b1feef16d435aa1188b6c2a637a5373ed5; Linux 6.17.
Is there a fix for CVE-2026-99738?
Yes. Fixed in Linux 265dfa2525817d3be437576505186beb623384bf, Linux 680afc486db200e7b08307cb28be4f90766afcff. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99738?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |