In the Linux kernel, the following vulnerability has been resolved:
pstore/zone: Add a null pointer check to the pszkmsgread
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35940.json"
}