PT-2026-152491

CVE-2026-99611

·

تاريخ النشر

2026-11-20

·

تاريخ التحديث

2026-11-20

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
ALSA: line6: Reject capture buffers smaller than two packets
line6 capture copy() splits the copy into the ALSA ring buffer once at the buffer end and wraps pos done once, which is only correct when one packet holds at most buffer size frames. The packet size comes from the device's endpoint, and the per-device hw structs allow 64-byte periods with periods min 1, so a packet can be larger than the whole buffer. audio in callback() logs an oversized packet and then copies it anyway.
The packet size is known at probe time, so constrain SNDRV PCM HW PARAM BUFFER BYTES in snd line6 capture open() to at least twice the larger of the two endpoints' packet sizes. Two rather than one, because pos done advances by the packet and wraps once, so a buffer of exactly one packet leaves the position unchanged after every packet. hw params then rejects a buffer that cannot hold two packets, and the single wrap is valid for every configuration that gets through. Keep a guard in line6 capture copy() that drops an oversized packet with a ratelimited error, for the case that should no longer be reachable.
Reproduced on 7.3-rc7 with a USB/IP device presenting the GuitarPort interface layout and 1024-byte packets into a 128-byte buffer: ALSA logged "invalid position: pos = 224, buffer size = 32" and the driver logged "driver bug: len" on every following packet. With this patch a 1024-byte buffer is refused at hw params, and a 2048-byte buffer streams for 30 s with no report and with the position moving inside the buffer.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