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

s390/dasd: fix error checks in dasd_copy_pair_store()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.16
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: s390/dasd: fix error checks in dasd_copy_pair_store() dasd_add_busid() can return an error via ERR_PTR() if an allocation fails. However, two callsites in dasd_copy_pair_store() do not check the result, potentially resulting in a NULL pointer dereference. Fix this by checking the result with IS_ERR() and returning the error up the stack.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.15.153 · fixed in 5.16

  • Linux Linux

    6.1

References 4

git.kernel.org