What’s Vulnerable › Vulnerabilities

CVE-2024-35940: pstore/zone: Add a null pointer check to the psz_kmsg_read

Description

In the Linux kernel, the following vulnerability has been resolved: pstore/zone: Add a null pointer check to the psz_kmsg_read kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.215, 5.15.155, 6.1.86, 6.6.27. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35940 or the next vulnerability affects your stack