<?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>Fri, 02 Oct 2026 01:49:16 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-31617 — usb: gadget: f_ncm: validate minimum block_len in ncm_unwrap_ntb()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-31617</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;usb: gadget: f_ncm: validate minimum block_len in ncm_unwrap_ntb()&lt;/p&gt;
&lt;p&gt;The block_len read from the host-supplied NTB header is checked against
ntb_max but has no lower bound. When block_len is smaller than
opts-&amp;gt;ndp_size, the bounds check of:
	ndp_index &amp;gt; (block_len - opts-&amp;gt;ndp_size)
will underflow producing a huge unsigned value that ndp_index can never
exceed, defeating the check entirely.&lt;/p&gt;
&lt;p&gt;The same underflow occurs in the datagram index checks against block_len
- opts-&amp;gt;dpe_size.  With those checks neutered, a malicious USB host can
choose ndp_index and datagram offsets that point past the actual
transfer, and the skb_put_data() copies adjacent kernel memory into the
network skb.&lt;/p&gt;
&lt;p&gt;Fix this by rejecting block lengths that cannot hold at least the NTB
header plus one NDP.  This will make block_len - opts-&amp;gt;ndp_size and
block_len - opts-&amp;gt;dpe_size both well-defined.&lt;/p&gt;
&lt;p&gt;Commit 8d2b1a1ec9f5 (&amp;#34;CDC-NCM: avoid overflow in sanity checking&amp;#34;) fixed
a related class of issues on the host side of NCM.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;usb: gadget: f_ncm: validate minimum block_len in ncm_unwrap_ntb()&lt;/p&gt;
&lt;p&gt;The block_len read from the host-supplied NTB header is checked against
ntb_max but has no lower bound. When block_len is smaller than
opts-&amp;gt;ndp_size, the bounds check of:
	ndp_index &amp;gt; (block_len - opts-&amp;gt;ndp_size)
will underflow producing a huge unsigned value that ndp_index can never
exceed, defeating the check entirely.&lt;/p&gt;
&lt;p&gt;The same underflow occurs in the datagram index checks against block_len
- opts-&amp;gt;dpe_size.  With those checks neutered, a malicious USB host can
choose ndp_index and datagram offsets that point past the actual
transfer, and the skb_put_data() copies adjacent kernel memory into the
network skb.&lt;/p&gt;
&lt;p&gt;Fix this by rejecting block lengths that cannot hold at least the NTB
header plus one NDP.  This will make block_len - opts-&amp;gt;ndp_size and
block_len - opts-&amp;gt;dpe_size both well-defined.&lt;/p&gt;
&lt;p&gt;Commit 8d2b1a1ec9f5 (&amp;#34;CDC-NCM: avoid overflow in sanity checking&amp;#34;) fixed
a related class of issues on the host side of NCM.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-31617</guid>
    </item>
  </channel>
</rss>
