CVE-2024-26760

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

State
Published
Severity
9.8 Critical
Published
Apr 3, 2024
Updated
Aug 5, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 066ff571011d8416e903d3d4f1f41e0b5eb91e1d to before f49b20fd0134da84a6bd8108f9e73c077b7d6231Affected
  • 066ff571011d8416e903d3d4f1f41e0b5eb91e1d to before 4ebc079f0c7dcda1270843ab0f38ab4edb8f7921Affected
  • 066ff571011d8416e903d3d4f1f41e0b5eb91e1d to before 1cfe9489fb563e9a0c9cdc5ca68257a44428c2ecAffected
  • 066ff571011d8416e903d3d4f1f41e0b5eb91e1d to before de959094eb2197636f7c803af0943cb9d3b35804Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.80 through 6.1.*Not affected
  • 6.6.19 through 6.6.*Not affected
  • 6.7.7 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.