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

VectorAV: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(), and swap 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

ALSA-2024:5101
ALSA-2024:5102
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-03637
CESA-2024_5101
CESA-2024_5102
CVE-2024-26960
DLA-3842-1
DSA-5681-1
INFSA-2024_5101
INFSA-2024_5102
INFSA-2024_9315
LSN-0107-1
LSN-0108-1
OESA-2024-1677
OESA-2024-1678
OESA-2024-1737
OESA-2024-1738
OPENSUSE-SU-2024_1644-1
OPENSUSE-SU-2024_1659-1
OPENSUSE-SU-2024_1663-1
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024:9315
RHSA-2024_5101
RHSA-2024_5102
RHSA-2024_9315
RHSA-2025:1658
RLSA-2024:5101
RLSA-2024:5102
RXSA-2024:5101
SUSE-SU-2024:1644-1
SUSE-SU-2024:1659-1
SUSE-SU-2024:1663-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6816-1
USN-6817-1
USN-6817-2
USN-6817-3
USN-6878-1
USN-6898-1
USN-6898-2
USN-6898-3
USN-6898-4
USN-6917-1
USN-6919-1
USN-6927-1
USN-7019-1
USN-7069-1
USN-7069-2
USN-7073-1
USN-7073-2
USN-7119-1

Affected Products

Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu