# CVE-2026-139686: ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:02.543Z
- Modified: 2026-11-30T14:19:57.010Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 58bb5081cba130f12c26d8e4d5e9416a0272f07e before e35950cde995226afa21ab8fddc4ec19a0cc5304; from 58bb5081cba130f12c26d8e4d5e9416a0272f07e before bccd7689ee74497519b09d42fb3b288f4a367cce; from 58bb5081cba130f12c26d8e4d5e9416a0272f07e before 7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585; from 58bb5081cba130f12c26d8e4d5e9416a0272f07e before 48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3; 6.7 (not affected: before 6.7; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/e35950cde995226afa21ab8fddc4ec19a0cc5304>
- <https://git.kernel.org/stable/c/bccd7689ee74497519b09d42fb3b288f4a367cce>
- <https://git.kernel.org/stable/c/7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585>
- <https://git.kernel.org/stable/c/48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3>

## Sources

- CVE List: [CVE-2026-139686](https://www.cve.org/CVERecord?id=CVE-2026-139686), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139686](https://nvd.nist.gov/vuln/detail/CVE-2026-139686), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139686 · Whole record: https://cve.day/CVE-2026-139686.json · Rebuilt by cve.day 2026-11-30T14:33:30.871Z
