VULNERABILITY INTELLIGENCE

CVE-2024-35940

CVSS score5.5 MEDIUM
EPSS probability0.21%
CISA KEVNot currently listed
Published2024-05-19
Last modified2026-10-15
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Weakness classification

  • CWE-476: NULL Pointer Dereference

Primary references