CVE-2025-39727
kernel: mm: swap: fix potential buffer overflow in setup_clusters()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 7, 2025
Updated · August 14, 2026
Description
A flaw was found in the Linux kernel's memory management (mm) swap component. A local attacker with low privileges could exploit a buffer overflow vulnerability in the setup_clusters() function. This issue arises from insufficient validation of page ranges, which could allow an attacker to write data beyond allocated memory boundaries. Successful exploitation could lead to a denial of service, information disclosure, or potentially privilege escalation.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')