CVE-2025-40302

medium

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.

References

https://git.kernel.org/stable/c/e819b34df0a7030a15c968d619fa8a3ed2455c7a

https://git.kernel.org/stable/c/a6a493b985bfffac097a4e1be09f98b27729dca8

https://git.kernel.org/stable/c/27afd6e066cfd80ddbe22a4a11b99174ac89cced

Details

Source: Mitre, NVD

Published: 2025-12-08

Updated: 2025-12-08

Risk Information

CVSS v2

Base Score: 5.5

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 6.3

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Severity: Medium

EPSS

EPSS: 0.00017