Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.
A successful attack has high impact: crashing the system or making it unavailable.
Weakness type: Out-of-bounds read.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
In the Linux kernel, the following vulnerability has been resolved:
ALSA: firewire: isight: bound the sample count to the packet payload
isight_packet() takes the frame count from the device iso packet and
checks it only against the device claimed iso length.
count = be32_to_cpu(payload->sample_count);
if (likely(count <= (length - 16) / 4))
isight_samples(isight, payload->samples, count);
length is the iso header data_length. It can be up to 0xffff. So the
gate allows a count up to about 16379. isight_samples() then copies
count frames out of payload->samples into the PCM DMA buffer.
payload->samples holds only 2 * MAX_FRAMES_PER_PACKET values. The
device multiplexes two samples per frame. A count past
MAX_FRAMES_PER_PACKET reads past the payload. A count past the buffer
size writes past runtime->dma_area. The smallest PCM buffer is larger
than MAX_FRAMES_PER_PACKET. Bounding the count to MAX_FRAMES_PER_PACKET
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 MAX_FRAMES_PER_PACKET bound to the gate.
Weakness: CWE-125 – Out-of-bounds read
| Vendor | Product | Versions |
|---|---|---|
| linux | linux kernel | >=3.0 <5.10.261 |
| linux | linux kernel | >=5.11 <5.15.212 |
| linux | linux kernel | >=5.16 <6.1.178 |
| linux | linux kernel | >=6.2 <6.6.145 |
| linux | linux kernel | >=6.7 <6.12.96 |
| linux | linux kernel | >=6.13 <6.18.39 |
| linux | linux kernel | >=6.19 <7.1.4 |