Description
In the Linux kernel, the following vulnerability has been resolved: media: stv0900: bound DiSEqC reply length to msg[] size The FIFO_BYTENBR field is 4 bits (mask 0x0f), giving a length of 0..15 but reply->msg is __u8[4] in struct dvb_diseqc_slave_reply. A faulty or malicious device 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
99277b3824e4bfd290c30e8981929373c9a9e6a4 to < f48c6fc2481c507d84278e781f279deacac0b91caffected99277b3824e4bfd290c30e8981929373c9a9e6a4 to < 2ff8c697358649f6795305ffdd3e763f4f24abc7affected99277b3824e4bfd290c30e8981929373c9a9e6a4 to < afc9cc35ed214391e03c1cfa44d85574a95f80a3affected99277b3824e4bfd290c30e8981929373c9a9e6a4 to < cac52936e3564d081f1e3fdf2b20924f0495f6e7affected99277b3824e4bfd290c30e8981929373c9a9e6a4 to < 8d1cf1a3de3647565d2ce60daf1448defe6cc7ceaffected99277b3824e4bfd290c30e8981929373c9a9e6a4 to < 8018d370be35e9f9ad9193a785b44179d4d55251affected99277b3824e4bfd290c30e8981929373c9a9e6a4 to < d8dbd8de9334c079c90cfdc2bac081e3b62c0d8daffected99277b3824e4bfd290c30e8981929373c9a9e6a4 to < 6d7e70111b9c80a9e4cb17fe6a6c4f5470847722affected
Linux Linux
Default version status: affected
2.6.30affected0 to < 2.6.30unaffected5.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/f48c6fc2481c507d84278e781f279deacac0b91c ↗
- https://git.kernel.org/stable/c/2ff8c697358649f6795305ffdd3e763f4f24abc7 ↗
- https://git.kernel.org/stable/c/afc9cc35ed214391e03c1cfa44d85574a95f80a3 ↗
- https://git.kernel.org/stable/c/cac52936e3564d081f1e3fdf2b20924f0495f6e7 ↗
- https://git.kernel.org/stable/c/8d1cf1a3de3647565d2ce60daf1448defe6cc7ce ↗
- https://git.kernel.org/stable/c/8018d370be35e9f9ad9193a785b44179d4d55251 ↗
- https://git.kernel.org/stable/c/d8dbd8de9334c079c90cfdc2bac081e3b62c0d8d ↗
- https://git.kernel.org/stable/c/6d7e70111b9c80a9e4cb17fe6a6c4f5470847722 ↗