<?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://cve.radiocsirt.org</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>Tue, 06 Oct 2026 19:47:54 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-80970 — ALSA: FCP: do not copy out an uninitialised init response</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-80970</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;ALSA: FCP: do not copy out an uninitialised init response&lt;/p&gt;
&lt;p&gt;fcp_ioctl_init() allocates its response buffer with kmalloc() and copies
the whole buffer back to userspace:&lt;/p&gt;
&lt;p&gt;buf_size = init.step0_resp_size + init.step2_resp_size;&lt;/p&gt;
&lt;p&gt;void *resp __free(kfree) =
		kmalloc(buf_size, GFP_KERNEL);
	...
	if (copy_to_user(arg-&amp;gt;resp, resp, buf_size))
		return -EFAULT;&lt;/p&gt;
&lt;p&gt;Nothing clears the buffer, and the only writer of its leading
step0_resp_size bytes is the step-0 control transfer:&lt;/p&gt;
&lt;p&gt;err = snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0),
		FCP_USB_REQ_STEP0,
		USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_IN,
		0, private-&amp;gt;bInterfaceNumber,
		step0_resp, private-&amp;gt;step0_resp_size);
	if (err &amp;lt; 0)
		return err;&lt;/p&gt;
&lt;p&gt;usb_fill_control_urb() does not set URB_SHORT_NOT_OK, so a short or
zero-length data stage completes with status 0 and snd_usb_ctl_msg()
returns a small actual_length.  The only check is err &amp;lt; 0, so a short
transfer is accepted as success.&lt;/p&gt;
&lt;p&gt;snd_usb_ctl_msg() copies the full size back unconditionally:&lt;/p&gt;
&lt;p&gt;buf = kmemdup(data, size, GFP_KERNEL);
	...
	memcpy(data, buf, size);&lt;/p&gt;
&lt;p&gt;Bytes the device never wrote are therefore restored into resp unchanged
and copied to userspace.  step0_resp_size and step2_resp_size are each
validated only to 1..255, so the caller also picks the slab cache, from
kmalloc-8 up to kmalloc-512.&lt;/p&gt;
&lt;p&gt;On 7.2.0-rc5 (arm64), device answering step 0 with a zero-length data
stage, s0 = s2 = 255:&lt;/p&gt;
&lt;p&gt;# init_on_a…&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;ALSA: FCP: do not copy out an uninitialised init response&lt;/p&gt;
&lt;p&gt;fcp_ioctl_init() allocates its response buffer with kmalloc() and copies
the whole buffer back to userspace:&lt;/p&gt;
&lt;p&gt;buf_size = init.step0_resp_size + init.step2_resp_size;&lt;/p&gt;
&lt;p&gt;void *resp __free(kfree) =
		kmalloc(buf_size, GFP_KERNEL);
	...
	if (copy_to_user(arg-&amp;gt;resp, resp, buf_size))
		return -EFAULT;&lt;/p&gt;
&lt;p&gt;Nothing clears the buffer, and the only writer of its leading
step0_resp_size bytes is the step-0 control transfer:&lt;/p&gt;
&lt;p&gt;err = snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0),
		FCP_USB_REQ_STEP0,
		USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_IN,
		0, private-&amp;gt;bInterfaceNumber,
		step0_resp, private-&amp;gt;step0_resp_size);
	if (err &amp;lt; 0)
		return err;&lt;/p&gt;
&lt;p&gt;usb_fill_control_urb() does not set URB_SHORT_NOT_OK, so a short or
zero-length data stage completes with status 0 and snd_usb_ctl_msg()
returns a small actual_length.  The only check is err &amp;lt; 0, so a short
transfer is accepted as success.&lt;/p&gt;
&lt;p&gt;snd_usb_ctl_msg() copies the full size back unconditionally:&lt;/p&gt;
&lt;p&gt;buf = kmemdup(data, size, GFP_KERNEL);
	...
	memcpy(data, buf, size);&lt;/p&gt;
&lt;p&gt;Bytes the device never wrote are therefore restored into resp unchanged
and copied to userspace.  step0_resp_size and step2_resp_size are each
validated only to 1..255, so the caller also picks the slab cache, from
kmalloc-8 up to kmalloc-512.&lt;/p&gt;
&lt;p&gt;On 7.2.0-rc5 (arm64), device answering step 0 with a zero-length data
stage, s0 = s2 = 255:&lt;/p&gt;
&lt;p&gt;# init_on_a…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-80970</guid>
    </item>
  </channel>
</rss>
