{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-39727","published":"2025-09-07T16:15:46.023000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-120"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.12","version_end_excluding":"6.12.42"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.15.10"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.16","version_end_excluding":"6.16.1"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-39727/","html_en":"/en/cve/CVE-2025-39727/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-39727","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-39727"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: swap: fix potential buffer overflow in setup_clusters()\n\nIn setup_swap_map(), we only ensure badpages are in range (0, last_page]. \nAs maxpages might be < last_page, setup_clusters() will encounter a buffer\noverflow when a badpage is >= maxpages.\n\nOnly call inc_cluster_info_page() for badpage which is < maxpages to fix\nthe issue.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/152c1339dc13ad46f1b136e8693de15980750835","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/815c528b13f2bb9b3130c13bedeabf2351a68129","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/91b370800b3f2b3dda244c0ab06719c4971190a5","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9b01ada580ee84fb319e7ecb5fb5b1f54a9eb799","tags":["Patch"]}]}}