CVE-2026-138830
Not scored
mm/shmem: don't release a swapin-error marker as a swap entry
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: mm/shmem: don't release a swapin-error marker as a swap entry A failed shmem swapin (eg, EIO) frees the swap slot and leaves a PTE_MARKER_POISONED entry in the page cache. On truncate or eviction shmem_free_swap() passes that marker to swap_put_entries_direct(), which warns because it is not a swap entry. There is nothing left to release either way. Skip the release for non-swap entries, as every other caller already does.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ac2d3268284ba4e254e4ca346bf6d63fb8a17518 before b08ff965d67a083e23262a87738bab222150085f, from ac2d3268284ba4e254e4ca346bf6d63fb8a17518 before 477c6e65a18a13b38b3036f65465bbcc9264b38f, from ac2d3268284ba4e254e4ca346bf6d63fb8a17518 before e4b92891aaca0d37b5973362dd14747a65406650, 6.15 Not affected: before 6.15, from 6.18.64 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138830 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138830 changed 2026-11-30 | Public domain |