# CVE-2026-89862: scsi: qla2xxx: Fix BSG job leak on validate flash image error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **Published:** 2026-09-16T10:31:33.698Z
- **Modified:** 2026-10-19T09:18:30.757Z

## Who should check

- Anyone running Linux \>= c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, \< e25241f9fa01fb0c088381a156d84a725b71c1ef; \>= c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, \< 0fb52cc632464b0cd07f970341330466d772efe1; 057a5bdc481e58ab853117254867ffb22caf9f6e; f2bbb4db0e4a4fbd5e649c0b5d8733f61da24720; 27ac9679c43a09e54e2d9aae9980ada045b428e0; 74e7458537cd9349cf019862e51491f670871707; 871f6236da96c4a9712b8a29d7f555f767a47e95; 31f33b856d2324d86bcaef295f4d210477a1c018; 708003e1bc857dd014d4c44278d7d77c26f91b1c; \>= 5.10.251, \< 5.11; …
- Anyone running Linux 7.0

## Description

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.

## Affected and fixed versions

- Linux: \>= c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, \< e25241f9fa01fb0c088381a156d84a725b71c1ef; \>= c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, \< 0fb52cc632464b0cd07f970341330466d772efe1; 057a5bdc481e58ab853117254867ffb22caf9f6e; f2bbb4db0e4a4fbd5e649c0b5d8733f61da24720; 27ac9679c43a09e54e2d9aae9980ada045b428e0; 74e7458537cd9349cf019862e51491f670871707; 871f6236da96c4a9712b8a29d7f555f767a47e95; 31f33b856d2324d86bcaef295f4d210477a1c018; 708003e1bc857dd014d4c44278d7d77c26f91b1c; \>= 5.10.251, \< 5.11; … (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89862. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89862.md
Affected: Linux >= c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, < e25241f9fa01fb0c088381a156d84a725b71c1ef; >= c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, < 0fb52cc632464b0cd07f970341330466d772efe1; 057a5bdc481e58ab853117254867ffb22caf9f6e; f2bbb4db0e4a4fbd5e649c0b5d8733f61da24720; 27ac9679c43a09e54e2d9aae9980ada…
Fixed in: Linux 0fb52cc632464b0cd07f970341330466d772efe1, Linux 5.11

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89862 being exploited?

There is no confirmed exploitation: CVE-2026-89862 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-89862?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89862?

Linux \>= c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, \< e25241f9fa01fb0c088381a156d84a725b71c1ef; \>= c2c68225b1456f4d0d393b5a8778d51bb0d5b1d0, \< 0fb52cc632464b0cd07f970341330466d772efe1; 057a5bdc481e58ab853117254867ffb22caf9f6e; f2bbb4db0e4a4fbd5e649c0b5d8733f61da24720; 27ac9679c43a09e54e2d9aae9980ada045b428e0; 74e7458537cd9349cf019862e51491f670871707; 871f6236da96c4a9712b8a29d7f555f767a47e95; 31f33b856d2324d86bcaef295f4d210477a1c018; 708003e1bc857dd014d4c44278d7d77c26f91b1c; \>= 5.10.251, \< 5.11; …; Linux 7.0.

### Is there a fix for CVE-2026-89862?

Yes. Fixed in Linux 0fb52cc632464b0cd07f970341330466d772efe1, Linux 5.11. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89862?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e25241f9fa01fb0c088381a156d84a725b71c1ef>
- other: <https://git.kernel.org/stable/c/0fb52cc632464b0cd07f970341330466d772efe1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89862>

HTML: <https://flawdb.com/CVE-2026-89862> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89862>
