MTIby Motiontic
Colour theme
VulnerabilityCVE-2021-47578WID-SEC-W-2024-1418:CVE-2021-47578

scsi: scsi_debug: Don't call kcalloc() if size arg is zero

Not on CISA KEV
  • Overview

Summary

In the Linux kernel, the following vulnerability has been resolved: scsi: scsi_debug: Don't call kcalloc() if size arg is zero If the size arg to kcalloc() is zero, it returns ZERO_SIZE_PTR. Because of that, for a following NULL pointer check to work on the returned pointer, kcalloc() must not be

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)