Skip to content
5.5 Medium

CVE-2024-35940 In the Linux kernel, the following vulnerability has been resolved: pstore/zone: Add a null pointer check to the…

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 and versions

Product Affected versions Fixed in
Linux 6.9 earliest → < 6.9 6.9
Linux 6.8 earliest → < 6.8.6 6.8.6
Linux 6.6 earliest → < 6.6.27 6.6.27
Linux 6.1 earliest → < 6.1.86 6.1.86
Linux 5.15 earliest → < 5.15.155 5.15.155
Linux 5.10 earliest → < 5.10.215 5.10.215
Linux 5.8 No fix stated
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 earliest → < 1.1.1 1.1.1
The 18286 CVEs of Linux →
Track this CVE