CVE Database
/

CVE-2024-35940

Back to search

CVE-2024-35940

Published: May 19, 2024

Modified: May 12, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
d26c3321fe18dc74517dc1f518d584aa33b0a851 - < 98e2b97acb875d65bdfc75fc408e67975cef3041
affected
d26c3321fe18dc74517dc1f518d584aa33b0a851 - < 0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb
affected
d26c3321fe18dc74517dc1f518d584aa33b0a851 - < 635594cca59f9d7a8e96187600c34facb8bc0682
affected
d26c3321fe18dc74517dc1f518d584aa33b0a851 - < ec7256887d072f98c42cdbef4dcc80ddf84c7a70
affected
d26c3321fe18dc74517dc1f518d584aa33b0a851 - < 6f9f2e498eae7897ba5d3e33908917f68ff4abcc

+1 more versions

Linux

Linux

affected
5.8
unaffected
0 - < 5.8
unaffected
5.10.215 - <= 5.10.*
unaffected
5.15.155 - <= 5.15.*
unaffected
6.1.86 - <= 6.1.*

+3 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now