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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-824
- **Published:** 2024-04-04T08:20:27.888Z
- **Modified:** 2026-10-30T13:17:21.817Z

## Who should check

- Anyone running Linux \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 3301f5513e668d47514f32b0fea39e85b1152010; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< d5a7726e6ea62d447b79ab5baeb537ea6bdb225b; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 1382d8b55129875b2e07c4d2a7ebc790183769ee
- Anyone running Linux 5.18

## 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\]

## Affected and fixed versions

- Linux: \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 3301f5513e668d47514f32b0fea39e85b1152010; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< d5a7726e6ea62d447b79ab5baeb537ea6bdb225b; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 1382d8b55129875b2e07c4d2a7ebc790183769ee (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 1382d8b55129875b2e07c4d2a7ebc790183769ee or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26799. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26799.md
Affected: Linux >= b81af585ea54ee9f749391e594ee9cbd44061eae, < 3301f5513e668d47514f32b0fea39e85b1152010; >= b81af585ea54ee9f749391e594ee9cbd44061eae, < 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf; >= b81af585ea54ee9f749391e594ee9cbd44061eae, < d5a7726e6ea62d447b79ab5baeb537ea6bdb225b; >= b81af585ea54ee9f749391e…
Fixed in: Linux 3301f5513e668d47514f32b0fea39e85b1152010, Linux 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf, Linux 1382d8b55129875b2e07c4d2a7ebc790183769ee

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26799 being exploited?

There is no confirmed exploitation: CVE-2024-26799 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26799?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-26799?

Linux \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 3301f5513e668d47514f32b0fea39e85b1152010; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< d5a7726e6ea62d447b79ab5baeb537ea6bdb225b; \>= b81af585ea54ee9f749391e594ee9cbd44061eae, \< 1382d8b55129875b2e07c4d2a7ebc790183769ee; Linux 5.18.

### Is there a fix for CVE-2024-26799?

Yes. Fixed in Linux 3301f5513e668d47514f32b0fea39e85b1152010, Linux 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf, Linux 1382d8b55129875b2e07c4d2a7ebc790183769ee. Upgrade Linux to 1382d8b55129875b2e07c4d2a7ebc790183769ee or later.

### How do I check if I'm affected by CVE-2024-26799?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26799>

HTML: <https://flawdb.com/CVE-2024-26799> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26799>
