CVE-2026-23211: mm, swap: restore swap_space attr aviod kernel panic
In the Linux kernel, the following vulnerability has been resolved:
mm, swap: restore swapspace attr aviod kernel panic
commit 8b47299a411a ("mm, swap: mark swap address space ro and add context debug check") made the swap address space read-only. It may lead to kernel panic if archpreparetoswap returns a failure under heavy memory pressure as follows,
el1abort+0x40/0x64 el1h64synchandler+0x48/0xcc el1h64sync+0x84/0x88 errseqset+0x4c/0xb8 (P) filemapsetwberr+0x20/0xd0 shrinkfoliolist+0xc20/0x11cc evictfolios+0x1520/0x1be4 trytoshrinklruvec+0x27c/0x3dc shrinkone+0x9c/0x228 shrinknode+0xb3c/0xeac dotrytofreepages+0x170/0x4f0 trytofreepages+0x334/0x534 allocpagesdirectreclaim+0x90/0x158 allocpagesslowpath+0x334/0x588 allocfrozenpagesnoprof+0x224/0x2fc folioallocnoprof+0x14/0x64 vmaalloczeroedmovablefolio+0x34/0x44 doptemissing+0xad4/0x1040 handlemmfault+0x4a4/0x790 dopagefault+0x288/0x5f8 dotranslationfault+0x38/0x54 domemabort+0x54/0xa8
Restore swap address space as not ro to avoid the panic.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23211?
CVE-2026-23211 is considered a high-severity vulnerability due to its potential to cause kernel panic.
How do I fix CVE-2026-23211?
To fix CVE-2026-23211, update your Linux kernel to the latest version that contains the patch addressing this vulnerability.
What systems are affected by CVE-2026-23211?
CVE-2026-23211 affects various distributions of the Linux kernel, particularly versions prior to the fix.
What are the potential impacts of CVE-2026-23211?
The potential impacts of CVE-2026-23211 include system instability and unexpected kernel panics.
Is CVE-2026-23211 publicly known?
Yes, CVE-2026-23211 is a publicly disclosed vulnerability and information is available regarding its characteristics.