{"id":"CVE-2026-139686","aliases":["CVE-2026-139686"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: imx: Prevent stack OOB read in DSP panic dump\n\nCommit 58bb5081cba1 (\"ASoC: SOF: Xtensa: dump ar registers to restore\ncall stack\") added a shared Xtensa helper that iterates over a flexible\narray of AR registers (`ar[]`) controlled by `plat_hdr.numaregs`.\n\nWhile Intel IPC4 allocates dynamic storage for the AR block, the i.MX\nIPC3 path reads the oops message into a stack-allocated struct without\nbacking storage for `ar[]`, while leaving `numaregs` unvalidated. This\ncauses a stack out-of-bounds read when printing a DSP panic.\n\nClear `numaregs` to 0 on i.MX since the AR block is not fetched or\nsupported on this platform, preventing unsafe out-of-bounds memory\naccesses in the shared Xtensa helper.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: imx: Prevent stack OOB read in DSP panic dump\n\nCommit 58bb5081cba1 (\"ASoC: SOF: Xtensa: dump ar registers to restore\ncall stack\") added a shared Xtensa helper that iterates over a flexible\narray of AR registers (`ar[]`) controlled by `plat_hdr.numaregs`.\n\nWhile Intel IPC4 allocates dynamic storage for the AR block, the i.MX\nIPC3 path reads the oops message into a stack-allocated struct without\nbacking storage for `ar[]`, while leaving `numaregs` unvalidated. This\ncauses a stack out-of-bounds read when printing a DSP panic.\n\nClear `numaregs` to 0 on i.MX since the AR block is not fetched or\nsupported on this platform, preventing unsafe out-of-bounds memory\naccesses in the shared Xtensa helper.","source":"cvelist"}],"published":"2026-11-30T13:37:02.543Z","modified":"2026-11-30T14:19:57.010Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"58bb5081cba130f12c26d8e4d5e9416a0272f07e","fixed":"e35950cde995226afa21ab8fddc4ec19a0cc5304","status":"affected"},{"type":"git","introduced":"58bb5081cba130f12c26d8e4d5e9416a0272f07e","fixed":"bccd7689ee74497519b09d42fb3b288f4a367cce","status":"affected"},{"type":"git","introduced":"58bb5081cba130f12c26d8e4d5e9416a0272f07e","fixed":"7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585","status":"affected"},{"type":"git","introduced":"58bb5081cba130f12c26d8e4d5e9416a0272f07e","fixed":"48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e35950cde995226afa21ab8fddc4ec19a0cc5304","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bccd7689ee74497519b09d42fb3b288f4a367cce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139686","url":"https://www.cve.org/CVERecord?id=CVE-2026-139686","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:02.543Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139686","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139686","licence":"Public domain","modified":"2026-11-30T14:19:57.010Z"}],"updatedAt":"2026-11-30T14:33:30.871Z","epss":{"score":0.002,"percentile":0.10338,"date":"2026-12-01T12:00:22.000Z"}}