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

Published Nov 30, 2026
·
Updated

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

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Clear numaregs to 0 on i.MX, where the AR block is not fetched.

    Linux kernel ASoC SOF on i.MX numaregs = 0

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

The affected path is the Linux kernel ASoC SOF i.MX IPC3 DSP panic-dump handling. It applies when an i.MX DSP panic message is processed; Intel IPC4 uses dynamically allocated storage for the AR register block and is not described as having this specific condition.

2

What must occur for the out-of-bounds read to be triggered?

A DSP panic dump must be handled on the i.MX IPC3 path with a panic message whose plat_hdr.numaregs value causes the shared Xtensa helper to iterate over AR registers. The i.MX stack-allocated message structure has no backing storage for the flexible ar[] array.

3

What mitigation is available if the fix cannot be applied immediately?

The provided fix clears numaregs to 0 for i.MX, because that platform does not fetch or support the AR register block. No other workaround is stated in the available information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203