First published: Wed Aug 07 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=6.6<6.6.41 | |
Linux Kernel | >=6.7<6.9.10 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.129-1 6.1.133-1 6.12.22-1 6.12.25-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2024-42235 has been classified as moderate, given its impact on the Linux kernel's NULL pointer handling.
To address CVE-2024-42235, update to the latest stable version of the Linux kernel, such as 5.10.223-1 or 6.12.11-1.
CVE-2024-42235 affects Linux kernel versions between 6.6 and 6.6.41, as well as 6.7 to 6.9.10.
CVE-2024-42235 specifically impacts the crst_table_free() function in the Linux kernel.
CVE-2024-42235 has been resolved in recent kernel patches released for the affected versions.