Skip to main content
← All vulnerabilities
CVE-2025-40302

media: videobuf2: forbid remove_bufs when legacy fileio is active

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.58, 6.17.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From a3293a85381ec9680aa2929547fbc76c5d87a1b2 · fixed in a6a493b985bfffac097a4e1be09f98b27729dca8; From a3293a85381ec9680aa2929547fbc76c5d87a1b2 · fixed in e819b34df0a7030a15c968d619fa8a3ed2455c7a; From a3293a85381ec9680aa2929547fbc76c5d87a1b2 · fixed in 27afd6e066cfd80ddbe22a4a11b99174ac89cced

  • Linux Linux

    6.10

  • KernelLinux

    From 6.10.0 · fixed in 6.12.58; From 6.13.0 · fixed in 6.17.8

References 3

git.kernel.org