CVE-2026-89864
Last modified
CVE-2026-89864 is a vulnerability of currently unknown severity. 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.
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 8f01f886cc5e7bbc16cbf1a9928fdebbc911e973; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 2be39946abcde5a6416fb074ef728429e246a996; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 522d6dcdc645d8f97d6b4cdfd6d8eea307f3ff0e; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 9a756f277eb89f769dbf380f38245c270d31fdb5; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 32d6df14fdab71fe1ba304fd9a0db0411ea2e043; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 97ca58b0fb026799b99e3d552d5f69cf9a3113ad; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 47049fdadc0eaa115e813735b827e1379c0d2cf8; >= 9ebb5d9c69f1f5721f9f6f49e501c674c1e184ae, < 0918ee2c0eeb4d7f45b82b3dc11e65c2d9b7ad59 |
| Linux | Linux | 3.7 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-89864?
How severe is CVE-2026-89864?
How do I fix CVE-2026-89864?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-89859In the Linux kernel, the following vulnerability has been re…
- CVE-2026-8986Autel Maxi Charger Single firmware through V1.03.51 is vulne…9.8
- CVE-2026-89860In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-89861In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-89862In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89863In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-89865In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89866In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89867In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89868In the Linux kernel, the following vulnerability has been re…
- CVE-2026-89869In the Linux kernel, the following vulnerability has been re…
- CVE-2026-8987Autel Maxi Charger Single firmware through V1.03.51 contains…8.8
Are you affected by CVE-2026-89864?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
