Vendors › Linux

CVE-2025-39727

N/A (no CVSS assigned) EPSS 0.3% Linux · mm

Linux kernel: mm: swap: fix potential buffer overflow in setup_clusters()

A vulnerability in the Linux kernel mm subsystem (mm/swapfile.c), assigned CVE-2025-39727. The issue was introduced in kernel 6.12 and is fixed in 6.12.42, 6.15.10, 6.16.1, 6.17. Updating to a fixed stable release resolves it.

Published2025-09-07
Updated2026-05-12
AffectedLinux kernel 6.12 and later, before the fix (fixed in 6.12.42, 6.15.10, 6.16.1, 6.17)
FixUpdate to kernel 6.12.42, 6.15.10, 6.16.1, 6.17 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2025-39727

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-39727CWE-120OverflowCode ExecutionNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.