CVE-2026-139686

Source
https://cve.org/CVERecord?id=CVE-2026-139686
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139686.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139686
Downstream
Published
2026-11-30T13:37:02Z
Modified
2026-11-30T15:02:30Z
Summary
ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139686.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
58bb5081cba130f12c26d8e4d5e9416a0272f07e
Fixed
e35950cde995226afa21ab8fddc4ec19a0cc5304
Fixed
bccd7689ee74497519b09d42fb3b288f4a367cce
Fixed
7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585
Fixed
48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139686.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139686.json"