Skip to main content
Mallory
MediumVulnerability

CVE-2024-26960: Linux kernel swapoff race in free_swap_and_cache()

Published May 1, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.5Medium · v3.1
EPSS0.26%11th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Debian ProjectLinux
IdentifiersCVE-2024-26960CWE-362 · Concurrent Execution using Shared…

CVE-2024-26960 is a race condition in the Linux kernel memory-management swap subsystem between free_swap_and_cache() and swapoff(). While free_swap_and_cache() is processing a swap entry, swapoff() can tear down the associated swap_info_struct. This can cause swap_page_trans_huge_swapped(), which is called by free_swap_and_cache(), to access freed swap_map memory. The upstream fix protects the operation with get_swap_device()/put_swap_device(), preventing swapoff() from completing teardown during the affected operation, and adds an equivalent check that the swap entry is not free within free_swap_and_cache().

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful triggering may result in a use-after-free access to swap_map memory during swap-page handling. The issue was identified through code review and described as theoretical; a reproducible test case was not available, so further consequences are not established.

Mitigation

If you can’t patch tonight, do this now.

Apply the applicable vendor kernel update. No separate workaround is described.

Remediation

Patch, then assume compromise.

Install a Linux kernel update containing the upstream fix for CVE-2024-26960. The fix uses get_swap_device()/put_swap_device() around the affected processing so swapoff() is stalled until the operation completes, and adds a swap-entry-free check directly in free_swap_and_cache(). For SUSE systems, install the updated kernel packages supplied in SUSE-2024-2203 through the applicable product update channel.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2024-26960 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2024-26960 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-26960?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2024-26960.
Is there a patch for CVE-2024-26960?
Install a Linux kernel update containing the upstream fix for CVE-2024-26960. The fix uses get_swap_device()/put_swap_device() around the affected processing so swapoff() is stalled until the operation completes, and adds a swap-entry-free check directly in free_swap_and_cache().
What products are affected by CVE-2024-26960?
Linux Kernel and Debian Project Debian Linux.
How severe is CVE-2024-26960?
CVE-2024-26960 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.26% (11th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.