What’s Vulnerable › Vulnerabilities

CVE-2024-26760: scsi: target: pscsi: Fix bio_put() for error case

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: target: pscsi: Fix bio_put() for error case As of commit 066ff571011d ("block: turn bio_kmalloc into a simple kmalloc wrapper"), a bio allocated by bio_kmalloc() must be freed by bio_uninit() and kfree(). That is not done properly for the error case, hitting WARN and NULL pointer dereference in bio_free().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.80, 6.6.19, 6.7.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26760 or the next vulnerability affects your stack