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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.02% · P5
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux b843786b0bd01ced7fcdbf3b033d68db2f7c61b2 ~ 91b370800b3f2b3dda244c0ab06719c4971190a5 -
LinuxLinux 6.12 -

II. Public POCs for CVE-2025-39727

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-39727

No comments yet


Leave a comment