CVE-2024-35940

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

04 Apr 2025, 14:23

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb - () https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb - Patch
References () https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 - () https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 - Patch
References () https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc - () https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc - Patch
References () https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 - () https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 - Patch
References () https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 - () https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 - Patch
References () https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 - () https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 - Patch
References () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html - Mailing List, Third Party Advisory
First Time Debian
Linux linux Kernel
Debian debian Linux
Linux

21 Nov 2024, 09:21

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
References () https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb - () https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb -
References () https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 - () https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 -
References () https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc - () https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc -
References () https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 - () https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 -
References () https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 - () https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 -
References () https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 - () https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 -

05 Nov 2024, 16:35

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-476

05 Nov 2024, 10:16

Type Values Removed Values Added
References
  • {'url': 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html', 'source': '416baaa9-dc9f-4396-8d5f-8c081fb06d67'}

25 Jun 2024, 22:15

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: pstore/zone: agregue una verificación de puntero null a psz_kmsg_read kasprintf() devuelve un puntero a la memoria asignada dinámicamente que puede ser NULL en caso de falla. Asegúrese de que la asignación haya sido exitosa verificando la validez del puntero.
References
  • () https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -

19 May 2024, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-19 11:15

Updated : 2025-04-04 14:23


NVD link : CVE-2024-35940

Mitre link : CVE-2024-35940

CVE.ORG link : CVE-2024-35940


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference