<?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://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T05:18:18.014680+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" 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://cve.radiocsirt.org/vuln/cve-2026-80970</id>
    <title>CVE-2026-80970 — ALSA: FCP: do not copy out an uninitialised init response</title>
    <updated>2026-10-07T05:18:18.029624+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>ALSA: FCP: do not copy out an uninitialised init response</p>
<p>fcp_ioctl_init() allocates its response buffer with kmalloc() and copies
the whole buffer back to userspace:</p>
<p>buf_size = init.step0_resp_size + init.step2_resp_size;</p>
<p>void *resp __free(kfree) =
		kmalloc(buf_size, GFP_KERNEL);
	...
	if (copy_to_user(arg-&gt;resp, resp, buf_size))
		return -EFAULT;</p>
<p>Nothing clears the buffer, and the only writer of its leading
step0_resp_size bytes is the step-0 control transfer:</p>
<p>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-&gt;bInterfaceNumber,
		step0_resp, private-&gt;step0_resp_size);
	if (err &lt; 0)
		return err;</p>
<p>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 &lt; 0, so a short
transfer is accepted as success.</p>
<p>snd_usb_ctl_msg() copies the full size back unconditionally:</p>
<p>buf = kmemdup(data, size, GFP_KERNEL);
	...
	memcpy(data, buf, size);</p>
<p>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.</p>
<p>On 7.2.0-rc5 (arm64), device answering step 0 with a zero-length data
stage, s0 = s2 = 255:</p>
<p># init_on_a…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-80970"/>
  </entry>
</feed>
