CVE-2025-21870
ASoC: SOF: ipc4-topology: Harden loops for looking up ALH copiers
Mitigation
- Upgrade Linux to 6fd60136d256b3b948333ebdb3835f41a95ab7ef or later.
Who should check
- Anyone running Linux >= a150345aa758492e05d2934f318ce7c2566b1cfe, < ec8f5a4fe296c311d4b45db7a25a0e9e69802372; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6b6b47c1aa717a0ed3400e00a81dfea686a41d7f; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 87c8768a96092ce75cd47fe076db5080db7ac515; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 93c6c2e5801aab09ef1ef99f248f3cd323c3f152; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6fd60136d256b3b948333ebdb3835f41a95ab7ef
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= a150345aa758492e05d2934f318ce7c2566b1cfe, < ec8f5a4fe296c311d4b45db7a25a0e9e69802372; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6b6b47c1aa717a0ed3400e00a81dfea686a41d7f; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 87c8768a96092ce75cd47fe076db5080db7ac515; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 93c6c2e5801aab09ef1ef99f248f3cd323c3f152; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6fd60136d256b3b948333ebdb3835f41a95ab7ef; Linux 6.0
- Fixed in
- Linux 6b6b47c1aa717a0ed3400e00a81dfea686a41d7f, Linux 87c8768a96092ce75cd47fe076db5080db7ac515, Linux 93c6c2e5801aab09ef1ef99f248f3cd323c3f152, Linux 6fd60136d256b3b948333ebdb3835f41a95ab7ef
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
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
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a150345aa758492e05d2934f318ce7c2566b1cfe, < ec8f5a4fe296c311d4b45db7a25a0e9e69802372; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6b6b47c1aa717a0ed3400e00a81dfea686a41d7f; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 87c8768a96092ce75cd47fe076db5080db7ac515; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 93c6c2e5801aab09ef1ef99f248f3cd323c3f152; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6fd60136d256b3b948333ebdb3835f41a95ab7ef | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-21870. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21870.md Affected: Linux >= a150345aa758492e05d2934f318ce7c2566b1cfe, < ec8f5a4fe296c311d4b45db7a25a0e9e69802372; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6b6b47c1aa717a0ed3400e00a81dfea686a41d7f; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 87c8768a96092ce75cd47fe076db5080db7ac515; >= a150345aa758492e05d2934… Fixed in: Linux 6b6b47c1aa717a0ed3400e00a81dfea686a41d7f, Linux 87c8768a96092ce75cd47fe076db5080db7ac515, Linux 93c6c2e5801aab09ef1ef99f248f3cd323c3f152, Linux 6fd60136d256b3b948333ebdb3835f41a95ab7ef Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2025-21870 being exploited?
There is no confirmed exploitation: CVE-2025-21870 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21870?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-21870?
Linux >= a150345aa758492e05d2934f318ce7c2566b1cfe, < ec8f5a4fe296c311d4b45db7a25a0e9e69802372; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6b6b47c1aa717a0ed3400e00a81dfea686a41d7f; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 87c8768a96092ce75cd47fe076db5080db7ac515; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 93c6c2e5801aab09ef1ef99f248f3cd323c3f152; >= a150345aa758492e05d2934f318ce7c2566b1cfe, < 6fd60136d256b3b948333ebdb3835f41a95ab7ef; Linux 6.0.
Is there a fix for CVE-2025-21870?
Yes. Fixed in Linux 6b6b47c1aa717a0ed3400e00a81dfea686a41d7f, Linux 87c8768a96092ce75cd47fe076db5080db7ac515, Linux 93c6c2e5801aab09ef1ef99f248f3cd323c3f152, Linux 6fd60136d256b3b948333ebdb3835f41a95ab7ef. Upgrade Linux to 6fd60136d256b3b948333ebdb3835f41a95ab7ef or later.
How do I check if I'm affected by CVE-2025-21870?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.