CVE-2025-39938CWE-476

CVE-2025-39938

Medium · published October 4, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
3.5
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ASoC: qcom: q6apm-lpass-dais: Fix NULL pointer dereference if source graph failed

If earlier opening of source graph fails (e.g. ADSP rejects due to

incorrect audioreach topology), the graph is closed and

"dai_data->graph[dai->id]" is assigned NULL. Preparing the DAI for sink

graph continues though and next call to q6apm_lpass_dai_prepare()

receives dai_data->graph[dai->id]=NULL leading to NULL pointer

exception:

qcom-apm gprsvc:service:2:1: Error (1) Processing 0x01001002 cmd

qcom-apm gprsvc:service:2:1: DSP returned error[1001002] 1

q6apm-lpass-dais 30000000.remoteproc:glink-edge:gpr:service@1:bedais: fail to start APM port 78

q6apm-lpass-dais 30000000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC: error at snd_soc_pcm_dai_prepare on TX_CODEC_DMA_TX_3: -22

Unable to handle kernel NULL pointer dereference at virtual address 00000000000000a8

...

Call trace:

q6apm_graph_media_format_pcm+0x48/0x120 (P)

q6apm_lpass_dai_prepare+0x110/0x1b4

snd_soc_pcm_dai_prepare+0x74/0x108

__soc_pcm_prepare+0x44/0x160

dpcm_be_dai_prepare+0x124/0x1c0

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00146 · 3.5th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-10-04T12:15Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 5.16, < 6.1.1546.1.154
linux/linux_kernel≥ 6.2, < 6.6.1086.6.108
linux/linux_kernel≥ 6.7, < 6.12.496.12.49
linux/linux_kernel≥ 6.13, < 6.16.96.16.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 04 OCT 07:31Z
    ASoC: qcom: q6apm-lpass-dais: Fix NULL pointer dereference if source graph failed
    cvelistv5