<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T07:09:17.193603+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-89864</id>
    <title>CVE-2026-89864 — scsi: qla2xxx: Bound i2c-&gt;length in I2C bsg handlers</title>
    <updated>2026-09-29T07:09:17.643530+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>scsi: qla2xxx: Bound i2c-&gt;length in I2C bsg handlers</p>
<p>struct qla_i2c_access carries a 16-bit length field alongside a fixed
64-byte buffer:</p>
<p>struct qla_i2c_access {
		uint16_t device, offset, option, length;
		uint8_t  buffer[0x40];
	} __packed;</p>
<p>qla2x00_write_i2c() and qla2x00_read_i2c() use the user-supplied
i2c-&gt;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:</p>
<p>- write: memcpy(sfp, i2c-&gt;buffer, i2c-&gt;length) over-reads the stack and
    over-writes the sfp heap buffer, and qla2x00_write_sfp() then DMAs
    i2c-&gt;length bytes out of the 256-byte buffer.
  - read: qla2x00_read_sfp() DMAs i2c-&gt;length bytes into the 256-byte sfp,
    then memcpy(i2c-&gt;buffer, sfp, i2c-&gt;length) overflows the 64-byte
    buffer inside the on-stack array.</p>
<p>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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-89864"/>
  </entry>
</feed>
