Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's V3D graphics driver can lead to debug warnings about DMA segment size mismatches. This issue occurs when V3D rendering is used with DMA API debugging enabled, and the 'max_seg_size' parameter is not properly set. As a result, the kernel defaults to a maximum segment size of 64K, causing 'debug_dma_map_sg()' to issue warnings about segments being mapped longer than the device supports. The vulnerability has been addressed by setting 'max_seg_size' to the maximum allowable value, preventing these debug warnings.
The vulnerability could cause unnecessary debug warnings about DMA segment mapping, which could be misleading during development or troubleshooting.
To reproduce this vulnerability, enable V3D rendering and activate CONFIG_DMA_API_DEBUG. This will trigger the debug warnings about the segment size mismatch, as the 'max_seg_size' will not be set correctly, leading to an over-mapping of the V3D segment length.
The vulnerability has been addressed in the Linux kernel by updating the V3D driver to set the DMA segment size to the maximum value. Users should upgrade to the latest version of the Linux kernel where this fix has been applied.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.