Where
-Infinity
0

In the Linux kernel, the following vulnerability has been resolved:

ALSA: firewire: isight: bound the sample count to the packet payload

isightpacket() takes the frame count from the device iso packet and checks it only against the device claimed iso length.

count = be32tocpu(payload->samplecount); if (likely(count <= (length - 16) / 4)) isightsamples(isight, payload->samples, count);

length is the iso header datalength. It can be up to 0xffff. So the gate allows a count up to about 16379. isightsamples() then copies count frames out of payload->samples into the PCM DMA buffer.

payload->samples holds only 2 MAXFRAMESPERPACKET values. The device multiplexes two samples per frame. A count past MAXFRAMESPERPACKET reads past the payload. A count past the buffer size writes past runtime->dmaarea. The smallest PCM buffer is larger than MAXFRAMESPERPACKET. Bounding the count to MAXFRAMESPERPACKET keeps both the read and the write in range.

A malicious or faulty Apple iSight on the FireWire bus reaches this during a normal capture.

Add the MAXFRAMESPERPACKET bound to the gate.

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203