Bug 2419907 (CVE-2025-40302) - CVE-2025-40302 kernel: media: videobuf2: forbid remove_bufs when legacy fileio is active
Summary: CVE-2025-40302 kernel: media: videobuf2: forbid remove_bufs when legacy filei...
Keywords:
Status: NEW
Alias: CVE-2025-40302
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-08 07:07 UTC by OSIDB Bzimport
Modified: 2025-12-22 23:08 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-08 07:07:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.