# CVE-2026-138849: misc: fastrpc: Allocate entire reserved memory for Audio PD in probe

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-30T13:25:33.357Z
- Modified: 2026-12-01T06:17:28.593Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

misc: fastrpc: Allocate entire reserved memory for Audio PD in probe

Allocating and freeing Audio PD memory from userspace is unsafe because
the kernel cannot reliably determine when the DSP has finished using the
memory. Userspace may free buffers while they are still in use by the DSP,
and remote free requests cannot be safely trusted.

Additionally, the current implementation allows userspace to repeatedly
grow the Audio PD heap, but does not support shrinking it. This can lead
to unbounded memory usage over time, effectively causing a memory leak.

Fix this by allocating the entire Audio PD reserved-memory region during
rpmsg probe and tying its lifetime to the rpmsg channel. This removes
userspace-controlled alloc/free and ensures that memory is reclaimed only
when the DSP process is torn down.

The reserved-memory region is now mandatory for the Audio PD domain.
Rather than failing rpmsg probe when it is missing, validate it in
fastrpc_init_create_static_process() and reject only the static-process
creation. This keeps the fastrpc device probing for all other domains
even on a misconfigured device tree.

(As written by CVE List.)

## Affected

- Linux Linux: from 0871561055e666da421d779397efcc1e5e964cab before 718e48550419fa95b699cfa6fab7835220745600; from 0871561055e666da421d779397efcc1e5e964cab before b6211aa495a38145c9222a5a148abc8c3ff04a58; from 0871561055e666da421d779397efcc1e5e964cab before 827cf4797be48722c06d25771d32a42e1cecfad2; from 0871561055e666da421d779397efcc1e5e964cab before 9e47ad9c562e82cabfbb9afa6c2b0dcdf2702a39; 6.2 (not affected: before 6.2; from 6.12.120 up to 6.12.*; from 6.18.66 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/718e48550419fa95b699cfa6fab7835220745600>
- <https://git.kernel.org/stable/c/b6211aa495a38145c9222a5a148abc8c3ff04a58>
- <https://git.kernel.org/stable/c/827cf4797be48722c06d25771d32a42e1cecfad2>
- <https://git.kernel.org/stable/c/9e47ad9c562e82cabfbb9afa6c2b0dcdf2702a39>

## Sources

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

---

Page: https://cve.day/CVE-2026-138849 · Whole record: https://cve.day/CVE-2026-138849.json · Rebuilt by cve.day 2026-12-01T06:32:14.490Z
