ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
Summary
| CVE | CVE-2025-21847 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-03-12 10:15:17 UTC |
| Updated | 2026-06-01 17:16:33 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-476 | CWE-476 CWE-476 NULL Pointer Dereference
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | ADP | DECLARED | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected e46f81541b1bf5db45a8c7a9cbc35ffc696877dc dfe25c554daa12ee26eb3540bbded57733ed5d9c git | Not specified |
| CNA | Linux | Linux | affected 090349a9feba3ceee3997d31d68ffe54e5b57acb 2b3878baf90918a361a3dfd3513025100b1b40b6 git | Not specified |
| CNA | Linux | Linux | affected 090349a9feba3ceee3997d31d68ffe54e5b57acb 62ab1ae5511c59b5f0bf550136ff321331adca9f git | Not specified |
| CNA | Linux | Linux | affected 090349a9feba3ceee3997d31d68ffe54e5b57acb 6c18f5eb2043ebf4674c08a9690218dc818a11ab git | Not specified |
| CNA | Linux | Linux | affected 090349a9feba3ceee3997d31d68ffe54e5b57acb d8d99c3b5c485f339864aeaa29f76269cc0ea975 git | Not specified |
| CNA | Linux | Linux | affected 6.3 | Not specified |
| CNA | Linux | Linux | unaffected 6.3 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.80 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.17 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.13.5 6.13.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.14 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/d8d99c3b5c485f339864aeaa29f76269cc0ea975 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2b3878baf90918a361a3dfd3513025100b1b40b6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/62ab1ae5511c59b5f0bf550136ff321331adca9f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/dfe25c554daa12ee26eb3540bbded57733ed5d9c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6c18f5eb2043ebf4674c08a9690218dc818a11ab | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.