drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ df70ddad81b47c57bcccffc805fbd75f2f1b2dc6 · < 58f31be7dfbc0c84a6497ad51924949cf64b86a2| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error
Ensure index in rtl2830_pid_filter does not exceed 31 to prevent out-of-bounds access.
dev->filters is a 32-bit value, so set_bit and clear_bit functions should only operate on indices from 0 to 31. If index is 32, it will attempt to access a non-existent 33rd bit, leading to out-of-bounds access. Change the boundary check from index > 32 to index >= 32 to resolve this issue.
From the CVE record · Linux
The Linux kernel’s rtl2830 PID filter can write out of bounds when given index 32, because its filter value supports only indices 0 through 31. The input does not specify how an attacker could trigger this, or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the rtl2830 DVB frontend should check their installations; affected versions are not specified.