{"id":24551,"date":"2026-09-16T20:32:28","date_gmt":"2026-09-16T12:32:28","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89864"},"modified":"2026-09-16T20:32:28","modified_gmt":"2026-09-16T12:32:28","slug":"cve-2026-89864","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89864","title":{"rendered":"CVE-2026-89864 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Bound"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>scsi: qla2xxx: Bound i2c-&gt;length in I2C bsg handlers<\/p>\n<p>struct qla_i2c_access carries a 16-bit length field alongside a fixed<br \/>\n64-byte buffer:<\/p>\n<p>\tstruct qla_i2c_access {<br \/>\n\t\tuint16_t device, offset, option, length;<br \/>\n\t\tuint8_t  buffer[0x40];<br \/>\n\t} __packed;<\/p>\n<p>qla2x00_write_i2c() and qla2x00_read_i2c() use the user-supplied<br \/>\ni2c-&gt;length without any bounds check. i2c is overlaid on a 256-byte<br \/>\non-stack buffer and sfp is a 256-byte DMA-pool buffer, so a length up to<br \/>\n65535 overruns both:<\/p>\n<p>  &#8211; write: memcpy(sfp, i2c-&gt;buffer, i2c-&gt;length) over-reads the stack and<br \/>\n    over-writes the sfp heap buffer, and qla2x00_write_sfp() then DMAs<br \/>\n    i2c-&gt;length bytes out of the 256-byte buffer.<br \/>\n  &#8211; read: qla2x00_read_sfp() DMAs i2c-&gt;length bytes into the 256-byte sfp,<br \/>\n    then memcpy(i2c-&gt;buffer, sfp, i2c-&gt;length) overflows the 64-byte<br \/>\n    buffer inside the on-stack array.<\/p>\n<p>A caller holding CAP_SYS_RAWIO can use this to corrupt the heap and the<br \/>\nkernel stack. Reject requests whose length exceeds the buffer before any<br \/>\ncopy or DMA transfer in both handlers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>scsi: qla2xxx: Bound i2c-&gt;length in I2C bsg handlers<\/p>\n<p>struct qla_i2c_access carries a 16-bit length field alongside a fixed<br \/>\n64-byte<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-24551","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/24551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}