Linux
media: videobuf2: forbid remove_bufs when legacy fileio is active
In 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= a3293a85381ec9680aa2929547fbc76c5d87a1b2, < a6a493b985bfffac097a4e1be09f98b27729dca8
- >= a3293a85381ec9680aa2929547fbc76c5d87a1b2, < e819b34df0a7030a15c968d619fa8a3ed2455c7a
- >= a3293a85381ec9680aa2929547fbc76c5d87a1b2, < 27afd6e066cfd80ddbe22a4a11b99174ac89cced
Fixed in a6a493b985bfffac097a4e1be09f98b27729dca8, e819b34df0a7030a15c968d619fa8a3ed2455c7a, 27afd6e066cfd80ddbe22a4a11b99174ac89cced
- 6.10
Fixed in 0, 6.12.58, 6.17.8, 6.18
Mitigation
Upgrade Linux to a6a493b985bfffac097a4e1be09f98b27729dca8 or e819b34df0a7030a15c968d619fa8a3ed2455c7a or 27afd6e066cfd80ddbe22a4a11b99174ac89cced or later.
Upgrade Linux to 0 or 6.12.58 or 6.17.8 or 6.18 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.