CVE-2022-48731

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
20/06/2024
Last modified:
01/04/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> mm/kmemleak: avoid scanning potential huge holes<br /> <br /> When using devm_request_free_mem_region() and devm_memremap_pages() to<br /> add ZONE_DEVICE memory, if requested free mem region&amp;#39;s end pfn were<br /> huge(e.g., 0x400000000), the node_end_pfn() will be also huge (see<br /> move_pfn_range_to_zone()). Thus it creates a huge hole between<br /> node_start_pfn() and node_end_pfn().<br /> <br /> We found on some AMD APUs, amdkfd requested such a free mem region and<br /> created a huge hole. In such a case, following code snippet was just<br /> doing busy test_bit() looping on the huge hole.<br /> <br /> for (pfn = start_pfn; pfn

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.4.178 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.99 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.22 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.8 (excluding)
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:*