CVE-2026-99738
Last modified
CVE-2026-99738 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 265dfa2525817d3be437576505186beb623384bf; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < 680afc486db200e7b08307cb28be4f90766afcff; >= 91ab656ece137c368a3189dfd42f8c9203a6285c, < f4ce23b1feef16d435aa1188b6c2a637a5373ed5 |
| Linux | Linux | 6.17 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99738?
How severe is CVE-2026-99738?
How do I fix CVE-2026-99738?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99732In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99733In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99734In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99735In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99736In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99737In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99739In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9974Out of bounds write in GPU in Google Chrome prior to 148.0.7…8.3
- CVE-2026-99740In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99741In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99742In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99743In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99738?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
