Back
CVE-2024-35940pstore/zone: Add a null pointer check to the psz_kmsg_read
- 5.5MediumCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 2 days later
· 2 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.21% · top 88% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected d26c3321fe18dc74517dc1f518d584aa33b0a851 – < 98e2b97acb875d65bdfc75fc408e67975cef3041
- affected d26c3321fe18dc74517dc1f518d584aa33b0a851 – < 0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb
- affected d26c3321fe18dc74517dc1f518d584aa33b0a851 – < 635594cca59f9d7a8e96187600c34facb8bc0682
- affected d26c3321fe18dc74517dc1f518d584aa33b0a851 – < ec7256887d072f98c42cdbef4dcc80ddf84c7a70
- affected d26c3321fe18dc74517dc1f518d584aa33b0a851 – < 6f9f2e498eae7897ba5d3e33908917f68ff4abcc
- affected d26c3321fe18dc74517dc1f518d584aa33b0a851 – < 98bc7e26e14fbb26a6abf97603d59532475e97f8
- affected 5.8
- unaffected < 5.8
- unaffected 5.10.215 – ≤ 5.10.*
- unaffected 5.15.155 – ≤ 5.15.*
- unaffected 6.1.86 – ≤ 6.1.*
- unaffected 6.6.27 – ≤ 6.6.*
- unaffected 6.8.6 – ≤ 6.8.*
- unaffected 6.9 – ≤ *
References
References8
- https://git.kernel.org/stable/c/98e2b97acb875d65bdfc75fc408e67975cef3041 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/635594cca59f9d7a8e96187600c34facb8bc0682 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ec7256887d072f98c42cdbef4dcc80ddf84c7a70 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/6f9f2e498eae7897ba5d3e33908917f68ff4abcc (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/98bc7e26e14fbb26a6abf97603d59532475e97f8 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-35658 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-35940)Record last updated .