CVE-2024-26799

published 4 Apr 2024 · updated 30 Oct 2026

ASoC: qcom: Fix uninitialized pointer dmactl

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1382d8b55129875b2e07c4d2a7ebc790183769ee, Kernel 3301f5513e668d47514f32b0fea39e85b1152010, Kernel 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf and 1 more.

In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: Fix uninitialized pointer dmactl In the case where __lpass_get_dmactl_handle is called and the driver id dai_id is invalid the pointer dmactl is not being assigned a value, and dmactl contains a garbage value since it has not been initialized and so the null check may not work. Fix this to initialize dmactl to NULL. One could argue that modern compilers will set this to zero, but it is useful to keep this initialized as per the same way in functions __lpass_platform_codec_intf_init and lpass_cdc_dma_daiops_hw_params. Cleans up clang scan build warning: sound/soc/qcom/lpass-cdc-dma.c:275:7: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.18, >=b81af585ea54ee9f749391e594ee9cbd44061eae <1382d8b55129875b2e07c4d2a7ebc790183769ee, >=b81af585ea54ee9f749391e594ee9cbd44061eae <3301f5513e668d47514f32b0fea39e85b1152010, >=b81af585ea54ee9f749391e594ee9cbd44061eae <99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf, >=b81af585ea54ee9f749391e594ee9cbd44061eae <d5a7726e6ea62d447b79ab5baeb537ea6bdb225b1382d8b55129875b2e07c4d2a7ebc790183769ee, 3301f5513e668d47514f32b0fea39e85b1152010, 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf, d5a7726e6ea62d447b79ab5baeb537ea6bdb225b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26799 severity on Zeptric[![CVE-2024-26799](https://zeptric.io/badge/cve/CVE-2024-26799.svg)](https://zeptric.io/cve/CVE-2024-26799)