ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump

Summary

CVECVE-2026-139686
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:57 UTC
Updated2026-11-30 14:19:57 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 58bb5081cba130f12c26d8e4d5e9416a0272f07e e35950cde995226afa21ab8fddc4ec19a0cc5304 git Not specified
CNA Linux Linux affected 58bb5081cba130f12c26d8e4d5e9416a0272f07e bccd7689ee74497519b09d42fb3b288f4a367cce git Not specified
CNA Linux Linux affected 58bb5081cba130f12c26d8e4d5e9416a0272f07e 7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585 git Not specified
CNA Linux Linux affected 58bb5081cba130f12c26d8e4d5e9416a0272f07e 48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3 git Not specified
CNA Linux Linux affected 6.7 Not specified
CNA Linux Linux unaffected 6.7 semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e35950cde995226afa21ab8fddc4ec19a0cc5304 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bccd7689ee74497519b09d42fb3b288f4a367cce 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report