CVE-2025-21870
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.13.5, 6.12.17 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a150345aa758492e05d2934f318ce7c2566b1cfe, a150345aa758492e05d2934f318ce7c2566b1cfe, a150345aa758492e05d2934f318ce7c2566b1cfe |
| Linux | Linux | 6.0, 0, 6.1.191 |
| linux | linux_kernel | 6.0, 6.0, 6.0 |
| Linux | Linux | *, *, * |
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