CVE-2024-42235

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
07/08/2024
Last modified:
08/08/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()<br /> <br /> crst_table_free() used to work with NULL pointers before the conversion<br /> to ptdescs. Since crst_table_free() can be called with a NULL pointer<br /> (error handling in crst_table_upgrade() add an explicit check.<br /> <br /> Also add the same check to base_crst_free() for consistency reasons.<br /> <br /> In real life this should not happen, since order two GFP_KERNEL<br /> allocations will not fail, unless FAIL_PAGE_ALLOC is enabled and used.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6 (including) 6.6.41 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.9.10 (excluding)