{"id":"CVE-2025-21847","summary":"ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()\n\nThe nullity of sps-\u003ecstream should be checked similarly as it is done in\nsof_set_stream_data_offset() function.\nAssuming that it is not NULL if sps-\u003estream is NULL is incorrect and can\nlead to NULL pointer dereference.","modified":"2026-03-20T12:41:12.201086Z","published":"2025-03-12T09:42:03.568Z","related":["ALSA-2025:20095","ALSA-2025:20518","MGASA-2025-0111","MGASA-2025-0112","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","USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21847.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2b3878baf90918a361a3dfd3513025100b1b40b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62ab1ae5511c59b5f0bf550136ff321331adca9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c18f5eb2043ebf4674c08a9690218dc818a11ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8d99c3b5c485f339864aeaa29f76269cc0ea975"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21847.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21847"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"090349a9feba3ceee3997d31d68ffe54e5b57acb"},{"fixed":"2b3878baf90918a361a3dfd3513025100b1b40b6"},{"fixed":"62ab1ae5511c59b5f0bf550136ff321331adca9f"},{"fixed":"6c18f5eb2043ebf4674c08a9690218dc818a11ab"},{"fixed":"d8d99c3b5c485f339864aeaa29f76269cc0ea975"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21847.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}