7.8high
s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.33% (higher than 18% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 6326c26c1514757242829b292b26eac589013200 before 794fa52b94637d6b2e8c9474fbe3983af5c9f046, from 6326c26c1514757242829b292b26eac589013200 before f80bd8bb6f380bc265834c46058d38b34174813e, from 6326c26c1514757242829b292b26eac589013200 before b5efb63acf7bddaf20eacfcac654c25c446eabe8, 6.6 Not affected: before 6.6, from 6.6.41 up to 6.6.*, from 6.9.10 up to 6.9.*, from 6.10 up to * | CVE List |
| linux linux_kernel | from 6.6 before 6.6.41, from 6.7 before 6.9.10 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: s390/mm: agregue verificación de puntero NULL a crst_table_free() base_crst_free() crst_table_free() solía trabajar con punteros NULL antes de la conversión a ptdescs. Dado que crst_table_free() se puede llamar con un puntero NULL (el manejo de errores en crst_table_upgrade() agrega una verificación explícita. También agregue la misma verificación a base_crst_free() por razones de coherencia. En la vida real, esto no debería suceder, ya que ordenar dos asignaciones GFP_KERNEL no falla, a menos que FAIL_PAGE_ALLOC esté habilitado y utilizado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42235 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-42235 changed 2026-08-04 | Public domain |