PT-2024-3365 · Linux+9 · Linux Kernel+9
David Hildenbrand
+1
·
Published
2024-03-06
·
Updated
2025-09-29
·
CVE-2024-26960
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue is related to a race condition between the
free swap and cache() function and the swapoff() function in the Linux kernel's memory management subsystem. This could potentially allow an attacker to cause a denial of service by accessing freed memory. The problem is theoretical and has not been proven with a test case, but it has been agreed upon through code review that it is possible. The fix involves using get swap device() and put swap device() to stall swapoff().Technical details about exploitation include:
- Function Names:
free swap and cache(),swapoff(),swap page trans huge swapped(),try to reclaim swap(),folio free swap(),delete from swap cache(),put swap folio(),free swap slot(),swapcache free entries(),swap entry free(), andswap range free(). - Variables:
si->inuse pages,count,nr entries.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu