CVE-2026-139686
publishedASoC: SOF: imx: Prevent stack OOB read in DSP panic dump
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux58bb5081cba130f12c26d8e4d5e9416a0272f07e to < e35950cde995226afa21ab8fddc4ec19a0cc5304 · 58bb5081cba130f12c26d8e4d5e9416a0272f07e to < bccd7689ee74497519b09d42fb3b288f4a367cce · 58bb5081cba130f12c26d8e4d5e9416a0272f07e to < 7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585 · 58bb5081cba130f12c26d8e4d5e9416a0272f07e to < 48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 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: imx: Prevent stack OOB read in DSP panic dump Commit 58bb5081cba1 ("ASoC: SOF: Xtensa: dump ar registers to restore call stack") added a shared Xtensa helper that iterates over a flexible array of AR registers (`ar[]`) controlled by `plat_hdr.numaregs`. While Intel IPC4 allocates dynamic storage for the AR block, the i.MX IPC3 path reads the oops message into a stack-allocated struct without backing storage for `ar[]`, while leaving `numaregs` unvalidated. This causes a stack out-of-bounds read when printing a DSP panic. Clear `numaregs` to 0 on i.MX since the AR block is not fetched or supported on this platform, preventing unsafe out-of-bounds memory accesses in the shared Xtensa helper.
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.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 58bb5081cba130f12c26d8e4d5e9416a0272f07e to < e35950cde995226afa21ab8fddc4ec19a0cc5304 (affected · git)58bb5081cba130f12c26d8e4d5e9416a0272f07e to < bccd7689ee74497519b09d42fb3b288f4a367cce (affected · git)58bb5081cba130f12c26d8e4d5e9416a0272f07e to < 7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585 (affected · git)58bb5081cba130f12c26d8e4d5e9416a0272f07e to < 48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c1798d943cbe44dc196e8f4baf6a16d7a60ca62b74714190603c5df0c3de69d7
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record