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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-50199— mm/swapfile: skip HugeTLB pages for unuse_vma

AI Predicted 5.5 Difficulty: Moderate EPSS 0.22% · P13

Affected Version Matrix 16

VendorProductVersion RangeStatus
LinuxLinux0fe6e20b9c4c53b3e97096ee73a0857f60aad43f< ba7f982cdb37ff5a7739dec85d7325ea66fc1496affected
0fe6e20b9c4c53b3e97096ee73a0857f60aad43f< 417d5838ca73c6331ae2fe692fab6c25c00d9a0baffected
0fe6e20b9c4c53b3e97096ee73a0857f60aad43f< e41710f5a61aca9d6baaa8f53908a927dd9e7aa7affected
0fe6e20b9c4c53b3e97096ee73a0857f60aad43f< 6ec0fe3756f941f42f8c57156b8bdf2877b2ebafaffected
0fe6e20b9c4c53b3e97096ee73a0857f60aad43f< bed2b9037806c62166a0ef9a559a1e7e3e1275b8affected
0fe6e20b9c4c53b3e97096ee73a0857f60aad43f< eb66a833cdd2f7302ee05d05e0fa12a2ca32eb87affected
0fe6e20b9c4c53b3e97096ee73a0857f60aad43f< 7528c4fb1237512ee18049f852f014eba80bbe8daffected
2.6.36affected
… +8 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-50199

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/swapfile: skip HugeTLB pages for unuse_vma
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mm/swapfile: skip HugeTLB pages for unuse_vma I got a bad pud error and lost a 1GB HugeTLB when calling swapoff. The problem can be reproduced by the following steps: 1. Allocate an anonymous 1GB HugeTLB and some other anonymous memory. 2. Swapout the above anonymous memory. 3. run swapoff and we will get a bad pud error in kernel message: mm/pgtable-generic.c:42: bad pud 00000000743d215d(84000001400000e7) We can tell that pud_clear_bad is called by pud_none_or_clear_bad in unuse_pud_range() by ftrace. And therefore the HugeTLB pages will never be freed because we lost it from page table. We can skip HugeTLB pages for unuse_vma to fix it.
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存在安全漏洞,该漏洞源于对HugeTLB页面处理不当。
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 0fe6e20b9c4c53b3e97096ee73a0857f60aad43f ~ ba7f982cdb37ff5a7739dec85d7325ea66fc1496 -
LinuxLinux 2.6.36 -

II. Public POCs for CVE-2024-50199

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-50199

登录查看更多情报信息。

Patches & Fixes for CVE-2024-50199 (2)

Same Patch Batch · Linux · 2024-11-08 · 38 CVEs total

CVE-2024-502069.8 CRITICALnet: ethernet: mtk_eth_soc: fix memory corruption during fq dma init
CVE-2024-501858.2 HIGHmptcp: handle consistently DSS corruption
CVE-2024-501747.8 HIGHdrm/panthor: Fix race when converting group handle to group object
CVE-2024-502117.8 HIGHudf: refactor inode_bmap() to handle error
CVE-2024-502087.8 HIGHRDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages
CVE-2024-502077.8 HIGHring-buffer: Fix reader locking when changing the sub buffer order
CVE-2024-502037.8 HIGHbpf, arm64: Fix address emission with tag-based KASAN enabled
CVE-2024-502007.8 HIGHmaple_tree: correct tree corruption on spanning store
CVE-2024-501897.8 HIGHHID: amd_sfh: Switch to device-managed dmam_alloc_coherent()
CVE-2024-501887.8 HIGHnet: phy: dp83869: fix memory corruption when enabling fiber
CVE-2024-501877.8 HIGHdrm/vc4: Stop the active perfmon before being destroyed
CVE-2024-501867.8 HIGHnet: explicitly clear the sk pointer, when pf->create fails
CVE-2024-501737.8 HIGHdrm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()
CVE-2024-501757.8 HIGHmedia: qcom: camss: Remove use_count guard in stop_streaming
CVE-2024-501827.1 HIGHsecretmem: disable memfd_secret() if arch cannot set direct map
CVE-2024-501957.1 HIGHposix-clock: Fix missing timespec64 check in pc_clock_settime()
CVE-2024-50198iio: light: veml6030: fix IIO device retrieval from embedded device
CVE-2024-50210posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()
CVE-2024-50176remoteproc: k3-r5: Fix error handling when power-up failed
CVE-2024-50209RDMA/bnxt_re: Add a check for memory allocation

Showing top 20 of 38 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-50199

No comments yet


Leave a comment