CVE-2026-99736
mm/shmem: fix accounting of swapin-error markers
Mitigation
- Upgrade Linux to 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09 or later.
Who should check
- Anyone running Linux >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 00e3efd5d74d18447438edfd2532cd4100fd5756; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 5e09340badaf982a2cb73e41da715fcdd0e2eb7f; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 77ad4ac35977d081f2b69f1c73ae3b210124b1fc; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < f49d40a699bdaf68bbb307f1fa207512520ce982; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < d4bc03eaeef281c460370dfd57e1a671b787edd4; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09
- Anyone running Linux 5.19
Vulnerability facts
- Affected
- Linux >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 00e3efd5d74d18447438edfd2532cd4100fd5756; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 5e09340badaf982a2cb73e41da715fcdd0e2eb7f; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 77ad4ac35977d081f2b69f1c73ae3b210124b1fc; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < f49d40a699bdaf68bbb307f1fa207512520ce982; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < d4bc03eaeef281c460370dfd57e1a671b787edd4; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09; Linux 5.19
- Fixed in
- Linux 00e3efd5d74d18447438edfd2532cd4100fd5756, Linux 5e09340badaf982a2cb73e41da715fcdd0e2eb7f, Linux 77ad4ac35977d081f2b69f1c73ae3b210124b1fc, Linux 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09
- 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 4, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mm/shmem: fix accounting of swapin-error markers A failed swap read replaces the swap entry with a swapin-error marker in the page-cache and subtracts its pages from "alloced" and "swapped"; however, it leaves their block charge in place. Removing the marker during truncate then subtracts from "swapped" again. This can underflow the counters or make swapped reach zero while other pages remain swapped out, causing swapoff to loop without finding them. When installing the marker, subtract only from "swapped" and let shmem_recalc_inode() reduce "alloced" and release the block charge. Make shmem_free_swap() report successful removal separately from the number of swap pages freed, so removing a swapin-error marker does not subtract from "swapped" again. It's a bit confusing, but replacing a swapped out page by a swapin-error marker in shmem_set_folio_swapin_error() behaves as follows: Initially: alloced=1, swapped=1, nrpages=0 Calling shmem_recalc_inode(inode, 0, -1) -> swapped = 0 -> freed = 1 - 0 - 0 = 1 -> alloced -= freed -> alloced=0, swapped=0, block charge released
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 00e3efd5d74d18447438edfd2532cd4100fd5756; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 5e09340badaf982a2cb73e41da715fcdd0e2eb7f; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 77ad4ac35977d081f2b69f1c73ae3b210124b1fc; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < f49d40a699bdaf68bbb307f1fa207512520ce982; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < d4bc03eaeef281c460370dfd57e1a671b787edd4; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09 | — | cvelist |
| Linux | 5.19 | — | 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-99736. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99736.md Affected: Linux >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 00e3efd5d74d18447438edfd2532cd4100fd5756; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 5e09340badaf982a2cb73e41da715fcdd0e2eb7f; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 77ad4ac35977d081f2b69f1c73ae3b210124b1fc; >= 6cec2b95dadf77cdc1256fa… Fixed in: Linux 00e3efd5d74d18447438edfd2532cd4100fd5756, Linux 5e09340badaf982a2cb73e41da715fcdd0e2eb7f, Linux 77ad4ac35977d081f2b69f1c73ae3b210124b1fc, Linux 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09 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
Other
- https://git.kernel.org/stable/c/00e3efd5d74d18447438edfd2532cd4100fd5756
- https://git.kernel.org/stable/c/5e09340badaf982a2cb73e41da715fcdd0e2eb7f
- https://git.kernel.org/stable/c/77ad4ac35977d081f2b69f1c73ae3b210124b1fc
- https://git.kernel.org/stable/c/f49d40a699bdaf68bbb307f1fa207512520ce982
- https://git.kernel.org/stable/c/d4bc03eaeef281c460370dfd57e1a671b787edd4
- https://git.kernel.org/stable/c/66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09
FAQ
Is CVE-2026-99736 being exploited?
There is no confirmed exploitation: CVE-2026-99736 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-99736?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99736?
Linux >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 00e3efd5d74d18447438edfd2532cd4100fd5756; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 5e09340badaf982a2cb73e41da715fcdd0e2eb7f; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 77ad4ac35977d081f2b69f1c73ae3b210124b1fc; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < f49d40a699bdaf68bbb307f1fa207512520ce982; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < d4bc03eaeef281c460370dfd57e1a671b787edd4; >= 6cec2b95dadf77cdc1256fae1c5dfd4a2b467e61, < 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09; Linux 5.19.
Is there a fix for CVE-2026-99736?
Yes. Fixed in Linux 00e3efd5d74d18447438edfd2532cd4100fd5756, Linux 5e09340badaf982a2cb73e41da715fcdd0e2eb7f, Linux 77ad4ac35977d081f2b69f1c73ae3b210124b1fc, Linux 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09. Upgrade Linux to 66ce68a249f4ac56cd6968aa6d8ded20fb4b7d09 or later.
How do I check if I'm affected by CVE-2026-99736?
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 |