CVE-2026-138849: Linux kernel Qualcomm FastRPC let user space free Audio PD memory the DSP was still using

ByLinuxtastic

December 1, 2026 #CVE, #Linux Kernel

The Qualcomm FastRPC driver (drivers/misc/fastrpc.c) is the kernel side of remote procedure calls to the DSPs on Snapdragon-class SoCs, and the Audio protection domain gets its heap through requests that came from user space. The commit message is blunt: “Allocating and freeing Audio PD memory from userspace is unsafe because the kernel cannot reliably determine when the DSP has finished using the memory”, so “Userspace may free buffers while they are still in use by the DSP”, and the heap could be grown repeatedly but never shrunk, “effectively causing a memory leak”. The kernel CNA scores it 7.8 as a local privilege-escalation class bug; Red Hat rates it Important at the same score and says only hosts with Qualcomm DSP hardware are exposed. If a machine has a /dev/fastrpc-* node, upgrade it to a kernel at or above 6.12.120, 6.18.66 or 7.3.4 and reboot; every other host, including all of RHEL, is not affected.

CVE-2026-138849 at a glance.

ComponentLinux kernel, Qualcomm FastRPC remote-procedure-call driver: the Audio PD memory path in drivers/misc/fastrpc.c (fastrpc_init_create_static_process() and the rpmsg probe)
Affected versionsmainline 6.2 up to 7.4-rc1 (from commit 08715610); 6.12.x below 6.12.120, 6.18.x below 6.18.66, 7.3.x below 7.3.4. Kernels before 6.2 are not affected; the 6.6 series has no fix listed in the record on 1 December 2026
Fixed inmainline 7.4-rc1 (commit 9e47ad9c) and stable 6.12.120, 6.18.66, 7.3.4; four fix commits in the record. The fix allocates the whole Audio PD reserved-memory region once at rpmsg probe, ties its lifetime to the rpmsg channel, removes the user-controlled alloc/free path, and rejects only static-process creation when the region is missing from the device tree
Severitykernel CNA CVSS 3.1 7.8 High (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H); NVD Received with no score, CWE or CPE of its own. Red Hat Important, 7.8 with the same vector, CWE-826 (premature release of resource during expected lifetime), score marked draft; Ubuntu needs triage on every release with no priority shown; SUSE not reachable
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30, released 30 November). EPSS: no score yet on 1 December 2026
Who is exposedonly machines with a Qualcomm DSP and the FastRPC driver bound to it: Snapdragon laptops, phones and boards running an upstream, Debian or Ubuntu arm64 kernel with CONFIG_QCOM_FASTRPC. The attacker is a local process that can open the FastRPC character device, which on most such systems is the user at the keyboard or an app sandbox with audio access. Red Hat lists every RHEL release as not affected and says “non-Qualcomm enterprise and cloud systems are unaffected”; x86 servers and VMs cannot carry the driver
PublishedCVE record 30 November 2026 (kernel CNA, updated 1 December); this page built 1 December 2026, last updated 1 December 2026

What it is

FastRPC gives user space a way to run code on the Hexagon DSPs in Qualcomm SoCs, and each DSP process runs in a protection domain with its own heap. For the Audio PD the driver previously honoured requests from user space to allocate and free that heap in pieces. The kernel has no way to know when the DSP has stopped using a piece, so a free request from user space, or a remote free request relayed through the driver, could release memory the DSP was still reading or writing. The record also notes the opposite problem: the heap could be grown repeatedly but never shrunk, so a process that kept asking for more left the reserved region consumed until the device was torn down.

The consequences are the two that always follow a use-after-free in a driver that shares memory with a co-processor: the DSP writes into memory the kernel has handed to something else, or the kernel reads DSP state that is no longer valid, and the result ranges from an audio crash to corruption that a local user can steer. Both the CNA and Red Hat score it as full local compromise. Red Hat’s statement adds the scope: “Exploitation needs Qualcomm DSP hardware”, so the population is Snapdragon devices, not the server estate.

The fix changes the model rather than patching the free path. The whole Audio PD reserved-memory region is allocated during rpmsg probe and lives as long as the rpmsg channel; user space can no longer allocate or free it, and the memory is reclaimed “only when the DSP process is torn down”. The region becomes mandatory for the Audio PD domain, but a device tree without it does not break the whole driver: fastrpc_init_create_static_process() checks for it and refuses only the static-process creation, so the other domains keep probing. git.kernel.org refused our reader, so the change is described from the CNA’s copy of the commit message and the one file the record names.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.

