{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0871561055e666da421d779397efcc1e5e964cab"
            },
            {
              "fixed": "718e48550419fa95b699cfa6fab7835220745600"
            },
            {
              "fixed": "b6211aa495a38145c9222a5a148abc8c3ff04a58"
            },
            {
              "fixed": "827cf4797be48722c06d25771d32a42e1cecfad2"
            },
            {
              "fixed": "9e47ad9c562e82cabfbb9afa6c2b0dcdf2702a39"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138849.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: Allocate entire reserved memory for Audio PD in probe\n\nAllocating and freeing Audio PD memory from userspace is unsafe because\nthe kernel cannot reliably determine when the DSP has finished using the\nmemory. Userspace may free buffers while they are still in use by the DSP,\nand remote free requests cannot be safely trusted.\n\nAdditionally, the current implementation allows userspace to repeatedly\ngrow the Audio PD heap, but does not support shrinking it. This can lead\nto unbounded memory usage over time, effectively causing a memory leak.\n\nFix this by allocating the entire Audio PD reserved-memory region during\nrpmsg probe and tying its lifetime to the rpmsg channel. This removes\nuserspace-controlled alloc/free and ensures that memory is reclaimed only\nwhen the DSP process is torn down.\n\nThe reserved-memory region is now mandatory for the Audio PD domain.\nRather than failing rpmsg probe when it is missing, validate it in\nfastrpc_init_create_static_process() and reject only the static-process\ncreation. This keeps the fastrpc device probing for all other domains\neven on a misconfigured device tree.",
  "id": "CVE-2026-138849",
  "modified": "2026-11-30T14:45:49.118996213Z",
  "published": "2026-11-30T13:25:33.357Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/718e48550419fa95b699cfa6fab7835220745600"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/827cf4797be48722c06d25771d32a42e1cecfad2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9e47ad9c562e82cabfbb9afa6c2b0dcdf2702a39"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b6211aa495a38145c9222a5a148abc8c3ff04a58"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138849.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138849"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "misc: fastrpc: Allocate entire reserved memory for Audio PD in probe"
}