Linux kernelのfastrpcドライバーに脆弱性、メモリ解放をめぐる問題
Summary
Linux kernelのfastrpcドライバーに、Audio PD用メモリをユーザー空間から確保・解放できる設計による脆弱性が見つかりました。DSPが使用中のメモリが解放されるおそれがあり、メモリ使用量が際限なく増えるおそれもあります。影響を受けるのは6.2以降の一部版で、修正版は6.12.120、6.18.66、7.3.4です。修正版へのアップデートを進めてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux kernelのfastrpcドライバーに、Audio PD用メモリをユーザー空間から確保・解放できる設計による脆弱性が見つかりました。DSPが使用中のメモリが解放されるおそれがあり、メモリ使用量が際限なく増えるおそれもあります。影響を受けるのは6.2以降の一部版で、修正版は6.12.120、6.18.66、7.3.4です。修正版へのアップデートを進めてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.2.0, < 6.12.120→ 6.12.120 ≥ 6.13.0, < 6.18.66→ 6.18.66 ≥ 6.19.0, < 7.3.4→ 7.3.4 |
6.12.120 6.18.66 7.3.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-138849 linux-lts Fix available
- Debian DEBIAN-CVE-2026-138849 linux Fix available
- Ubuntu UBUNTU-CVE-2026-138849 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com