CVE-2025-21847
ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
- State
- Published
- Severity
- 5.5 Medium
- Published
- Mar 12, 2025
- Updated
- Jun 1, 2026
- Reserved
- Dec 29, 2024
Description
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
The nullity of sps->cstream should be checked similarly as it is done in sof_set_stream_data_offset() function. Assuming that it is not NULL if sps->stream is NULL is incorrect and can lead to NULL pointer dereference.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
Weaknesses
- CWE-476 NULL Pointer Dereference
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/dfe25c554daa12ee26eb3540bbded57733ed5d9c
- https://git.kernel.org/stable/c/2b3878baf90918a361a3dfd3513025100b1b40b6
- https://git.kernel.org/stable/c/62ab1ae5511c59b5f0bf550136ff321331adca9f
- https://git.kernel.org/stable/c/6c18f5eb2043ebf4674c08a9690218dc818a11ab
- https://git.kernel.org/stable/c/d8d99c3b5c485f339864aeaa29f76269cc0ea975
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.