CVE-2026-138849

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

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kernel incorrectly allows userspace to free or resize the Audio PD memory region while a DSP unit may still be accessing it, which can lead to memory corruption or a use‑after‑free condition. The current design also permits unlimited growth of that heap without a corresponding shrink path, resulting in an unbounded memory leak that can exhaust system RAM over time.

Affected Systems

All Linux kernels that include the fastrpc subsystem for audio processing domains are affected, regardless of distribution. The vulnerability is tied to the Audio PD domain’s reserved‑memory handling, so any system that deploys that domain and does not apply the patch is at risk. No explicit version range is supplied, so users should verify whether their kernel contains the commit that implements the patch from commit 718e48550419fa95b699cfa6fab7835220745600 or later.

Risk and Exploitability

No CVSS or EPSS score has been published and the vulnerability is not listed in CISA KEV, indicating that no public exploitation is known. Triggering this flaw requires local control over the userspace APIs that manage the Audio PD heap, so the attack vector is likely local privileged. The damage can manifest as arbitrary memory corruption, potential privilege escalation, or denial of service through resource exhaustion.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the fastrpc memory-reservation patch (commit 718e48550419fa95b699cfa6fab7835220745600 or newer).
  • Ensure that the device tree specifies a reserved‑memory region for the Audio PD domain; if it is missing, configure it so the kernel can validate and reject static‑process creation instead of failing the entire probe.
  • Reboot the system after the kernel update and verify that fastrpc devices for all domains are still probed correctly and that the Audio PD memory region is allocated only for the domain’s lifetime.

Generated by OpenCVE AI on November 30, 2026 at 17:14 UTC.

Tracking

Sign in to view the affected projects.

Exploits

Explore public exploit intelligence with OpenCVE Pro.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-400
CWE-416
Type Values Removed Values Added
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.
Title misc: fastrpc: Allocate entire reserved memory for Audio PD in probe
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:25 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM