CVE-2026-72412

Source
https://cve.org/CVERecord?id=CVE-2026-72412
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72412.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72412
Downstream
Published
2026-08-15T05:56:34.165Z
Modified
2026-08-16T03:48:53.784278375Z
Summary
s390/mm: Fix handling of _PAGE_UNUSED pte bit
Details

In the Linux kernel, the following vulnerability has been resolved:

s390/mm: Fix handling of PAGEUNUSED pte bit

The PAGEUNUSED softbit should not really be lying around. Its sole purpose is to signal to trytounmapone() and trytomigrateone() that the page can be discarded instead of being moved / swapped.

KVM has no way to know why a page is being unmapped, so it sets the bit on userspace ptes corresponding to unused guest pages every time they get unmapped. KVM has no reasonable way to clear the bit once the page is in use again.

While set_ptes() checks and clears the bit, other paths that set new ptes did not. This led to used pages being thrown out as if they were unused, causing guest corruption.

Fix the issue by clearing the PAGEUNUSED bit for present ptes in setpte(), i.e. whenever a present pte is getting set. The check in setptes() is then redundant and can be removed.

Also fix gmaphelpertrysetpte_unused() to only set the bit if the pte is present; the PAGEUNUSED bit is only defined for present ptes and thus should not be set for non-present ptes.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72412.json",
    "cna_assigner": "Linux"
}
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
c98175b7917fa81cd499b1527c4a57fd7d36711e
Fixed
fda07c8e4b54b9105f1ca73f0adea7b244d405f4
Fixed
d4bb00704a66024502261fa7a523c07420249fea

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.0.0
Fixed
7.1.5

Database specific

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