VYPR
High severity7.8NVD Advisory· Published Aug 7, 2024· Updated Aug 4, 2026

CVE-2024-42235

CVE-2024-42235

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

4
  • Linux/Kernel3 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.6,<6.6.41
    • (no CPE)
    • (no CPE)range: 6.6
  • osv-coords
    Range: >= 6.6.0, < 6.6.41

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.