CVE-2026-31398 — Improper Preservation of Permissions in Linux
Severity
7.0HIGH
No vectorEPSS
0.0%
top 94.14%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 3
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/rmap: fix incorrect pte restoration for lazyfree folios
We batch unmap anonymous lazyfree folios by folio_unmap_pte_batch. If the
batch has a mix of writable and non-writable bits, we may end up setting
the entire batch writable. Fix this by respecting writable bit during
batching.
Although on a successful unmap of a lazyfree folio, the soft-dirty bit is
lost, preserve it on pte restoration by respecting the bit during
bat…
Affected Packages3 packages
▶CVEListV5linux/linux354dffd29575cdf13154e8fb787322354aa9efc4 — 99888a4f340ca8e839a0524556bd4db76d63f4e0+3
🔴Vulnerability Details
2GHSA▶
GHSA-pvqr-5pwq-xc53: In the Linux kernel, the following vulnerability has been resolved:
mm/rmap: fix incorrect pte restoration for lazyfree folios
We batch unmap anonym↗2026-04-03
OSV▶
CVE-2026-31398: In the Linux kernel, the following vulnerability has been resolved: mm/rmap: fix incorrect pte restoration for lazyfree folios We batch unmap anonymou↗2026-04-03
📋Vendor Advisories
2🕵️Threat Intelligence
1💬Community
1Bugzilla
▶