misc: fastrpc: Allocate entire reserved memory for Audio PD in probe
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 0871561055e666da421d779397efcc1e5e964cab to before 718e48550419fa95b699cfa6fab7835220745600 Affected0871561055e666da421d779397efcc1e5e964cab to before b6211aa495a38145c9222a5a148abc8c3ff04a58 Affected0871561055e666da421d779397efcc1e5e964cab to before 827cf4797be48722c06d25771d32a42e1cecfad2 Affected0871561055e666da421d779397efcc1e5e964cab to before 9e47ad9c562e82cabfbb9afa6c2b0dcdf2702a39 Affected |
| Linux Linux | 6.2 Affectedbefore 6.2 Not Affected6.12.120 through 6.12.* Not Affected6.18.66 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.