CVE-2024-42235

published 7 Aug 2024 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 794fa52b94637d6b2e8c9474fbe3983af5c9f046, Kernel b5efb63acf7bddaf20eacfcac654c25c446eabe8 and Kernel f80bd8bb6f380bc265834c46058d38b34174813e.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.6, >=6326c26c1514757242829b292b26eac589013200 <794fa52b94637d6b2e8c9474fbe3983af5c9f046, >=6326c26c1514757242829b292b26eac589013200 <b5efb63acf7bddaf20eacfcac654c25c446eabe8, >=6326c26c1514757242829b292b26eac589013200 <f80bd8bb6f380bc265834c46058d38b34174813e794fa52b94637d6b2e8c9474fbe3983af5c9f046, b5efb63acf7bddaf20eacfcac654c25c446eabe8, f80bd8bb6f380bc265834c46058d38b34174813e

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42235 severity on Zeptric[![CVE-2024-42235](https://zeptric.io/badge/cve/CVE-2024-42235.svg)](https://zeptric.io/cve/CVE-2024-42235)