CVE-2024-26832

Medium

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.

Package Linux Kernel
Published 2024-04-17
Last modified 2025-04-02
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-459

CVE-2024-26832 is classified as CWE-459

See CWE-459 on MITRE CWE for full details on this weakness type.

Affected versions

Linux kernel versions 6.1.30, 6.3.4, 6.4 and later are affected. Fixed in 6.1.80, 6.6.19, 6.7.7, 6.8 and their respective stable series.

Affected from
≥ 6.1.30 ≥ 6.3.4 ≥ 6.4
Fixed in
✓ 6.1.80 6.1.x ✓ 6.6.19 6.6.x ✓ 6.7.7 6.7.x ✓ 6.8

Frequently asked questions

  • What is CVE-2024-26832?

    CVE-2024-26832 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.1.30 onward and has been patched in 6.1.80, 6.6.19, 6.7.7 and others. CVE-2024-26832 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-26832?

    CVE-2024-26832 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-26832?

    Yes. CVE-2024-26832 has been patched. Fixed versions include 6.1.80, 6.6.19, 6.7.7 and others. If you are running Linux kernel 6.1.30 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-26832 actively exploited?

    No. CVE-2024-26832 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.