CVEvulnerability
CVE-2024-35940
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-05-19
- Last modified
- 2026-10-15
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (< 5.10.215)
• linux linux kernel (>= 5.11 < 5.15.155)
• linux linux kernel (>= 5.16 < 6.1.86)
• linux linux kernel (>= 6.2 < 6.6.27)
• linux linux kernel (>= 6.7 < 6.8.6)
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb Patch
- https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 Patch
- https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc Patch
- https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 Patch
- https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 Patch
- https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 Patch
- https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb Patch
- https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 Patch
- https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc Patch
- https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 Patch
- https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 Patch
- https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Mailing List, Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com