CVE-2026-99738
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 versions
Linux kernel versions
6.17
and later are affected. Fixed in
6.18.65,
7.3.5,
7.4-rc2
and their respective stable series.
References
3 totalFrequently asked questions
-
What is CVE-2026-99738?
CVE-2026-99738 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.17 onward and has been patched in 6.18.65, 7.3.5 and 7.4-rc2. CVE-2026-99738 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-99738?
Yes. CVE-2026-99738 has been patched. Fixed versions include 6.18.65, 7.3.5 and 7.4-rc2. If you are running Linux kernel 6.17 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-99738 actively exploited?
No. CVE-2026-99738 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.