media: videobuf2: forbid remove_bufs when legacy fileio is active
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.586.17.86.18In the Linux kernel, the following vulnerability has been resolved:
media: videobuf2: forbid remove_bufs when legacy fileio is active
vb2_ioctl_remove_bufs() call manipulates queue internal buffer list, potentially overwriting some pointers used by the legacy fileio access mode. Forbid that ioctl when fileio is active to protect internal queue state between subsequent read/write calls.
From the CVE record · Linux
The Linux kernel's videobuf2 remove_bufs ioctl can overwrite pointers used by legacy file I/O when that mode is active. A caller with access to the device can trigger this condition through local ioctl and read/write calls; the input does not specify authentication requirements or further impact.
Teams running Linux kernels with the affected videobuf2 code should check their versions against the vendor advisory; affected versions were not provided.