{"id":"CVE-2026-138830","aliases":["CVE-2026-138830"],"related":[],"kind":"vulnerability","state":"published","title":"mm/shmem: don't release a swapin-error marker as a swap entry","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: don't release a swapin-error marker as a swap entry\n\nA failed shmem swapin (eg, EIO) frees the swap slot and leaves a\nPTE_MARKER_POISONED entry in the page cache.  On truncate or eviction\nshmem_free_swap() passes that marker to swap_put_entries_direct(), which\nwarns because it is not a swap entry.  There is nothing left to release\neither way.\n\nSkip the release for non-swap entries, as every other caller already does.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: don't release a swapin-error marker as a swap entry\n\nA failed shmem swapin (eg, EIO) frees the swap slot and leaves a\nPTE_MARKER_POISONED entry in the page cache.  On truncate or eviction\nshmem_free_swap() passes that marker to swap_put_entries_direct(), which\nwarns because it is not a swap entry.  There is nothing left to release\neither way.\n\nSkip the release for non-swap entries, as every other caller already does.","source":"cvelist"}],"published":"2026-11-30T13:25:22.927Z","modified":"2026-11-30T14:17:37.357Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ac2d3268284ba4e254e4ca346bf6d63fb8a17518","fixed":"b08ff965d67a083e23262a87738bab222150085f","status":"affected"},{"type":"git","introduced":"ac2d3268284ba4e254e4ca346bf6d63fb8a17518","fixed":"477c6e65a18a13b38b3036f65465bbcc9264b38f","status":"affected"},{"type":"git","introduced":"ac2d3268284ba4e254e4ca346bf6d63fb8a17518","fixed":"e4b92891aaca0d37b5973362dd14747a65406650","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b08ff965d67a083e23262a87738bab222150085f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/477c6e65a18a13b38b3036f65465bbcc9264b38f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4b92891aaca0d37b5973362dd14747a65406650","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138830","url":"https://www.cve.org/CVERecord?id=CVE-2026-138830","licence":"CVE Terms of Use","modified":"2026-11-30T13:25:22.927Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138830","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138830","licence":"Public domain","modified":"2026-11-30T14:17:37.357Z"}],"updatedAt":"2026-11-30T14:32:46.688Z","epss":{"score":0.00206,"percentile":0.11346,"date":"2026-12-01T12:00:22.000Z"}}