CVE-2026-138830
publishedmm/shmem: don't release a swapin-error marker as a swap entry
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxac2d3268284ba4e254e4ca346bf6d63fb8a17518 to < b08ff965d67a083e23262a87738bab222150085f · ac2d3268284ba4e254e4ca346bf6d63fb8a17518 to < 477c6e65a18a13b38b3036f65465bbcc9264b38f · ac2d3268284ba4e254e4ca346bf6d63fb8a17518 to < e4b92891aaca0d37b5973362dd14747a65406650 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ac2d3268284ba4e254e4ca346bf6d63fb8a17518 to < b08ff965d67a083e23262a87738bab222150085f (affected · git)ac2d3268284ba4e254e4ca346bf6d63fb8a17518 to < 477c6e65a18a13b38b3036f65465bbcc9264b38f (affected · git)ac2d3268284ba4e254e4ca346bf6d63fb8a17518 to < e4b92891aaca0d37b5973362dd14747a65406650 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
mm/shmem: don't release a swapin-error marker as a swap entry
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e0ff1a9a88b79c1d446442fa84e5e65a5d1051b305e66502a52562100836c476
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record