CVE-2025-39727
Last modified
CVE-2025-39727 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: mm: swap: fix potential buffer overflow in setup_clusters() In setup_swap_map(), we only ensure badpages are in range (0, last_page]. As maxpages might be < last_page, setup_clusters() will encounter a buffer overflow when a badpage is >= maxpages. Only call inc_cluster_info_page() for badpage which is < maxpages to fix the issue.. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mm: swap: fix potential buffer overflow in setup_clusters() In setup_swap_map(), we only ensure badpages are in range (0, last_page]. As maxpages might be < last_page, setup_clusters() will encounter a buffer overflow when a badpage is >= maxpages. Only call inc_cluster_info_page() for badpage which is < maxpages to fix the issue.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.12, < 6.12.42 |
| Linux | Linux Kernel | >= 6.13, < 6.15.10 |
| Linux | Linux Kernel | >= 6.16, < 6.16.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-39727?
How severe is CVE-2025-39727?
How do I fix CVE-2025-39727?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-39721In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39722In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39723In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39724In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39725In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39726In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-39728In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39729In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3973A vulnerability, which was classified as critical, was found…9.8
- CVE-2025-39730In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39731In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39732In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-39727?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
