๐Ÿ” CVE Alert

CVE-2026-99738

UNKNOWN 0.0

mm/shmem: preserve allocation errors when swapping in large entries

CVSS Score
0.0
EPSS Score
0.2%
EPSS Percentile
5th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Nov 20, 2026
Last Updated Nov 23, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
91ab656ece137c368a3189dfd42f8c9203a6285c < 265dfa2525817d3be437576505186beb623384bf 91ab656ece137c368a3189dfd42f8c9203a6285c < 680afc486db200e7b08307cb28be4f90766afcff 91ab656ece137c368a3189dfd42f8c9203a6285c < f4ce23b1feef16d435aa1188b6c2a637a5373ed5
Linux / Linux
6.17

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/265dfa2525817d3be437576505186beb623384bf git.kernel.org: https://git.kernel.org/stable/c/680afc486db200e7b08307cb28be4f90766afcff git.kernel.org: https://git.kernel.org/stable/c/f4ce23b1feef16d435aa1188b6c2a637a5373ed5