media: usbtv: Lock resolution while streaming
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0e0fe3958fdd13dbf55c3a787acafde6efd04272 · < c3d75524e10021aa5c223d94da4996640aed46c0| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: usbtv: Lock resolution while streaming
When an program is streaming (ffplay) and another program (qv4l2) changes the TV standard from NTSC to PAL, the kernel crashes due to trying to copy to unmapped memory.
Changing from NTSC to PAL increases the resolution in the usbtv struct, but the video plane buffer isn't adjusted, so it overflows.
[hverkuil: call vb2_is_busy instead of vb2_is_streaming]
From the CVE record · Linux
The Linux kernel’s usbtv driver can overflow a video buffer when one program changes the TV standard from NTSC to PAL while another is streaming. This can crash the kernel; it requires programs running on the system to stream video and change the standard concurrently.
Engineers running Linux systems that use the usbtv media driver should check whether their kernel is affected; affected versions were not specified.