CVE-2026-139032: media: stv0900: bound DiSEqC reply length to msg[] size
In the Linux kernel, the following vulnerability has been resolved:
media: stv0900: bound DiSEqC reply length to msg[] size
The FIFOBYTENBR field is 4 bits (mask 0x0f), giving a length of 0..15 but reply->msg is u8[4] in struct dvbdiseqcslavereply. 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the stv0900 driver, bound the DiSEqC reply read count against sizeof(reply->msg) before the read loop.