<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 08:38:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-64339 — usb: misc: usbio: bound bulk IN response length to the received transfer</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-64339</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;usb: misc: usbio: bound bulk IN response length to the received transfer&lt;/p&gt;
&lt;p&gt;usbio_bulk_msg() copies bpkt_len = le16_to_cpu(bpkt-&amp;gt;len) bytes out of
the bulk IN buffer (usbio-&amp;gt;rxbuf, allocated with size usbio-&amp;gt;rxbuf_len)
into the caller&amp;#39;s buffer.  bpkt_len is fully controlled by the device
and is only checked against ibuf_len; ibuf_len in turn is checked
against usbio-&amp;gt;txbuf_len, not against rxbuf_len:&lt;/p&gt;
&lt;p&gt;if ((obuf_len &amp;gt; (usbio-&amp;gt;txbuf_len - sizeof(*bpkt))) ||
	    (ibuf_len &amp;gt; (usbio-&amp;gt;txbuf_len - sizeof(*bpkt))))
		return -EMSGSIZE;&lt;/p&gt;
&lt;p&gt;txbuf_len and rxbuf_len are taken independently from the bulk OUT and
bulk IN endpoint wMaxPacketSize in usbio_probe().  A malicious or
malfunctioning device that advertises a large bulk OUT endpoint and a
small bulk IN endpoint (e.g. by claiming one of the quirk-free IDs such
as the Lattice NX33U, 0x2ac1:0x20cb) therefore makes ibuf_len, and
hence the device-supplied bpkt_len, exceed rxbuf_len.  memcpy() then
reads up to txbuf_len - rxbuf_len bytes past the end of the rxbuf slab
object.  The over-read bytes are handed back to the i2c layer and on to
user space through i2c-dev, disclosing adjacent slab memory; with KASAN
this is reported as a slab-out-of-bounds read.&lt;/p&gt;
&lt;p&gt;The number of bytes actually received is already known: act equals the
URB actual_length and is bounded by rxbuf_len.  Reject any response
that claims more payload than was received, mirroring the existing
&amp;#34;act &amp;lt; sizeof…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;usb: misc: usbio: bound bulk IN response length to the received transfer&lt;/p&gt;
&lt;p&gt;usbio_bulk_msg() copies bpkt_len = le16_to_cpu(bpkt-&amp;gt;len) bytes out of
the bulk IN buffer (usbio-&amp;gt;rxbuf, allocated with size usbio-&amp;gt;rxbuf_len)
into the caller&amp;#39;s buffer.  bpkt_len is fully controlled by the device
and is only checked against ibuf_len; ibuf_len in turn is checked
against usbio-&amp;gt;txbuf_len, not against rxbuf_len:&lt;/p&gt;
&lt;p&gt;if ((obuf_len &amp;gt; (usbio-&amp;gt;txbuf_len - sizeof(*bpkt))) ||
	    (ibuf_len &amp;gt; (usbio-&amp;gt;txbuf_len - sizeof(*bpkt))))
		return -EMSGSIZE;&lt;/p&gt;
&lt;p&gt;txbuf_len and rxbuf_len are taken independently from the bulk OUT and
bulk IN endpoint wMaxPacketSize in usbio_probe().  A malicious or
malfunctioning device that advertises a large bulk OUT endpoint and a
small bulk IN endpoint (e.g. by claiming one of the quirk-free IDs such
as the Lattice NX33U, 0x2ac1:0x20cb) therefore makes ibuf_len, and
hence the device-supplied bpkt_len, exceed rxbuf_len.  memcpy() then
reads up to txbuf_len - rxbuf_len bytes past the end of the rxbuf slab
object.  The over-read bytes are handed back to the i2c layer and on to
user space through i2c-dev, disclosing adjacent slab memory; with KASAN
this is reported as a slab-out-of-bounds read.&lt;/p&gt;
&lt;p&gt;The number of bytes actually received is already known: act equals the
URB actual_length and is bounded by rxbuf_len.  Reject any response
that claims more payload than was received, mirroring the existing
&amp;#34;act &amp;lt; sizeof…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-64339</guid>
    </item>
  </channel>
</rss>
