<?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-29T06:26:15.820722+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-80971</id>
    <title>CVE-2026-80971 — ALSA: bcd2000: clear the URB pointers on disconnect</title>
    <updated>2026-09-29T06:26:15.837601+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: bcd2000: clear the URB pointers on disconnect</p>
<p>bcd2000_free_usb_related_resources() frees both URBs and leaves the
pointers behind:</p>
<p>usb_kill_urb(bcd2k-&gt;midi_out_urb);
	usb_kill_urb(bcd2k-&gt;midi_in_urb);</p>
<p>usb_free_urb(bcd2k-&gt;midi_out_urb);
	usb_free_urb(bcd2k-&gt;midi_in_urb);</p>
<p>The rawmidi device outlives that call.  A substream that is still open
when the device is unplugged reaches bcd2000_midi_send() from the
trigger path on close.  That function writes to the freed URB and then
hands it to the USB core:</p>
<p>bcd2k-&gt;midi_out_urb-&gt;transfer_buffer_length = BUFSIZE;
	...
	ret = usb_submit_urb(bcd2k-&gt;midi_out_urb, GFP_ATOMIC);</p>
<p>usb_kill_urb() does not stop a later submission either, so a submit that
races the disconnect can requeue the URB after it has been reaped.
midi_in_urb is exposed the same way: bcd2000_input_complete() resubmits
it from the completion handler.</p>
<p>KASAN on 7.2.0-rc5 (arm64):</p>
<p>BUG: KASAN: slab-use-after-free in bcd2000_midi_send [snd_bcd2000]
  Write of size 4 at addr ffff00001827d388 by task bpoc/168
   __asan_store4
   bcd2000_midi_send [snd_bcd2000]
   bcd2000_midi_output_trigger [snd_bcd2000]
   snd_rawmidi_kernel_write1
   close_substream.part.0
  Freed by task 168:
   usb_free_urb
   bcd2000_disconnect [snd_bcd2000]</p>
<p>BUG: KASAN: slab-use-after-free in usb_submit_urb
  Read of size 8 at addr ffff00001827d3b8 by task bpoc/168</p>
<p>Clear both pointers after freeing and test them on th…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-80971"/>
  </entry>
</feed>
