CVE-2026-89864
scsi: qla2xxx: Bound i2c->length in I2C bsg handlers
Reported by linux · Published September 16, 2026
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.
EPSS 0.22% · 12.1th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae |
| Linux | Linux | 3.7, 0, 5.10.270 |
| linux | linux_kernel | 3.7, 3.7, 3.7 |
| Linux | Linux | 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae |
Timeline
- Sep 16, 2026 Coalition ESS Score
- Sep 16, 2026 CVE Published
- Sep 17, 2026 EPSS Score (13 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-89864
vulnetix vdb fixes CVE-2026-89864
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-89864/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart