# CVE-2025-21847: ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-03-12T09:42:03.568Z
- Modified: 2026-06-17T08:44:25.950Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e46f81541b1bf5db45a8c7a9cbc35ffc696877dc before dfe25c554daa12ee26eb3540bbded57733ed5d9c; from 090349a9feba3ceee3997d31d68ffe54e5b57acb before 2b3878baf90918a361a3dfd3513025100b1b40b6; from 090349a9feba3ceee3997d31d68ffe54e5b57acb before 62ab1ae5511c59b5f0bf550136ff321331adca9f; from 090349a9feba3ceee3997d31d68ffe54e5b57acb before 6c18f5eb2043ebf4674c08a9690218dc818a11ab; from 090349a9feba3ceee3997d31d68ffe54e5b57acb before d8d99c3b5c485f339864aeaa29f76269cc0ea975; 6.3 (not affected: before 6.3; from 6.6.80 up to 6.6.*; from 6.12.17 up to 6.12.*; from 6.13.5 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.3 before 6.6.80; from 6.7 before 6.12.17; from 6.13 before 6.13.5; 6.14

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/dfe25c554daa12ee26eb3540bbded57733ed5d9c>
- <https://git.kernel.org/stable/c/2b3878baf90918a361a3dfd3513025100b1b40b6> (patch)
- <https://git.kernel.org/stable/c/62ab1ae5511c59b5f0bf550136ff321331adca9f> (patch)
- <https://git.kernel.org/stable/c/6c18f5eb2043ebf4674c08a9690218dc818a11ab> (patch)
- <https://git.kernel.org/stable/c/d8d99c3b5c485f339864aeaa29f76269cc0ea975> (patch)

## Sources

- CVE List: [CVE-2025-21847](https://www.cve.org/CVERecord?id=CVE-2025-21847), CVE Terms of Use, modified 2026-06-01
- NVD: [CVE-2025-21847](https://nvd.nist.gov/vuln/detail/CVE-2025-21847), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21847 · Whole record: https://cve.day/CVE-2025-21847.json · Rebuilt by cve.day 2026-11-25T22:58:55.197Z
