{"id":33334,"date":"2026-10-06T20:31:47","date_gmt":"2026-10-06T12:31:47","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98265"},"modified":"2026-10-06T20:31:47","modified_gmt":"2026-10-06T12:31:47","slug":"cve-2026-98265","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98265","title":{"rendered":"CVE-2026-98265 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Clam"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ALSA: usb-audio: Clamp implicit feedback packet count to URB capacity<\/p>\n<p>data_ep_set_params() allocates each data URB for exactly u-&gt;packets<br \/>\nisochronous frames, so urb-&gt;iso_frame_desc[] has u-&gt;packets slots and<br \/>\nctx-&gt;packets is the driver&#8217;s only record of that limit. For an implicit<br \/>\nfeedback sink, snd_usb_queue_pending_output_urbs() overwrites it with the<br \/>\nsync source&#8217;s packet count, which is calculated independently from the<br \/>\ncapture endpoint&#8217;s parameters. When that count is larger,<br \/>\nprepare_playback_urb() and prepare_silent_urb() can write<br \/>\niso_frame_desc[] past the allocation; their existing bounds limit payload<br \/>\nbytes, not the descriptor index.<\/p>\n<p>The reproducer uses a high-speed UAC2 device declaring bInterval 1 for<br \/>\nimplicit feedback capture (8 packets) and bInterval 4 for playback<br \/>\n(1 packet). On the first capture completion after the stream starts, it<br \/>\naccesses seven descriptors spanning 112 bytes beyond the one-packet URB:<\/p>\n<p>  BUG: KASAN: slab-out-of-bounds in prepare_playback_urb (sound\/usb\/pcm.c:1560)<br \/>\n  Write of size 4 at addr ffff88801e696ad0 by task vhci_rx\/178<br \/>\n   prepare_playback_urb (sound\/usb\/pcm.c:1560)<br \/>\n   prepare_outbound_urb (sound\/usb\/endpoint.c:340)<br \/>\n   snd_usb_queue_pending_output_urbs (sound\/usb\/endpoint.c:501)<br \/>\n   snd_complete_urb (sound\/usb\/endpoint.c:1834)<br \/>\n   __usb_hcd_giveback_urb (drivers\/usb\/core\/hcd.c:1657)<br \/>\n   usb_hcd_giveback_urb (drivers\/usb\/core\/hcd.c:1741)<br \/>\n   vhci_rx_loop (drivers\/usb\/usbip\/vhci_rx.c:107)<br \/>\n   kthread (kernel\/kthread.c:436)<br \/>\n  The buggy address belongs to the object at ffff88801e696a00<br \/>\n   which belongs to the cache kmalloc-256 of size 256<br \/>\n  The buggy address is located 0 bytes to the right of<br \/>\n   allocated 208-byte region [ffff88801e696a00, ffff88801e696ad0)<\/p>\n<p>Record the allocated packet count per endpoint and clamp both the adopted<br \/>\ncount and the packet-size copy to it. Fold the Format Type II delimiter<br \/>\ninto urb_packs before the allocation loop so the recorded limit matches<br \/>\nevery URB.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ALSA: usb-audio: Clamp implicit feedback packet count to URB capacity<\/p>\n<p>data_ep_set_params() allocates each data URB for exactly u-&gt;<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-33334","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/33334","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=33334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}