CVE-2026-89864

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

No CVSS score yet EPSS 0.22%

Published 16 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89864

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89864 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.27% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, before 8f01f886cc5e7bbc16cbf1a9928fdebbc911e973
affected from 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, before 2be39946abcde5a6416fb074ef728429e246a996
affected from 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, before 522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e
affected from 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, before 9a756f277eb89f769dbf380f38245c270d31fdb5
affected from 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, before 32d6df14fdab71fe1ba304fd9a0db0411ea2e043
affected from 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, before 97ca58b0fb026799b99e3d552d5f69cf9a3113ad
affected from 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, before 47049fdadc0eaa115e813735b827e1379c0d2cf8
affected from 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, before 0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59
Other versions: unaffected
Linux
affected 3.7
unaffected before 3.7
unaffected from 5.10.270 up to and including 5.10.*
unaffected from 5.15.221 up to and including 5.15.*
unaffected from 6.1.188 up to and including 6.1.*
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.110 up to and including 6.12.*
unaffected from 6.18.51 up to and including 6.18.*
unaffected from 7.2.5 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89864 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89864

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89864
trivy image --scanners vuln IMAGE | grep CVE-2026-89864

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89864 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.