Description
In the Linux kernel, the following vulnerability has been resolved: media: stv090x: bound DiSEqC reply length to msg[] size The FIFO_BYTENBR_FIELD register field is 4 bits wide, giving a length of 0..15, but reply->msg is __u8[4] in struct dvb_diseqc_slave_reply. A faulty or malicious DiSEqC slave (or i2c bus glitch) reporting more than 4 bytes will the array and clobber the stack. The stb0899, tda10071, and s5h1420 drivers all properly bound the FIFO count against sizeof(reply->msg) before the read loop, so do the same thing in this driver.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e415c689a8842670e161581f060575c14957f073 to < ffd09e150a9e91f4069fb91a533c9bdc856d47c5affectede415c689a8842670e161581f060575c14957f073 to < 47aa11de159f63d4a3bb171555e2e8bcdd7685fbaffectede415c689a8842670e161581f060575c14957f073 to < d9d4748a53894e6bebc33c682b01ad8d4ae3378aaffectede415c689a8842670e161581f060575c14957f073 to < df3e35afb28b3b04dd8c2bfdf1dc0b8119ff6b87affectede415c689a8842670e161581f060575c14957f073 to < 96154ed498d5ca7a883c61ca5904d4243106f737affectede415c689a8842670e161581f060575c14957f073 to < de92aa70a36a4f01b6007f8792ca89c6d6993185affectede415c689a8842670e161581f060575c14957f073 to < 02d9c31a3f6476333b590c4e30407e75309020f7affectede415c689a8842670e161581f060575c14957f073 to < bad6ce6e0856f344910ba95b006e6c0ebee2d9c8affected
Linux Linux
Default version status: affected
2.6.31affected0 to < 2.6.31unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.117 to ≤ 6.12.*unaffected6.18.63 to ≤ 6.18.*unaffected7.3.4 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ffd09e150a9e91f4069fb91a533c9bdc856d47c5 ↗
- https://git.kernel.org/stable/c/47aa11de159f63d4a3bb171555e2e8bcdd7685fb ↗
- https://git.kernel.org/stable/c/d9d4748a53894e6bebc33c682b01ad8d4ae3378a ↗
- https://git.kernel.org/stable/c/df3e35afb28b3b04dd8c2bfdf1dc0b8119ff6b87 ↗
- https://git.kernel.org/stable/c/96154ed498d5ca7a883c61ca5904d4243106f737 ↗
- https://git.kernel.org/stable/c/de92aa70a36a4f01b6007f8792ca89c6d6993185 ↗
- https://git.kernel.org/stable/c/02d9c31a3f6476333b590c4e30407e75309020f7 ↗
- https://git.kernel.org/stable/c/bad6ce6e0856f344910ba95b006e6c0ebee2d9c8 ↗