VDB

CVE-2024-35940

CVE-2024-35940 PUBLISHED CVSS 5.5 MEDIUM

pstore/zone: Add a null pointer check to the psz_kmsg_read

Reported by linux · Published May 19, 2024

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.

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxd26c3321fe18dc74517dc1f518d584aa33b0a851, d26c3321fe18dc74517dc1f518d584aa33b0a851, d26c3321fe18dc74517dc1f518d584aa33b0a851
LinuxLinux5.8, 0, 5.10.215
linuxlinux_kernel5.8, 5.8, 5.8
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
LinuxLinux5.10.215, 6.1.86, 6.6.27

Timeline

  • May 19, 2024 CVE Published
  • May 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (14 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (442 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (337 in total, the first dated here)
  • Oct 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35940
vulnetix vdb fixes CVE-2024-35940

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35940/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›