# CVE-2024-26799: ASoC: qcom: Fix uninitialized pointer dmactl

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 20% of CVEs (2026-11-30)
- Published: 2024-04-04T08:20:27.888Z
- Modified: 2026-10-30T13:17:21.817Z
- Weaknesses: CWE-824
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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]

(As written by CVE List.)

## Affected

- Linux Linux: from b81af585ea54ee9f749391e594ee9cbd44061eae before 3301f5513e668d47514f32b0fea39e85b1152010; from b81af585ea54ee9f749391e594ee9cbd44061eae before 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf; from b81af585ea54ee9f749391e594ee9cbd44061eae before d5a7726e6ea62d447b79ab5baeb537ea6bdb225b; from b81af585ea54ee9f749391e594ee9cbd44061eae before 1382d8b55129875b2e07c4d2a7ebc790183769ee; 5.18 (not affected: before 5.18; from 6.1.191 up to 6.1.*; from 6.6.21 up to 6.6.*; from 6.7.9 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.18 before 6.6.21; from 6.7 before 6.7.9; 6.8

## Every score

- Linux: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3301f5513e668d47514f32b0fea39e85b1152010>
- <https://git.kernel.org/stable/c/99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf> (patch)
- <https://git.kernel.org/stable/c/d5a7726e6ea62d447b79ab5baeb537ea6bdb225b> (patch)
- <https://git.kernel.org/stable/c/1382d8b55129875b2e07c4d2a7ebc790183769ee> (patch)

## Sources

- CVE List: [CVE-2024-26799](https://www.cve.org/CVERecord?id=CVE-2024-26799), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2024-26799](https://nvd.nist.gov/vuln/detail/CVE-2024-26799), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2024-26799 · Whole record: https://cve.day/CVE-2024-26799.json · Rebuilt by cve.day 2026-11-25T22:58:38.746Z
