{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "58bb5081cba130f12c26d8e4d5e9416a0272f07e"
            },
            {
              "fixed": "e35950cde995226afa21ab8fddc4ec19a0cc5304"
            },
            {
              "fixed": "bccd7689ee74497519b09d42fb3b288f4a367cce"
            },
            {
              "fixed": "7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585"
            },
            {
              "fixed": "48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139686.json"
  },
  "details": "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.",
  "id": "CVE-2026-139686",
  "modified": "2026-12-01T20:45:14.386243144Z",
  "published": "2026-11-30T13:37:02.543Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/48ed992bfbe53537ad1cbc8ad68f7031e7ac0af3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7e79f0a2da50e167b4ddb6b800a9a83a4b0a1585"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bccd7689ee74497519b09d42fb3b288f4a367cce"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e35950cde995226afa21ab8fddc4ec19a0cc5304"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139686.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139686"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ASoC: SOF: imx: Prevent stack OOB read in DSP panic dump"
}