Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.10.215 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bbPatch
- https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682Patch
- https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abccPatch
- https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8Patch
- https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041Patch
- https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70Patch
- https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bbPatch
- https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682Patch
- https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abccPatch
- https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8Patch
- https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041Patch
- https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlMailing ListThird Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
FAQ
What is CVE-2024-35940?
CVE-2024-35940 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2024-35940?
CVE-2024-35940 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-35940?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Debian Debian Linux.