{"id":"CVE-2024-26760","summary":"scsi: target: pscsi: Fix bio_put() for error case","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: pscsi: Fix bio_put() for error case\n\nAs of commit 066ff571011d (\"block: turn bio_kmalloc into a simple kmalloc\nwrapper\"), a bio allocated by bio_kmalloc() must be freed by bio_uninit()\nand kfree(). That is not done properly for the error case, hitting WARN and\nNULL pointer dereference in bio_free().","modified":"2026-04-02T10:05:49.985771Z","published":"2024-04-03T17:00:44.230Z","related":["SUSE-SU-2024:1490-1","SUSE-SU-2024:1659-1","SUSE-SU-2024:1663-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26760.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1cfe9489fb563e9a0c9cdc5ca68257a44428c2ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ebc079f0c7dcda1270843ab0f38ab4edb8f7921"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de959094eb2197636f7c803af0943cb9d3b35804"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f49b20fd0134da84a6bd8108f9e73c077b7d6231"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26760.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26760"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"066ff571011d8416e903d3d4f1f41e0b5eb91e1d"},{"fixed":"f49b20fd0134da84a6bd8108f9e73c077b7d6231"},{"fixed":"4ebc079f0c7dcda1270843ab0f38ab4edb8f7921"},{"fixed":"1cfe9489fb563e9a0c9cdc5ca68257a44428c2ec"},{"fixed":"de959094eb2197636f7c803af0943cb9d3b35804"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26760.json"}}],"schema_version":"1.7.5"}