CVE-2024-42235: s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()

Published Aug 7, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

s390/mm: Add NULL pointer check to crsttablefree() basecrstfree()

crsttablefree() used to work with NULL pointers before the conversion to ptdescs. Since crsttablefree() can be called with a NULL pointer (error handling in crsttableupgrade() add an explicit check.

Also add the same check to basecrstfree() for consistency reasons.

In real life this should not happen, since order two GFPKERNEL allocations will not fail, unless FAILPAGEALLOC is enabled and used.

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=6.6<6.6.41
Linux Linux kernel>=6.7<6.9.10
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-16.12.25-1
Microsoft azl3 kernel 6.6.43.1-7
Microsoft azl3 kernel 6.6.35.1-5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.133-1Fixed in 6.12.22-1Fixed in 6.12.25-1

Event History

Aug 7, 2024
CVE Published
via MITRE·03:14 PM
Data Sourced
via MITRE·03:14 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 16, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Dec 15, 2024
Data Sourced
via Ubuntu·12:32 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-42235?

The severity of CVE-2024-42235 has been classified as moderate, given its impact on the Linux kernel's NULL pointer handling.

2

How do I fix CVE-2024-42235?

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.

3

Which versions of the Linux kernel are affected by CVE-2024-42235?

CVE-2024-42235 affects Linux kernel versions between 6.6 and 6.6.41, as well as 6.7 to 6.9.10.

4

What specific function is impacted by CVE-2024-42235?

CVE-2024-42235 specifically impacts the crst_table_free() function in the Linux kernel.

5

Is CVE-2024-42235 resolved in upcoming kernel versions?

CVE-2024-42235 has been resolved in recent kernel patches released for the affected versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203