cbcvebase.
CVE-2025-40302
published 2025-12-08

CVE-2025-40302: In the Linux kernel, the following vulnerability has been resolved: media: videobuf2: forbid remove_bufs when legacy fileio is active vb2_ioctl_remove_bufs()…

PriorityP339high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.13%
2.7th percentile
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

12 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.17.8-1 (forky)linux 6.17.8-1 (forky)
linuxlinux
linuxlinux>= a3293a85381ec9680aa2929547fbc76c5d87a1b2 < a6a493b985bfffac097a4e1be09f98b27729dca8a6a493b985bfffac097a4e1be09f98b27729dca8
linuxlinux>= a3293a85381ec9680aa2929547fbc76c5d87a1b2 < e819b34df0a7030a15c968d619fa8a3ed2455c7ae819b34df0a7030a15c968d619fa8a3ed2455c7a
linuxlinux>= a3293a85381ec9680aa2929547fbc76c5d87a1b2 < 27afd6e066cfd80ddbe22a4a11b99174ac89cced27afd6e066cfd80ddbe22a4a11b99174ac89cced
linuxlinux_kernel>= 0 < 6.12.63-16.12.63-1
linuxlinux_kernel>= 0 < 6.17.8-16.17.8-1
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 6.10.0 < 6.12.586.12.58
linuxlinux_kernel>= 6.13.0 < 6.17.86.17.8
ubuntulinux-aws
ubuntulinux-oracle

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vendor_redhat6.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.