{"id":"CVE-2025-40302","published":"2025-12-08T00:46:26Z","modified":"2026-10-15T22:02:43Z","title":"media: videobuf2: forbid remove_bufs when legacy fileio is active","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: videobuf2: forbid remove_bufs when legacy fileio is active\n\nvb2_ioctl_remove_bufs() call manipulates queue internal buffer list,\npotentially overwriting some pointers used by the legacy fileio access\nmode. Forbid that ioctl when fileio is active to protect internal queue\nstate between subsequent read/write calls.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00151,"percentile":0.04318,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a6a493b985bfffac097a4e1be09f98b27729dca8","tags":[]},{"url":"https://git.kernel.org/stable/c/e819b34df0a7030a15c968d619fa8a3ed2455c7a","tags":[]},{"url":"https://git.kernel.org/stable/c/27afd6e066cfd80ddbe22a4a11b99174ac89cced","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":0.86},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a3293a85381ec9680aa2929547fbc76c5d87a1b2, < a6a493b985bfffac097a4e1be09f98b27729dca8",">= a3293a85381ec9680aa2929547fbc76c5d87a1b2, < e819b34df0a7030a15c968d619fa8a3ed2455c7a",">= a3293a85381ec9680aa2929547fbc76c5d87a1b2, < 27afd6e066cfd80ddbe22a4a11b99174ac89cced"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:58:57.256388Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-201643","exploited":false,"provenance":"source"}}