5.5

CVE-2024-26832: mm: zswap: fix missing folio cleanup in writeback race path

Analyzed
AliasesUBUNTU-CVE-2024-26832DEBIAN-CVE-2024-26832
Published 17-04-2024Last modified 23-05-2026

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.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 12

Timeline

  1. 17-04-2024
    PublishedVulnerability first disclosed.
  2. 23-05-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

8 links