Linux Kernel Memory Corruption Vulnerability in mtk-sd DMA Mapping

Vulnerability

A vulnerability in the Linux kernel's mtk-sd component can lead to memory corruption due to improper handling of Direct Memory Access (DMA) mapping. When the function msdc_prepare_data() fails to correctly map the DMA region, the data reception request is not properly prepared. However, the subsequent function msdc_start_data() incorrectly initiates the DMA process using the previous, now invalid, settings. This mismatch can cause memory corruption issues. The vulnerability has been addressed by ensuring that the request operation is halted as soon as msdc_prepare_data() fails to prepare it, preventing the DMA from being incorrectly mapped.

Impact

Exploitation of this vulnerability can lead to memory corruption, potentially causing instability or unexpected behavior in the system.

Added: Jul 25, 2025, 1:29 PM
Updated: Jul 25, 2025, 6:00 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.3
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.