CVE-2024-26760: scsi: target: pscsi: Fix bio_put() for error case
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().
Security readout for executives and security teams
Plain-English summary
A Linux kernel error-handling flaw can incorrectly free storage I/O memory, causing a warning and null-pointer dereference. Systems using the SCSI target pscsi component may crash when the affected error path occurs. The supplied CVSS rates it critical, but the evidence does not establish that attackers can reach it remotely or gain code execution.
Executive priority
Prioritize remediation on storage infrastructure using Linux SCSI target pscsi, where a kernel crash could disrupt critical services. Do not assume every Linux host is remotely exploitable. Obtain distribution-specific package guidance promptly, schedule tested kernel updates, and track reboots required to activate the corrected kernel.
Technical view
After bio_kmalloc() became a kmalloc wrapper, its allocations required bio_uninit() followed by kfree(). The pscsi error path instead called bio_put(), reaching bio_free() and causing a WARN and null-pointer dereference. Referenced stable commits correct this cleanup. The supplied record does not demonstrate confidentiality or integrity impact despite its CVSS 9.8 vector.
Likely exposure
Exposure is likely limited to affected Linux kernels where the SCSI target pscsi functionality is present and exercises the faulty error path. The bundle identifies Linux 5.19, 6.1.80, 6.6.19, 6.7.7, and 6.8, but provides insufficient range semantics to determine every affected distribution package.
Exploitation context
The supplied record is not marked as CISA KEV, and no cited source reports active exploitation or a public exploit. Although the supplied vector says network-accessible without privileges, the bundle does not explain the prerequisites or prove remote reachability. Treat exploitability as configuration-dependent pending vendor guidance.
Researcher notes
The documented outcome is an invalid cleanup sequence on an error path, producing a WARN and null-pointer dereference. Source evidence supports a kernel reliability and availability risk. It does not establish attacker-controlled memory corruption, privilege escalation, remote code execution, or the CVSS confidentiality and integrity impacts. Exact trigger conditions and affected version ranges remain incomplete.
Mitigation direction
Inventory Linux kernel versions on systems providing SCSI target services.
Prioritize systems using the pscsi target backend for assessment and maintenance.
Install a vendor-supported kernel containing the applicable referenced stable fix.
Confirm exact distribution package mappings through the Linux distributor's security guidance.
If updating is delayed, consult vendor guidance; the supplied sources name no workaround.
Validation and detection
Compare running kernel packages with vendor advisories and the affected versions in the CVE record.
Verify the deployed kernel includes the applicable pscsi cleanup fix.
Review kernel logs for WARN events or null-pointer dereferences involving bio_free or pscsi.
Confirm vulnerable systems successfully boot and provide expected storage services after updating.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-26760 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.