<?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-29T23:06:07.439596+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-63896</id>
    <title>CVE-2026-63896 — usb: gadget: composite: fix integer underflow in WebUSB GET_URL handling</title>
    <updated>2026-09-29T23:06:07.511008+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>usb: gadget: composite: fix integer underflow in WebUSB GET_URL handling</p>
<p>The WebUSB GET_URL handler in composite_setup() narrows
landing_page_length to fit the host-supplied wLength using</p>
<p>landing_page_length = w_length
		- WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH + landing_page_offset;</p>
<p>If wLength is smaller than WEBUSB_URL_DESCRIPTOR_HEADER_LENGTH the
unsigned subtraction wraps, and the subsequent</p>
<p>memcpy(url_descriptor-&gt;URL,
	       cdev-&gt;landing_page + landing_page_offset,
	       landing_page_length - landing_page_offset);</p>
<p>ends up copying close to UINT_MAX bytes from cdev-&gt;landing_page into
cdev-&gt;req-&gt;buf.  KASAN reports a slab-out-of-bounds in composite_setup
on the kmalloc-2k gadget_info allocation, and FORTIFY_SOURCE traps the
memcpy as a 4294967293-byte field-spanning write into
url_descriptor-&gt;URL (size 252).</p>
<p>A USB host can reach this from a single SETUP packet against any
gadget that has webusb/use=1 and a landingPage configured.</p>
<p>Handle the small-wLength case before the math: when the host requested
fewer bytes than the URL descriptor header, only the header is
meaningful and no URL bytes need to be copied.  Setting
landing_page_length to landing_page_offset makes the existing memcpy a
no-op and leaves the descriptor returned to the host unchanged for all
larger wLength values.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-63896"/>
  </entry>
</feed>
