CVE-2025-21870CWE-476

CVE-2025-21870

High · published March 27, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
10.2
In the wild
Unconfirmed
What it is

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

ASoC: SOF: ipc4-topology: Harden loops for looking up ALH copiers

Other, non DAI copier widgets could have the same stream name (sname) as

the ALH copier and in that case the copier->data is NULL, no alh_data is

attached, which could lead to NULL pointer dereference.

We could check for this NULL pointer in sof_ipc4_prepare_copier_module()

and avoid the crash, but a similar loop in sof_ipc4_widget_setup_comp_dai()

will miscalculate the ALH device count, causing broken audio.

The correct fix is to harden the matching logic by making sure that the

1. widget is a DAI widget - so dai = w->private is valid

2. the dai (and thus the copier) is ALH copier

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00207 · 10.2th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-03-27T18:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.0, < 6.12.176.12.17
linux/linux_kernel≥ 6.13, < 6.13.56.13.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 27 MAR 13:38Z
    ASoC: SOF: ipc4-topology: Harden loops for looking up ALH copiers
    cvelistv5