VDB

CVE-2026-89862

CVE-2026-89862 PUBLISHED

scsi: qla2xxx: Fix BSG job leak on validate flash image error path

Reported by linux · Published September 16, 2026

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix BSG job leak on validate flash image error path qla28xx_validate_flash_image() returns QLA_SUCCESS (0) unconditionally, telling the FC BSG transport (fc_bsg_host_dispatch()) that the driver owns and will complete the request. But bsg_job_done() is guarded by "if (!rval)", so on the error path (rval == -EINVAL) neither the driver nor the transport completes the job. The request dangles until it times out, leaking block layer resources. Commit c2c68225b145 ("scsi: qla2xxx: Fix bsg_done() causing double free") added the "if (!rval)" guard to a batch of BSG handlers. That is correct for handlers that also return the error code (the transport then completes the job once via fail_host_msg), but this function returns QLA_SUCCESS unconditionally, so the guard turned a correct single completion into a leak. Always call bsg_job_done(): bsg_reply->result is DID_OK and the error is reported in vendor_rsp[0], and since the function returns 0 the transport will not complete the job a second time.

EPSS 0.19% · 8.6th percentile

Risk scores

EPSS Score
0.19%
8.6th percentile

Affected products

VendorProductVersions
LinuxLinuxc2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, 057a5bdc481e58ab853117254867ffb22caf9f6e
LinuxLinux7.0, 0, 7.2.5
linuxlinux_kernel7.0, 5.10.251, 5.15.201
LinuxLinux*, *, *

Timeline

  • Sep 16, 2026 Coalition ESS Score
  • Sep 16, 2026 CVE Published
  • Sep 17, 2026 EPSS Score (10 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89862
vulnetix vdb fixes CVE-2026-89862

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89862/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›