PT-2025-13179 · Linux+5 · Linux Kernel+5

Published

2025-02-06

·

Updated

2026-04-20

·

CVE-2025-21870

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A vulnerability in the Linux kernel has been resolved. The issue is related to the ASoC: SOF: ipc4-topology component, where loops for looking up ALH copiers were not properly hardened. This could lead to a NULL pointer dereference if other non-DAI copier widgets have the same stream name as the ALH copier. The problem arises because the copier->data is NULL and no alh data is attached. A similar loop in sof ipc4 widget setup comp dai() would miscalculate the ALH device count, causing broken audio. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
Recommendations To resolve the issue, the matching logic should be hardened by ensuring that the widget is a DAI widget and the dai (and thus the copier) is an ALH copier. As a temporary workaround, consider adding a check for the NULL pointer in sof ipc4 prepare copier module() to avoid the crash. Additionally, the loop in sof ipc4 widget setup comp dai() should be corrected to accurately calculate the ALH device count. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-62845
BDU:2025-03745
CVE-2025-21870
ECHO-4C03-9C72-CD60
OESA-2025-1446
OESA-2025-1450
OPENSUSE-SU-2025_1177-1
OPENSUSE-SU-2025_1178-1
OPENSUSE-SU-2025_1180-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:01951-1
SUSE-SU-2025:01967-1
SUSE-SU-2025:1177-1
SUSE-SU-2025:1178-1
SUSE-SU-2025:1180-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
SUSE-SU-2025_01951-1
SUSE-SU-2025_01967-1
SUSE-SU-2025_1177-1
SUSE-SU-2025_1178-1
SUSE-SU-2025_1180-1
USN-7521-1
USN-7521-2
USN-7521-3
USN-7703-1
USN-7703-2
USN-7703-3
USN-7703-4
USN-7719-1
USN-7737-1

Affected Products

Astra Linux
Debian
Linuxmint
Linux Kernel
Suse
Ubuntu