CVE-2024-42235: s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()
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.
Security readout for executives and security teams
Plain-English summary
This Linux kernel flaw affects s390 memory-management error handling. A missing NULL-pointer check could crash or corrupt the kernel if a page-table allocation fails. The source says this is unlikely in normal operation and is mainly expected when allocation-failure testing is enabled, reducing practical urgency despite the high CVSS score.
Executive priority
Prioritize affected s390 systems through normal high-severity kernel patching, especially multi-user or locally accessible hosts. Emergency action is not supported by the supplied evidence because active exploitation is unreported and the vulnerable condition is described as operationally unlikely. Confirm exposure before escalating broader response.
Technical view
After conversion to ptdescs, crst_table_free() no longer safely accepted NULL during crst_table_upgrade() error handling. The fix adds explicit NULL checks to crst_table_free() and base_crst_free(). CVSS 3.1 is 7.8, requiring local access and low privileges, with potentially high confidentiality, integrity, and availability impact.
Likely exposure
Exposure appears limited to affected Linux kernels running on the s390 architecture. The supplied affected-version data includes 6.6, 6.6.41, 6.9.10, and 6.10 but does not provide reliable version-range semantics. Normal systems are unlikely to reach the vulnerable path unless allocation-failure injection is enabled.
Exploitation context
The CVE is not listed in CISA KEV within the supplied bundle, and no source reports active exploitation. Triggering requires local access and an unusual allocation failure during page-table upgrade handling. The kernel description says this should not occur in real life unless FAIL_PAGE_ALLOC is enabled and used.
Researcher notes
The practical trigger depends on crst_table_upgrade() reaching error cleanup with a NULL allocation result. The upstream explanation considers order-two GFP_KERNEL allocation failure unrealistic without FAIL_PAGE_ALLOC. The supplied records do not establish exploitability beyond CVSS assumptions, affected version boundaries are ambiguous, and no CWE is provided.
Mitigation direction
Identify Linux systems using the s390 architecture and record their running kernel versions.
Install a vendor-supported kernel containing the referenced NULL-check fix, following distribution guidance.
Reboot into the corrected kernel after applying the update.
If an update is unavailable, consult the Linux distribution vendor for supported mitigation guidance.
Avoid enabling allocation-failure injection on production systems unless operationally required.
Validation and detection
Confirm each assessed system uses s390 rather than another architecture.
Compare the running kernel package against the distribution's CVE advisory or changelog.
Verify the deployed source includes the referenced crst_table_free() NULL-check correction.
After reboot, confirm the corrected kernel is the active kernel.
Determine whether FAIL_PAGE_ALLOC fault injection is enabled or used in production.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-42235 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.