Skip to main content
← All vulnerabilities
CVE-2024-35940

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.215, 5.15.155, 6.1.86, 6.6.27, 6.8.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From d26c3321fe18dc74517dc1f518d584aa33b0a851 · fixed in 98e2b97acb875d65bdfc75fc408e67975cef3041; From d26c3321fe18dc74517dc1f518d584aa33b0a851 · fixed in 0ff96ec22a84d80a18d7ae8ca7eb111c34ee33bb; From d26c3321fe18dc74517dc1f518d584aa33b0a851 · fixed in 635594cca59f9d7a8e96187600c34facb8bc0682; From d26c3321fe18dc74517dc1f518d584aa33b0a851 · fixed in ec7256887d072f98c42cdbef4dcc80ddf84c7a70; From d26c3321fe18dc74517dc1f518d584aa33b0a851 · fixed in 6f9f2e498eae7897ba5d3e33908917f68ff4abcc; From d26c3321fe18dc74517dc1f518d584aa33b0a851 · fixed in 98bc7e26e14fbb26a6abf97603d59532475e97f8

  • Linux Linux

    5.8

  • KernelLinux

    From 5.8.0 · fixed in 5.10.215; From 5.11.0 · fixed in 5.15.155; From 5.16.0 · fixed in 6.1.86; From 6.2.0 · fixed in 6.6.27; From 6.7.0 · fixed in 6.8.6

References 6

git.kernel.org