Technical impact
The Linux kernel’s shmem_writeout() routine can release an inode from the page cache while still holding a reference to its folio. If zswap is enabled and swap_writeout() re‑activates the folio, the code may access the mapping and inode after they have been freed, creating a use‑after‑free error (CWE-416). A related race condition (CWE-362) can also occur if zswap writeback is disabled for a memory cgroup, allowing the same freed references to be used again. The result is kernel memory corruption, crashes, or a potential privilege escalation if an attacker can trigger the write‑out path.
Affected Systems
All Linux kernel builds that contain the unpatched mm/shmem implementation before the commit in the patch series are potentially affected. The advisory does not specify a version range, so any kernel where the shmem_writeout()/shmem_unuse logic remains unchanged is vulnerable.
Risk and Exploitability
No CVSS score is available for this entry, but the flaw operates in the core kernel memory manager and can lead to a severe state of unrecoverable failure. EPSS information is not available and the vulnerability is not listed in the CISA KEV catalog. It is inferred that exploitation would likely require local privileged access to trigger the writeout path and that a mitigation in the form of disabling zswap or setting memory.zswap.writeback to 1 can reduce the race. The lack of an EPSS score and current lack of public exploits suggest a moderate to high risk depending on the exposure of the affected kernel.