{"id":"AZL-115387","summary":"CVE-2026-99611 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: line6: Reject capture buffers smaller than two packets\n\nline6_capture_copy() splits the copy into the ALSA ring buffer once at\nthe buffer end and wraps pos_done once, which is only correct when one\npacket holds at most buffer_size frames. The packet size comes from the\ndevice's endpoint, and the per-device hw structs allow 64-byte periods\nwith periods_min 1, so a packet can be larger than the whole buffer.\naudio_in_callback() logs an oversized packet and then copies it anyway.\n\nThe packet size is known at probe time, so constrain\nSNDRV_PCM_HW_PARAM_BUFFER_BYTES in snd_line6_capture_open() to at least\ntwice the larger of the two endpoints' packet sizes. Two rather than\none, because pos_done advances by the packet and wraps once, so a buffer\nof exactly one packet leaves the position unchanged after every packet.\nhw_params then rejects a buffer that cannot hold two packets, and the\nsingle wrap is valid for every configuration that gets through. Keep a\nguard in line6_capture_copy() that drops an oversized packet with a\nratelimited error, for the case that should no longer be reachable.\n\nReproduced on 7.3-rc7 with a USB/IP device presenting the GuitarPort\ninterface layout and 1024-byte packets into a 128-byte buffer: ALSA\nlogged \"invalid position: pos = 224, buffer size = 32\" and the driver\nlogged \"driver bug: len\" on every following packet. With this patch a\n1024-byte buffer is refused at hw_params, and a 2048-byte buffer streams\nfor 30 s with no report and with the position moving inside the buffer.","modified":"2026-11-21T14:17:23.656937263Z","published":"2026-11-20T06:17:53Z","upstream":["CVE-2026-99611"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99611"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-115387.json"}}],"schema_version":"1.9.2"}