# CVE-2026-23211: mm, swap: restore swap\_space attr aviod kernel panic

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-02-18T14:16:27.015Z
- **Modified:** 2026-06-17T10:21:06.563Z

## Who should check

- Anyone running Linux \>= 8b47299a411a178d572aaac31ff7ab33a8bd27e2, \< b0020cbd26380177b9fb8b7e75a8f7bdba79db20; \>= 8b47299a411a178d572aaac31ff7ab33a8bd27e2, \< a0f3c0845a4ff68d403c568266d17e9cc553e561
- Anyone running Linux 6.18

## Description

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

mm, swap: restore swap\_space 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 arch\_prepare\_to\_swap returns a failure under heavy memory
pressure as follows,

el1\_abort+0x40/0x64
el1h\_64\_sync\_handler+0x48/0xcc
el1h\_64\_sync+0x84/0x88
errseq\_set+0x4c/0xb8 (P)
\_\_filemap\_set\_wb\_err+0x20/0xd0
shrink\_folio\_list+0xc20/0x11cc
evict\_folios+0x1520/0x1be4
try\_to\_shrink\_lruvec+0x27c/0x3dc
shrink\_one+0x9c/0x228
shrink\_node+0xb3c/0xeac
do\_try\_to\_free\_pages+0x170/0x4f0
try\_to\_free\_pages+0x334/0x534
\_\_alloc\_pages\_direct\_reclaim+0x90/0x158
\_\_alloc\_pages\_slowpath+0x334/0x588
\_\_alloc\_frozen\_pages\_noprof+0x224/0x2fc
\_\_folio\_alloc\_noprof+0x14/0x64
vma\_alloc\_zeroed\_movable\_folio+0x34/0x44
do\_pte\_missing+0xad4/0x1040
handle\_mm\_fault+0x4a4/0x790
do\_page\_fault+0x288/0x5f8
do\_translation\_fault+0x38/0x54
do\_mem\_abort+0x54/0xa8

Restore swap address space as not ro to avoid the panic.

## Affected and fixed versions

- Linux: \>= 8b47299a411a178d572aaac31ff7ab33a8bd27e2, \< b0020cbd26380177b9fb8b7e75a8f7bdba79db20; \>= 8b47299a411a178d572aaac31ff7ab33a8bd27e2, \< a0f3c0845a4ff68d403c568266d17e9cc553e561 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23211. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23211.md
Affected: Linux >= 8b47299a411a178d572aaac31ff7ab33a8bd27e2, < b0020cbd26380177b9fb8b7e75a8f7bdba79db20; >= 8b47299a411a178d572aaac31ff7ab33a8bd27e2, < a0f3c0845a4ff68d403c568266d17e9cc553e561; Linux 6.18
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23211 being exploited?

There is no confirmed exploitation: CVE-2026-23211 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23211?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23211?

Linux \>= 8b47299a411a178d572aaac31ff7ab33a8bd27e2, \< b0020cbd26380177b9fb8b7e75a8f7bdba79db20; \>= 8b47299a411a178d572aaac31ff7ab33a8bd27e2, \< a0f3c0845a4ff68d403c568266d17e9cc553e561; Linux 6.18.

### Is there a fix for CVE-2026-23211?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-23211?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b0020cbd26380177b9fb8b7e75a8f7bdba79db20>
- patch: <https://git.kernel.org/stable/c/a0f3c0845a4ff68d403c568266d17e9cc553e561>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23211>

HTML: <https://flawdb.com/CVE-2026-23211> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23211>
