← CVE Intelligence

CVE-2024-26760

scsi: target: pscsi: Fix bio_put() for error case PUBLISHED

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected 066ff571011d8416e903d3d4f1f41e0b5eb91e1d before f49b20fd0134da84a6bd8108f9e73c077b7d6231; affected 066ff571011d8416e903d3d4f1f41e0b5eb91e1d before 4ebc079f0c7dcda1270843ab0f38ab4edb8f7921; affected 066ff571011d8416e903d3d4f1f41e0b5eb91e1d before 1cfe9489fb563e9a0c9cdc5ca68257a44428c2ec; affected 066ff571011d8416e903d3d4f1f41e0b5eb91e1d before de959094eb2197636f7c803af0943cb9d3b35804
Linux / Linuxaffected 5.19; unaffected 0 before 5.19; unaffected 6.1.80 through 6.1.*; unaffected 6.6.19 through 6.6.*; unaffected 6.7.7 through 6.7.*; unaffected 6.8 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.