Input: synaptics-rmi4 - block s_input when F54 queue is busy
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3a762dbd5347514c3cb2ac756a92a3d1c7646a2d · < ff0849705d29277fd1f6fc6596674b9308724fb2| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Input: synaptics-rmi4 - block s_input when F54 queue is busy
Changing the input (diagnostic report type) mid-stream changes the report size. Since V4L2 buffers are allocated based on the size at stream start, changing the input while streaming could lead to a heap buffer overflow if the new size is larger than the allocated buffers.
Prevent this by blocking VIDIOC_S_INPUT with -EBUSY if the V4L2 queue is busy (streaming).
From the CVE record · Linux
The Linux kernel’s synaptics-rmi4 driver could overflow a heap buffer if the diagnostic report type is changed to a larger size while V4L2 streaming is active. An attacker able to change that input during streaming could trigger the overflow; the input does not specify authentication requirements.
Engineers running Linux systems that use the synaptics-rmi4 driver should check their kernel versions; affected versions were not provided.