CVE Catalog

CVE-2025-40302

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel, the videobuf2 driver lacks protection against calling the remove_bufs ioctl while legacy fileio mode is active. This could overwrite pointers used by fileio and corrupt the internal queue state.

Risk Assessment

Risk of data corruption or system crash during video file read/write operations when buffer removal is performed simultaneously. This could lead to unpredictable driver behavior.

Recommendation

Apply the Linux kernel patch that blocks remove_bufs calls while fileio is active. Update the system to a kernel version containing the fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS