{"id":17333,"date":"2026-09-05T02:31:00","date_gmt":"2026-09-04T18:31:00","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80829"},"modified":"2026-09-05T02:31:00","modified_gmt":"2026-09-04T18:31:00","slug":"cve-2026-80829","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-80829","title":{"rendered":"CVE-2026-80829 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: fix"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ALSA: usb-audio: fix OOB write in snd_usbmidi_novation_output()<\/p>\n<p>snd_usbmidi_novation_output() lays out a two-byte header at<br \/>\ntransfer_buffer[0..1] and passes &amp;transfer_buffer[2] together with a<br \/>\nlength of ep-&gt;max_transfer &#8211; 2 to snd_rawmidi_transmit():<\/p>\n<p>\tcount = snd_rawmidi_transmit(ep-&gt;ports[0].substream,<br \/>\n\t\t\t\t     &amp;transfer_buffer[2],<br \/>\n\t\t\t\t     ep-&gt;max_transfer &#8211; 2);<\/p>\n<p>ep-&gt;max_transfer comes from the output endpoint&#8217;s wMaxPacketSize via<br \/>\nusb_maxpacket(). A malformed or malicious device can advertise a bulk<br \/>\nOUT endpoint with a wMaxPacketSize of 1 &#8211; the USB core only clamps this<br \/>\nvalue downwards &#8211; so ep-&gt;max_transfer becomes 1 and the count argument<br \/>\nbecomes -1.<\/p>\n<p>snd_rawmidi_transmit() passes the negative count on to<br \/>\n__snd_rawmidi_transmit_peek(), where &#8220;if (count1 &gt; count) count1 = count&#8221;<br \/>\nleaves count1 negative; get_aligned_size() keeps it negative for a<br \/>\nbyte-stream substream, so the following memcpy(buffer, &#8230;, count1) runs<br \/>\nwith a (size_t)-1 length and writes far past the transfer buffer, which<br \/>\nwas allocated with usb_alloc_coherent(ep-&gt;max_transfer).<\/p>\n<p>This is the same class of bug that was fixed for snd_usbmidi_akai_output()<br \/>\nin commit 0970274613fb (&#8220;ALSA: usb-audio: fix OOB write in<br \/>\nsnd_usbmidi_akai_output()&#8221;); the novation output routine was left<br \/>\nunguarded. Bail out when the endpoint cannot hold the two-byte header<br \/>\nplus at least one payload byte.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ALSA: usb-audio: fix OOB write in snd_usbmidi_novation_output()<\/p>\n<p>snd_usbmidi_novation_output() lays out a two-byte header at<br \/>\ntransf<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-17333","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/17333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}