Race condition in Linux kernel



| Updated: 2025-05-13
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-26759
CWE-ID CWE-362
Exploitation vector Local
Public exploit N/A
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Race condition

EUVDB-ID: #VU91479

Risk: Low

CVSSv4.0: 5.9 [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 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Linux kernel: 6.1 - 6.8 rc5

CPE2.3 External links

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


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###