PT-2024-21502 · Linux+8 · Linux Kernel+8

Huang

+1

·

Published

2024-04-03

·

Updated

2026-05-26

·

CVE-2024-26759

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 versions prior to 6.8
Description A race condition in the Linux kernel's swap cache can cause data corruption when two or more threads swap in the same entry at the same time. This can lead to a stalled page being installed into the page table, resulting in data loss. The issue is triggered when multiple threads swap in the same entry simultaneously, causing the pte same check to pass even though the page has been modified. This can happen when using a small swap device and multiple threads are updating mapped pages in opposite directions. A reproducer has been created to demonstrate this issue, which can cause data loss at a rate of about once every 5 minutes.
Recommendations To resolve this issue, update the Linux kernel to version 6.8 or later, which includes the fix for this vulnerability. If updating is not possible, consider disabling the swap cache or restricting its use to minimize the risk of exploitation. Additionally, avoid using small swap devices and limit the number of threads that can swap in the same entry simultaneously.

Exploit

Fix

DoS

Memory Corruption

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:4211
ALSA-2024:4352
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
AZL-58780
BDU:2025-13311
CESA-2024_4211
CESA-2024_4352
CVE-2024-26759
DSA-5658-1
INFSA-2024_4211
INFSA-2024_4352
INFSA-2024_9315
OPENSUSE-SU-2024_3551-1
OPENSUSE-SU-2024_3561-1
OPENSUSE-SU-2024_3564-1
OPENSUSE-SU-2024_3587-1
OPENSUSE-SU-2024_3592-1
RHSA-2024:4211
RHSA-2024:4352
RHSA-2024:9315
RHSA-2024_4211
RHSA-2024_4352
RHSA-2024_9315
RHSA-2025:2270
RLSA-2024:4211
RLSA-2024:4352
RXSA-2024:4211
SUSE-SU-2024:3551-1
SUSE-SU-2024:3553-1
SUSE-SU-2024:3561-1
SUSE-SU-2024:3564-1
SUSE-SU-2024:3569-1
SUSE-SU-2024:3587-1
SUSE-SU-2024:3592-1
SUSE-SU-2025:20073-1
SUSE-SU-2025:20077-1

Affected Products

Almalinux
Astra Linux
Centos
Debian
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse