CVE-2025-40302
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-40302, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-08

Last updated on: 2025-12-08

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-08
Last Modified
2025-12-08
Generated
2026-07-06
AI Q&A
2025-12-08
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability occurs in the Linux kernel's media subsystem, specifically in the videobuf2 component. The function vb2_ioctl_remove_bufs() manipulates the internal buffer list of a queue, which can overwrite pointers used by the legacy fileio access mode. The vulnerability arises because this ioctl call is allowed even when legacy fileio is active, potentially corrupting the internal queue state between read/write operations. The fix forbids this ioctl call when legacy fileio is active to prevent such corruption.

Impact Analysis

This vulnerability can lead to corruption of the internal buffer queue state in the Linux kernel's media subsystem when legacy fileio mode is active. Such corruption could cause unexpected behavior, crashes, or data integrity issues during media buffer operations, potentially affecting system stability or media processing reliability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-40302. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart