CVE Catalog

CVE-2024-26760

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

In the Linux kernel, in the SCSI target subsystem (pscsi), there is a bug in handling the error case when freeing a bio object. A bio allocated by bio_kmalloc() must be freed by bio_uninit() and kfree(), but this is not done correctly in this case, leading to a WARN and NULL pointer dereference in bio_free().

Risk Assessment

This can lead to system crashes or unpredictable behavior in environments using SCSI target, potentially affecting service availability.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that corrects this bio freeing in the error case.

Original NVD description (English source)

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().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS