CVE-2024-42235 Details
Description
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.
A vulnerability in the Linux kernel's memory management for the s390 architecture has been addressed. The issue involved the absence of a NULL pointer check in the functions 'crst_table_free()' and 'base_crst_free()'. These functions could be called with NULL pointers, particularly during error handling in 'crst_table_upgrade()'. Although such a scenario is unlikely under normal conditions, it could occur if the FAIL_PAGE_ALLOC option is enabled. The vulnerability has been fixed by adding explicit NULL checks in both functions, ensuring consistent and safe handling of pointer values.
Users can upgrade to the latest version of the Linux kernel to address this vulnerability. The patched version is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/794fa52b94637d6b2e8c9474fbe3983af5c9f046 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b5efb63acf7bddaf20eacfcac654c25c446eabe8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f80bd8bb6f380bc265834c46058d38b34174813e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.6.41 >= 6.7, < 6.9.10 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 8, 2024 | Initial Analysis | [email protected] |
| Aug 7, 2024 | New CVE Received | kernel.org |