media: dvb-usb: dtv5100: fix out-of-bounds in dtv5100_i2c_msg()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 60688d5e6e6e2ae62f29762d1e3b2aec2dbd3817 · < ac92151ff2494130d9fc686055d6bbb9743a673e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: dvb-usb: dtv5100: fix out-of-bounds in dtv5100_i2c_msg()
rlen value is a user-controlled value, but dtv5100_i2c_msg() does not check the size of the rlen value. Therefore, if it is set to a value larger than sizeof(st->data), an out-of-bounds vuln occurs for st->data.
Therefore, we need to add proper range checking to prevent this vuln.
From the CVE record · Linux
The Linux kernel's dtv5100_i2c_msg() does not check whether the user-controlled rlen exceeds the size of st->data. An attacker who can control rlen can trigger an out-of-bounds access; the input does not specify network or local access requirements, authentication, or user interaction.
Engineers running Linux kernels with the dvb-usb dtv5100 driver should check their versions against the vendor advisory; affected versions are not specified.