Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
- >= 6.17, < 6.17.6
A vulnerability exists in the Linux kernel's videobuf2 DMA scatter/gather memory management, specifically in the handling of virtual memory area (VMA) flags. The issue arises because the vb2_dma_sg_mmap function does not set the VMA flags VM_DONTEXPAND and VM_DONTDUMP, unlike the vb2_dma_contig function, which does. This discrepancy can lead to warnings during the memory mapping of imported DMA buffers from certain camera drivers that utilize the videobuf2 DMA scatter/gather operations.
Exploitation of this vulnerability can cause the system to issue warnings about VMA flag handling, which may indicate deeper issues with memory management in the affected drivers.
The vulnerability can be reproduced by using the 'gst-launch-1.0' command with 'v4l2src' and 'gtk4paintablesink' to create a pipeline that imports a DMA buffer from a camera driver that uses videobuf2 DMA scatter/gather memory operations. This will trigger the warning about the missing VM_DONTEXPAND flag, indicating that the vulnerability is present.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.