# CVE-2026-89864: scsi: qla2xxx: Bound i2c-\>length in I2C bsg handlers

> 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.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-16T10:31:35.068Z
- **Modified:** 2026-10-19T09:18:31.017Z

## Who should check

- Anyone running Linux \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 8f01f886cc5e7bbc16cbf1a9928fdebbc911e973; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 2be39946abcde5a6416fb074ef728429e246a996; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 9a756f277eb89f769dbf380f38245c270d31fdb5; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 32d6df14fdab71fe1ba304fd9a0db0411ea2e043; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 97ca58b0fb026799b99e3d552d5f69cf9a3113ad; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 47049fdadc0eaa115e813735b827e1379c0d2cf8; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59
- Anyone running Linux 3.7

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: qla2xxx: Bound i2c-\>length in I2C bsg handlers

struct qla\_i2c\_access carries a 16-bit length field alongside a fixed
64-byte buffer:

	struct qla\_i2c\_access {
		uint16\_t device, offset, option, length;
		uint8\_t  buffer\[0x40\];
	} \_\_packed;

qla2x00\_write\_i2c() and qla2x00\_read\_i2c() use the user-supplied
i2c-\>length without any bounds check. i2c is overlaid on a 256-byte
on-stack buffer and sfp is a 256-byte DMA-pool buffer, so a length up to
65535 overruns both:

  - write: memcpy(sfp, i2c-\>buffer, i2c-\>length) over-reads the stack and
    over-writes the sfp heap buffer, and qla2x00\_write\_sfp() then DMAs
    i2c-\>length bytes out of the 256-byte buffer.
  - read: qla2x00\_read\_sfp() DMAs i2c-\>length bytes into the 256-byte sfp,
    then memcpy(i2c-\>buffer, sfp, i2c-\>length) overflows the 64-byte
    buffer inside the on-stack array.

A caller holding CAP\_SYS\_RAWIO can use this to corrupt the heap and the
kernel stack. Reject requests whose length exceeds the buffer before any
copy or DMA transfer in both handlers.

## Affected and fixed versions

- Linux: \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 8f01f886cc5e7bbc16cbf1a9928fdebbc911e973; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 2be39946abcde5a6416fb074ef728429e246a996; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 9a756f277eb89f769dbf380f38245c270d31fdb5; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 32d6df14fdab71fe1ba304fd9a0db0411ea2e043; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 97ca58b0fb026799b99e3d552d5f69cf9a3113ad; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 47049fdadc0eaa115e813735b827e1379c0d2cf8; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59 (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- Upgrade Linux to 0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89864.md
Affected: Linux >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 8f01f886cc5e7bbc16cbf1a9928fdebbc911e973; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 2be39946abcde5a6416fb074ef728429e246a996; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e; >= 9ebb5d9c69f1f5721f9f6f4…
Fixed in: Linux 8f01f886cc5e7bbc16cbf1a9928fdebbc911e973, Linux 2be39946abcde5a6416fb074ef728429e246a996, Linux 522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e, Linux 9a756f277eb89f769dbf380f38245c270d31fdb5, Linux 32d6df14fdab71fe1ba304fd9a0db0411ea2e043, Linux 97ca58b0fb026799b99e3d552d5f69cf9a3113ad, Linux 47049…

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-89864 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 8f01f886cc5e7bbc16cbf1a9928fdebbc911e973; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 2be39946abcde5a6416fb074ef728429e246a996; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 9a756f277eb89f769dbf380f38245c270d31fdb5; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 32d6df14fdab71fe1ba304fd9a0db0411ea2e043; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 97ca58b0fb026799b99e3d552d5f69cf9a3113ad; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 47049fdadc0eaa115e813735b827e1379c0d2cf8; \>= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, \< 0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59; Linux 3.7.

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

Yes. Fixed in Linux 8f01f886cc5e7bbc16cbf1a9928fdebbc911e973, Linux 2be39946abcde5a6416fb074ef728429e246a996, Linux 522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e, Linux 9a756f277eb89f769dbf380f38245c270d31fdb5, Linux 32d6df14fdab71fe1ba304fd9a0db0411ea2e043, Linux 97ca58b0fb026799b99e3d552d5f69cf9a3113ad, Linux 47049fdadc0eaa115e813735b827e1379c0d2cf8, Linux 0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59. Upgrade Linux to 0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59 or later.

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

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/8f01f886cc5e7bbc16cbf1a9928fdebbc911e973>
- other: <https://git.kernel.org/stable/c/2be39946abcde5a6416fb074ef728429e246a996>
- other: <https://git.kernel.org/stable/c/522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e>
- other: <https://git.kernel.org/stable/c/9a756f277eb89f769dbf380f38245c270d31fdb5>
- other: <https://git.kernel.org/stable/c/32d6df14fdab71fe1ba304fd9a0db0411ea2e043>
- other: <https://git.kernel.org/stable/c/97ca58b0fb026799b99e3d552d5f69cf9a3113ad>
- other: <https://git.kernel.org/stable/c/47049fdadc0eaa115e813735b827e1379c0d2cf8>
- other: <https://git.kernel.org/stable/c/0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59>

## 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-89864>

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