CVE-2024-26832: mm: zswap: fix missing folio cleanup in writeback race path
Vulnerability summary
CVE-2024-26832 is a medium (CVSS 5.5) Incomplete Cleanup vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.8% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 12Timeline
- 17-04-2024PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: mm: zswap: fix missing folio cleanup in writeback race path In zswap_writeback_entry(), after we get a folio from __read_swap_cache_async(), we grab the tree lock again to check that the swap entry was not invalidated and recycled. If it was, we delete the folio we just added to the swap cache and exit. However, __read_swap_cache_async() returns the folio locked when it is newly allocated, which is always true for this path, and the folio is ref'd. Make sure to unlock and put the folio before returning. This was discovered by code inspection, probably because this path handles a race condition that should not happen often, and the bug would not crash the system, it will only strand the folio indefinitely.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu75 products
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
- linux-aws-5.19All versions (No fix recorded)
Linux2 products
- linux≥ 2cab13f500a6333bd2b853783ac76be9e4956f8a, < 14f1992430ef9e647b02aa8ca12c5bcb9a1dffea | ≥ 04fc7816089c5a32c29a04ec94b998e219dfb946, < 6156277d1b26cb3fdb6fcbf0686ab78268571644 | ≥ 04fc7816089c5a32c29a04ec94b998e219dfb946, < e2891c763aa2cff74dd6b5e978411ccf0cf94abe | ≥ 04fc7816089c5a32c29a04ec94b998e219dfb946, < e3b63e966cac0bf78aaa1efede1827a252815a1d | ba700ea13bf0105a4773c654f7d3bef8adb64ab2 | ≥ 6.1.30, < 6.1.80 | ≥ 6.3.4, < 6.4 | 6.4
- linux_kernelEOL≥ 6.1.30, < 6.1.80 | ≥ 6.4, < 6.6.19 | ≥ 6.7, < 6.7.7 | 6.3.4 | 6.8:rc1 | 6.8:rc2 | 6.8:rc3 | 6.8:rc4 | 6.8:rc5
Debian1 product
- linux< 6.1.82-1 | < 6.7.7-1
3 vendors · 78 products