CVE-2023-52987
published high CVSS 3.1 · 7.8ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf4ea22f7aa7536560097d765be56445933d07e0d to < d52f34784e4e2f6e77671a9f104d8a69a3b5d24c · f4ea22f7aa7536560097d765be56445933d07e0d to < ea57680af47587397f5005d7758022441ed66d54 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.11 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write() The "id" comes from the user. Change the type to unsigned to prevent an array underflow.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only via write(2) to the local debugfs file sof/.../mtrace/logs_priorities_mask; there is no network, adjacent-protocol, or remote peer path into sof_ipc4_priority_mask_dfs_write(). AC:L - A single write of a negative id (e.g. "-1,0xdeadbeef") deterministically bypasses the signed bounds check and performs the out-of-bounds store; no race, timing window, or layout precondition outside attacker control is required. PR:L - The node is mode 0644 with no capability check in the write path, and on SOF-bearing Android/ChromeOS/embedded platforms debugfs is commonly remounted or chowned to non-root service accounts, so a low-privileged local user is a realistic attacker under worst-reasonable deployment scoring. UI:N - The attacker opens and writes the already-present debugfs file themselves; no victim action, mount, or interaction is required. S:U - The underflow corrupts kernel heap/state within the host kernel's security authority; it is not a VM escape, IOMMU bypass, or other cross-boundary impact. C:H - Attacker-controlled out-of-bounds writes into adjacent sof_mtrace_priv fields and nearby slab objects are a memory-corruption primitive that can be leveraged for arbitrary kernel memory disclosure. I:H - The attacker chooses both the negative index and the u32 value written, enabling targeted corruption of adjacent state (including pointers such as sdev) and heap metadata suitable for control-flow hijacking. A:H - Corrupting adjacent kernel objects or writing to unmapped addresses via large negative indices reliably causes oops/panic, and the write can be repeated at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f4ea22f7aa7536560097d765be56445933d07e0d to < d52f34784e4e2f6e77671a9f104d8a69a3b5d24c (affected · git)f4ea22f7aa7536560097d765be56445933d07e0d to < ea57680af47587397f5005d7758022441ed66d54 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.11 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 446c27d7dd93c742b67c6d914c366fb0f372e513d7750a5eab409e4d70108ecd
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record