Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-26799

published high CVSS 3.1 · 7.0

ASoC: qcom: Fix uninitialized pointer dmactl

Published
04 Apr 2024, 08:20:27 UTC
Updated
30 Oct 2026, 12:17:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb81af585ea54ee9f749391e594ee9cbd44061eae to < 3301f5513e668d47514f32b0fea39e85b1152010 · b81af585ea54ee9f749391e594ee9cbd44061eae to < 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf · b81af585ea54ee9f749391e594ee9cbd44061eae to < d5a7726e6ea62d447b79ab5baeb537ea6bdb225b · b81af585ea54ee9f749391e594ee9cbd44061eae to < 1382d8b55129875b2e07c4d2a7ebc790183769ee · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.21 through 6.6.* (unaffected · semver) · 6.7.9 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1

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]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The only way to invoke `lpass_cdc_dma_daiops_trigger()` is an `SNDRV_PCM_IOCTL_DROP`/`PAUSE` ioctl on a local `/dev/snd/pcmC*D*` node, routed through `soc_pcm_trigger()` → `snd_soc_pcm_dai_trigger()`. No packet, adjacent-network, or physical path reaches this DAI operation. AC:H - The uninitialized `dmactl` is only consumed when `__lpass_get_dmactl_handle()` falls to its `default:` arm, which requires `cpu_dai->driver->id` to lie outside `LPASS_CDC_DMA_RX0…VA_TX8`; that id is a compile-time constant in the DAI table and the sole in-tree consumer (`lpass-sc7280.c`: ids 6, 19, 25) is fully covered. The attacker cannot influence which DAI table the kernel was built with, which is CVSS's "conditions beyond the attacker's control." PR:L - Reaching the trigger op needs only an open PCM substream on a `root:audio` 0660 device node — no `capable()`, `CAP_SYS_ADMIN`, or any other check exists along `snd_pcm_ioctl` → `soc_pcm_trigger` → the DAI callback. A local unprivileged account with routine audio access (default for desktop and Chromebook sessions on this SoC) suffices. UI:N - The attacker opens the PCM device and issues the DROP/PAUSE ioctls entirely from their own process. No victim needs to play audio, mount anything, or take any action. S:U - The garbage pointer is dereferenced by kernel code operating on the kernel's own LPASS regmap, and all consequences stay within the kernel's security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:H - When the branch is taken, `dmactl` holds residual kernel-stack data that an attacker can prime via a preceding syscall at the same stack depth, and `dmactl->codec_enable` is then loaded as a `struct reg_field *` — an attacker-influenced read of arbitrary kernel memory feeding subsequent regmap state. Per the round-up rule this uncontrolled-pointer read is scored High rather than as a bounded leak. I:H - `regmap_fields_write(dmactl->codec_enable, id, LPAIF_DMACTL_ENABLE_OFF)` performs a write through a field descriptor obtained from the wild pointer, with `id` also left uninitialized as the field index, yielding writes to attacker-influenced register/memory locations. That is a memory-corruption primitive usable toward control-flow hijack, not a bounded modification. A:H - Dereferencing an uninitialized stack pointer that survives the `if (!dmactl)` guard produces an immediate oops in `regmap_fields_write()`, and a bad regmap field index can additionally program the LPASS DMA control block into an invalid state. Any such kernel oops or wedged audio DMA engine is a full availability loss.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 6.2 medium CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b81af585ea54ee9f749391e594ee9cbd44061eae to < 3301f5513e668d47514f32b0fea39e85b1152010 (affected · git)b81af585ea54ee9f749391e594ee9cbd44061eae to < 99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf (affected · git)b81af585ea54ee9f749391e594ee9cbd44061eae to < d5a7726e6ea62d447b79ab5baeb537ea6bdb225b (affected · git)b81af585ea54ee9f749391e594ee9cbd44061eae to < 1382d8b55129875b2e07c4d2a7ebc790183769ee (affected · git)Default: unaffected Linux · cna
Linux Linux 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.21 through 6.6.* (unaffected · semver)6.7.9 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

4

Provider assertions

3

Linux · cna

ASoC: qcom: Fix uninitialized pointer dmactl

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
217f1f887946872a0ab6677f7d7e193f0a69ad300e62e836b3fae23a8783d2bb
Ingested
30 Oct 2026, 12:31:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected