CVE-2025-40045
Description
A flaw was found in the Linux kernel's Qualcomm WCD937x audio codec driver. Improper configuration of sound interface ports allows the driver to access memory outside the bounds of an internal array. A local user could exploit this vulnerability to trigger memory corruption, potentially causing a Denial of Service (DoS) through a system crash or gaining elevated privileges.
Statement
This vulnerability presents no direct security exposure to Red Hat customers because the affected Qualcomm sound hardware driver is not included in supported Red Hat Enterprise Linux releases. The underlying issue stems from improper soundwire port mapping that could trigger out-of-bounds memory access and potential kernel crashes on systems utilizing this specific audio codec. Because the vulnerable driver code is absent from Red Hat kernel packages, Red Hat enterprise products are unaffected.
Understanding the Weakness (CWE)
Integrity,Availability
Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart
Out of bounds memory access will very likely result in the corruption of relevant memory, and perhaps instructions, possibly leading to a crash.
Integrity,Confidentiality,Availability,Access Control,Other
Technical Impact: Execute Unauthorized Code or Commands; Modify Memory; Bypass Protection Mechanism; Other
If the corrupted memory can be effectively controlled, it may be possible to execute arbitrary code. If the corrupted memory is data rather than instructions, the system will continue to function with improper changes, possibly in violation of an implicit or explicit policy. The consequences would only be limited by how the affected data is used, such as an adjacent memory location that is used to specify whether the user has special privileges.
Access Control,Other
Technical Impact: Bypass Protection Mechanism; Other
When the consequence is arbitrary code execution, this can often be used to subvert any other security service.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.