{"id":"CVE-2025-40302","title":"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 poi…","summary":"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 poi…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","vendor":"Linux","product":"Linux","affected":["Linux >= a3293a85381ec9680aa2929547fbc76c5d87a1b2 < a6a493b985bfffac097a4e1be09f98b27729dca8","Linux >= a3293a85381ec9680aa2929547fbc76c5d87a1b2 < e819b34df0a7030a15c968d619fa8a3ed2455c7a","Linux >= a3293a85381ec9680aa2929547fbc76c5d87a1b2 < 27afd6e066cfd80ddbe22a4a11b99174ac89cced","Linux 6.10"],"published":"2025-12-08","updated":"2026-10-15","sourceUpdated":"2026-10-15T22:19:07.427","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-40302","references":[{"url":"https://git.kernel.org/stable/c/27afd6e066cfd80ddbe22a4a11b99174ac89cced","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a6a493b985bfffac097a4e1be09f98b27729dca8","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e819b34df0a7030a15c968d619fa8a3ed2455c7a","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"epss":0.00141,"epssPercentile":0.03384,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:58:57.256388Z"},"ingestedAt":"2026-10-14T23:00:02.018Z","slug":"CVE-2025-40302","body":"## Overview\n\nIn 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}