CVE-2026-138830

Source
https://cve.org/CVERecord?id=CVE-2026-138830
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138830.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138830
Downstream
Published
2026-11-30T13:25:22Z
Modified
2026-11-30T15:01:00Z
Summary
mm/shmem: don't release a swapin-error marker as a swap entry
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138830.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ac2d3268284ba4e254e4ca346bf6d63fb8a17518
Fixed
b08ff965d67a083e23262a87738bab222150085f
Fixed
477c6e65a18a13b38b3036f65465bbcc9264b38f
Fixed
e4b92891aaca0d37b5973362dd14747a65406650

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138830.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138830.json"