Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-42235
HistoryAug 07, 2024 - 3:14 p.m.

CVE-2024-42235 s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()

2024-08-0715:14:25
Linux
github.com
3
linux kernel
vulnerability
fixed
null pointer check
crst_table_free
base_crst_free
ptdescs
error handling
gfp_kernel
fail_page_alloc

AI Score

6.8

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

In the Linux kernel, the following vulnerability has been resolved:

s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()

crst_table_free() used to work with NULL pointers before the conversion
to ptdescs. Since crst_table_free() can be called with a NULL pointer
(error handling in crst_table_upgrade() add an explicit check.

Also add the same check to base_crst_free() for consistency reasons.

In real life this should not happen, since order two GFP_KERNEL
allocations will not fail, unless FAIL_PAGE_ALLOC is enabled and used.

AI Score

6.8

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial