CVE-2024-35940CWE-476

CVE-2024-35940

Medium · published May 19, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
10.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00212 · 10.9th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2024-05-19T15:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel< 5.10.2155.10.215
linux/linux_kernel≥ 5.11, < 5.15.1555.15.155
linux/linux_kernel≥ 5.16, < 6.1.866.1.86
linux/linux_kernel≥ 6.2, < 6.6.276.6.27
linux/linux_kernel≥ 6.7, < 6.8.66.8.6
debian/debian_linuxall versions—
References (14)
https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-265688.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 19 MAY 10:10Z
    pstore/zone: Add a null pointer check to the psz_kmsg_read
    cvelistv5