DistributionStatusFixed package
AlpineNot consulted for this page—
Debianbookworm not affected (“vulnerable code not present” in the 6.1 kernel); trixie (6.12.117-1) and trixie’s security update (6.12.118-1) both vulnerable, since the 6.12 fix is in 6.12.120; forky and sid fixed; no DSA or DLA on 1 December 2026forky and sid 7.3.6-1 (fix recorded at 7.3.4-1); nothing for trixie on 1 December 2026
Ubuntuthe linux package is needs triage on every release from 14.04 to 26.10; no priority set and nothing released or in progress on 1 December 2026nothing on 1 December 2026
RHEL, Rocky, Alma, CentOS StreamImportant, 7.8, CWE-826 (bug 2586451); not affected on RHEL 6, 7, 8, 9 and 10 (kernel and kernel-rt) and on the OpenShift RHCOS images; no erratanone needed per Red Hat
openSUSE/SLETracker unreachable on 1 December 2026 (client error); nothing inferred—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply6.12.120 / 6.18.66 / 7.3.4 or later

How to check

Three questions, in order: which kernel is running, is the FastRPC driver built or loaded, and is there a FastRPC device node a local user can open. The second settles it for almost every server: no Qualcomm DSP, no exposure.

# 1. the running kernel (compare with the fixed stable version for its series)
uname -r

# 2. is the driver built, loaded, or loadable (arm64 Qualcomm boards and laptops only)
grep -E 'CONFIG_QCOM_FASTRPC=' /boot/config-$(uname -r) 2>/dev/null
lsmod | grep -E '^fastrpc'
modinfo -n fastrpc 2>/dev/null

# 3. is there a device node, and who can open it
ls -l /dev/fastrpc-* 2>/dev/null
grep -rl 'qcom,fastrpc' /proc/device-tree 2>/dev/null | head

A kernel at or above the fixed stable version for its series is done. A host where modinfo finds no module and the kernel config has no CONFIG_QCOM_FASTRPC cannot be reached by this bug at all, and every x86 machine and every RHEL kernel is in that state. A Snapdragon device that shows /dev/fastrpc-adsp or similar nodes is the case the score is about: any process that can open the node can send the allocation requests, so check the node’s mode and group, and treat an untrusted local user or a loosely sandboxed app as able to reach it.

How to fix it

Install the fixed kernel and reboot; a kernel bug is not patched in place and the driver stays in memory until the machine boots the new image. On 1 December 2026 only Debian forky and sid carried a fixed kernel; trixie’s 6.12.118 security kernel predates the 6.12.120 fix, Ubuntu had not triaged it and Red Hat is not affected.

# Debian forky / sid (trixie: wait for a kernel at or above 6.12.120)
apt update && apt install linux-image-arm64 && systemctl reboot
# Ubuntu, SUSE: when the builds land
apt update && apt full-upgrade && systemctl reboot
zypper patch && systemctl reboot
uname -r

# boards that do not use the DSPs: keep the driver out of memory until then
echo 'install fastrpc /bin/false' > /etc/modprobe.d/fastrpc.conf
chmod 660 /dev/fastrpc-* 2>/dev/null    # and give the group to the audio stack only

Blocking the module costs audio and sensor offload on the device, so it is a stop-gap for a board that does not use them, not a fix. What not to do: do not assume the Red Hat “not affected” row says anything about an arm64 Debian or Ubuntu kernel on Qualcomm hardware, where CONFIG_QCOM_FASTRPC is routinely set; and do not read the 6.6 series as fixed because it is missing from the record, since the record lists no 6.6 fix at all on 1 December 2026.

Sources

  • CVE-2026-138849 at CVE.org — the kernel CNA record (30 November 2026, updated 1 December when the CNA added its CVSS 3.1 metric): the commit message, the git and version ranges, CVSS 3.1 7.8
  • Fix commits on git.kernel.org: 9e47ad9c, 718e4855, b6211aa4, 827cf479; git.kernel.org refuses automated readers, so the diffs were not read for this page and the fix is described from the CNA’s copy of the commit message and the file the record names
  • NVD entry — Received on 30 November, carrying the CNA’s ranges; no NVD score, CWE or CPE on 1 December
  • Distribution trackers: Debian (bookworm not affected, trixie vulnerable, forky and sid fixed) · Ubuntu (needs triage, no priority) · Red Hat (Important 7.8, CWE-826, not affected on every RHEL release) · SUSE (unreachable on 1 December)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS: no score for this CVE on 1 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.