CVE-2025-38401

Description

A flaw was found in the Linux kernel's MediaTek SD/MMC host controller driver. When preparing data transfers, if mapping the memory for direct memory access (DMA) fails, the driver fails to abort the operation and proceeds using previous settings. A local user could exploit this flaw to cause memory corruption, potentially leading to a system crash and Denial of Service (DoS) or unauthorized privilege escalation.

Statement

This vulnerability does not affect supported Red Hat Enterprise Linux kernels because the MediaTek SD/MMC host controller driver is not enabled or shipped. The underlying flaw involves improper handling when direct memory access mapping fails within the MediaTek SD driver, which could result in memory corruption during subsequent operations. Because this hardware-specific controller is not supported or present in Red Hat enterprise kernels, standard deployments remain unaffected.

Understanding the Weakness (CWE)

Availability,Integrity

Technical Impact: Unexpected State; Varies by Context; DoS: Crash, Exit, or Restart

The product could be prevented from detecting unexpected states and conditions, placing the product into a state that could lead to a crash or other unintended behaviors.

Access Control

Technical Impact: Bypass Protection Mechanism

If the method/function is used for a protection mechanism, then an unchecked return value could prevent the code from being able to see if the protection mechanism fails. For example, if the program calls a function to drop privileges but does not check the return code to ensure that privileges were successfully dropped, then the program will continue to operate with the higher privileges.

Frequently Asked Questions

Want to get errata notifications? Sign up here.