VDB

CVE-2025-21870

CVE-2025-21870 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published March 27, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.13.5, 6.12.17

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxa150345aa758492e05d2934f318ce7c2566b1cfe, a150345aa758492e05d2934f318ce7c2566b1cfe, a150345aa758492e05d2934f318ce7c2566b1cfe
LinuxLinux6.0, 0, 6.1.191
linuxlinux_kernel6.0, 6.0, 6.0
LinuxLinux*, *, *

Timeline

  • Mar 27, 2025 Coalition ESS Score (15 in total, the first dated here)
  • Mar 27, 2025 CVE Published
  • Mar 28, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 22, 2025 Security Advisory (147 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (139 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21870
vulnetix vdb fixes CVE-2025-21870

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21870/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›