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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-53113— mm: fix NULL pointer dereference in alloc_pages_bulk_noprof

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存在安全漏洞,该漏洞源于mm组件中alloc_pages_bulk_noprof函数在任务在cpusets间迁移时触发空指针解引用。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.25% · P16

Possible ATT&CK Techniques 1 AI

T1564.004 · NTFS File Attributes

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux 387ba26fb1cb9be9e35dc14a6d97188e916eda05< 903d896448c2e50e8652aaba529a30d4d1eaa0e5 affected
387ba26fb1cb9be9e35dc14a6d97188e916eda05< 6addb2d9501ec866d7b3a3b4e665307c437e9be2 affected
387ba26fb1cb9be9e35dc14a6d97188e916eda05< d0f16cec79774c3132df006cf771eddd89d08f58 affected
387ba26fb1cb9be9e35dc14a6d97188e916eda05< 31502374627ba9ec3e710dbd0bb00457cc6d2c19 affected
387ba26fb1cb9be9e35dc14a6d97188e916eda05< 8ce41b0f9d77cca074df25afd39b86e2ee3aa68e affected
5.13 affected
< 5.13 unaffected
5.15.174≤ 5.15.* unaffected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-53113

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: fix NULL pointer dereference in alloc_pages_bulk_noprof
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mm: fix NULL pointer dereference in alloc_pages_bulk_noprof We triggered a NULL pointer dereference for ac.preferred_zoneref->zone in alloc_pages_bulk_noprof() when the task is migrated between cpusets. When cpuset is enabled, in prepare_alloc_pages(), ac->nodemask may be &current->mems_allowed. when first_zones_zonelist() is called to find preferred_zoneref, the ac->nodemask may be modified concurrently if the task is migrated between different cpusets. Assuming we have 2 NUMA Node, when traversing Node1 in ac->zonelist, the nodemask is 2, and when traversing Node2 in ac->zonelist, the nodemask is 1. As a result, the ac->preferred_zoneref points to NULL zone. In alloc_pages_bulk_noprof(), for_each_zone_zonelist_nodemask() finds a allowable zone and calls zonelist_node_idx(ac.preferred_zoneref), leading to NULL pointer dereference. __alloc_pages_noprof() fixes this issue by checking NULL pointer in commit ea57485af8f4 ("mm, page_alloc: fix check for NULL preferred_zone") and commit df76cee6bbeb ("mm, page_alloc: remove redundant checks from alloc fastpath"). To fix it, check NULL pointer for preferred_zoneref->zone.
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存在安全漏洞,该漏洞源于mm组件中alloc_pages_bulk_noprof函数在任务在cpusets间迁移时触发空指针解引用。
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 387ba26fb1cb9be9e35dc14a6d97188e916eda05 ~ 903d896448c2e50e8652aaba529a30d4d1eaa0e5 -
Linux Linux 5.13 -

II. Public POCs for CVE-2024-53113

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-53113

登录查看更多情报信息。

Patches & Fixes for CVE-2024-53113 (5)

Same Patch Batch · Linux · 2024-12-02 · 22 CVEs total

CVE-2024-53103 7.8 HIGH hv_sock: Initializing vsk->trans to NULL to prevent a dangling pointer
CVE-2024-53121 7.8 HIGH net/mlx5: fs, lock FTE when checking if active
CVE-2024-53107 7.8 HIGH fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()
CVE-2024-53109 7.8 HIGH nommu: pass NULL argument to vma_iter_prealloc()
CVE-2024-53122 7.5 HIGH mptcp: cope racing subflow creation in mptcp_rcv_space_adjust
CVE-2024-53120 7.5 HIGH net/mlx5e: CT: Fix null-ptr-deref in add rule err flow
CVE-2024-53124 7.5 HIGH net: fix data-races around sk->sk_forward_alloc
CVE-2024-53106 7.3 HIGH ima: fix buffer overrun in ima_eventdigest_init_common
CVE-2024-53108 7.3 HIGH drm/amd/display: Adjust VSDB parser for replay feature
CVE-2024-53110 7.3 HIGH vp_vdpa: fix id_table array not null terminated error
CVE-2024-53111 7.1 HIGH mm/mremap: fix address wraparound in move_page_tables()
CVE-2024-53114 x86/CPU/AMD: Clear virtualized VMLOAD/VMSAVE on Zen4 client
CVE-2024-53104 media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
CVE-2024-53105 mm: page_alloc: move mlocked flag clearance into free_pages_prepare()
CVE-2024-53112 ocfs2: uncache inode which has failed entering the group
CVE-2024-53115 drm/vmwgfx: avoid null_ptr_deref in vmw_framebuffer_surface_create_handle
CVE-2024-53116 drm/panthor: Fix handling of partial GPU mapping of BOs
CVE-2024-53117 virtio/vsock: Improve MSG_ZEROCOPY error handling
CVE-2024-53119 virtio/vsock: Fix accept_queue memory leak
CVE-2024-53118 vsock: Fix sk_error_queue memory leak

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-53113

No comments yet


Leave a comment