{"id":"CVE-2024-42235","summary":"s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/mm: Add NULL pointer check to crst_table_free() base_crst_free()\n\ncrst_table_free() used to work with NULL pointers before the conversion\nto ptdescs.  Since crst_table_free() can be called with a NULL pointer\n(error handling in crst_table_upgrade() add an explicit check.\n\nAlso add the same check to base_crst_free() for consistency reasons.\n\nIn real life this should not happen, since order two GFP_KERNEL\nallocations will not fail, unless FAIL_PAGE_ALLOC is enabled and used.","modified":"2026-03-20T12:38:44.041357Z","published":"2024-08-07T15:14:25.070Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42235.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/794fa52b94637d6b2e8c9474fbe3983af5c9f046"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5efb63acf7bddaf20eacfcac654c25c446eabe8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f80bd8bb6f380bc265834c46058d38b34174813e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42235.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42235"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6326c26c1514757242829b292b26eac589013200"},{"fixed":"794fa52b94637d6b2e8c9474fbe3983af5c9f046"},{"fixed":"f80bd8bb6f380bc265834c46058d38b34174813e"},{"fixed":"b5efb63acf7bddaf20eacfcac654c25c446eabe8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42235.json"}}],"schema_version":"1.7.5"}