CVE-2025-40302

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux
PublishedDec 8, 2025
First seenDec 8, 2025

How to fix

Update
  • Linux Linuxa6a493b985bfffac097a4e1be09f98b27729dca8, e819b34df0a7030a15c968d619fa8a3ed2455c7a, 27afd6e066cfd80ddbe22a4a11b99174ac89cced or later

Affected products

ProductAffected versionsFixed in
Linux Linuxa3293a85381ec9680aa2929547fbc76c5d87a1b2 ≤ v < a6a493b985bfffac097a4e1be09f98b27729dca8, a3293a85381ec9680aa2929547fbc76c5d87a1b2 ≤ v < e819b34df0a7030a15c968d619fa8a3ed2455c7a, a3293a85381ec9680aa2929547fbc76c5d87a1b2 ≤ v < 27afd6e066cfd80ddbe22a4a11b99174ac89cced, 6.10a6a493b985bfffac097a4e1be09f98b27729dca8, e819b34df0a7030a15c968d619fa8a3ed2455c7a, 27afd6e066cfd80ddbe22a4a11b99174ac89cced

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-40302 · Linux · Dark Radar