Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-39727— mm: swap: fix potential buffer overflow in setup_clusters()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未正确检查坏页范围,可能导致缓冲区溢出。

AI Predicted 7.8 Difficulty: Hard EPSS 0.18% · P7

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux b843786b0bd01ced7fcdbf3b033d68db2f7c61b2< 91b370800b3f2b3dda244c0ab06719c4971190a5 affected
b843786b0bd01ced7fcdbf3b033d68db2f7c61b2< 9b01ada580ee84fb319e7ecb5fb5b1f54a9eb799 affected
b843786b0bd01ced7fcdbf3b033d68db2f7c61b2< 815c528b13f2bb9b3130c13bedeabf2351a68129 affected
b843786b0bd01ced7fcdbf3b033d68db2f7c61b2< 152c1339dc13ad46f1b136e8693de15980750835 affected
6.12 affected
< 6.12 unaffected
6.12.42≤ 6.12.* unaffected
6.15.10≤ 6.15.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-39727

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mm: swap: fix potential buffer overflow in setup_clusters()
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未正确检查坏页范围,可能导致缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux b843786b0bd01ced7fcdbf3b033d68db2f7c61b2 ~ 91b370800b3f2b3dda244c0ab06719c4971190a5 -
Linux Linux 6.12 -

II. Public POCs for CVE-2025-39727

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-39727

请登录查看更多情报信息。

Same Patch Batch · Linux · 2025-09-07 · 7 CVEs total

CVE-2025-39732 7.8 HIGH wifi: ath11k: fix sleeping-in-atomic in ath11k_mac_op_set_bitrate_mask()
CVE-2025-39734 Revert "fs/ntfs3: Replace inode_trylock with inode_lock"
CVE-2025-39733 team: replace team lock with rtnl lock
CVE-2025-39731 f2fs: vm_unmap_ram() may be called from an invalid context
CVE-2025-39729 crypto: ccp - Fix dereferencing uninitialized error pointer
CVE-2025-39730 NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()

IV. Related Vulnerabilities

V. Comments for CVE-2025-39727

No comments yet


Leave a comment