Race condition in Linux kernel - CVE-2024-26759
Published: June 8, 2024 / Updated: May 13, 2025
Vulnerability identifier: #VU91479
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-26759
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a race condition within the swapcache_prepare() function in mm/swapfile.c, within the do_swap_page() and folio_unlock() functions in mm/memory.c. A local user can escalate privileges on the system.
How to mitigate CVE-2024-26759
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/2dedda77d4493f3e92e414b272bfa60f1f51ed95
- https://git.kernel.org/stable/c/305152314df82b22cf9b181f3dc5fc411002079a
- https://git.kernel.org/stable/c/d183a4631acfc7af955c02a02e739cec15f5234d
- https://git.kernel.org/stable/c/13ddaf26be324a7f951891ecd9ccd04466d27458
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.80
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.19
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.7.7
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.8