Skip to main content

Linux fastrpc EUVDEUVD-2026-138553

| CVE-2026-138850 HIGH
2026-11-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-7fhm-w9pp-h3hq
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local unprivileged shell
  2. Delivery
    Open fastrpc DSP device node
  3. Exploit
    Call FASTRPC_IOCTL_MEM_MAP with undersized dma-buf fd
  4. Execution
    Hit len>size error path double-free
  5. Persist
    Corrupt freed map->attach / buf reference
  6. Impact
    Escalate privileges in kernel context

Vulnerability Assessment

Exploitation Conditions

Requires local access on a Qualcomm-based system where the fastrpc (CONFIG_FASTRPC) DSP driver is built and its device node is reachable by the unprivileged user. The attacker invokes the FASTRPC_IOCTL_MEM_MAP ioctl with a dma-buf file descriptor whose underlying buffer is smaller than the requested length, which reaches the len > map->size failure branch after map->table has been assigned; the second configured-VMID branch (failed qcom_scm_assign_mem) also triggers the issue only where subsystem VMIDs are configured. No DSP invocation is needed and no authentication beyond local unprivileged access is required (PR:L per the supplied vector). Exploitation is limited by the need for local access, the presence of the Qualcomm fastrpc driver and an accessible device node, and the absence of any remote vector (AV:L).

Impact

All signals point to a genuine but locally-scoped kernel memory-corruption bug rather than a mass-exploitation emergency. The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) is internally consistent with the description: the local attack vector matches ioctl-based triggering, low complexity matches a deterministic double-free (kref_init sets refcount to 1 with no intervening get, so cleanup runs synchronously and deterministically), and PR:L matches the stated 'unprivileged process' reaching the len > map->size branch before any DSP invocation. EPSS is low (0.20%, 10th percentile) and there is no CISA KEV listing and no public exploit identified at time of analysis, consistent with a local-only privilege-escalation primitive that is not remotely reachable and not yet weaponized. The vuln.today decision label is 'this_week', which aligns with a patched, moderate-severity local kernel flaw - serious enough to schedule promptly but not an act_now/emergency. One conflict to flag: the input Tags label this 'Information Disclosure', but the mechanism described is a double-free/use-after-free (second dma_buf_put drops an extra reference, and dma_buf_unmap_attachment_unlocked dereferences an already-freed map->attach), which is memory corruption with full C/I/A impact - treat the C:H as corruption-derived, not a pure read primitive. No SSVC automatable/technical-impact decision values were supplied, so those SSVC fields are unknown.

Exploit ScenarioDerived

An unprivileged local user with access to the fastrpc device node calls FASTRPC_IOCTL_MEM_MAP supplying a dma-buf file descriptor whose buffer is smaller than the requested length, forcing the len > map->size failure branch after map->table is already set. The error path then unmaps/detaches/puts the dma-buf twice, producing a deterministic double-free and a dangling freed attachment that can be leveraged for kernel memory corruption and potential local privilege escalation. No public exploit is identified at time of analysis, but the trigger condition is simple and does not require a DSP invocation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Double-free in the Linux kernel's fastrpc DSP driver allows a local, unprivileged user to corrupt kernel memory by calling FASTRPC_IOCTL_MEM_MAP with a dma-buf file descriptor whose buffer is smaller than the requested length; no DSP invocation is required. The same faulty teardown is reachable when qcom_scm_assign_mem() fails on systems with subsystem VMIDs configured, and it deterministically double-detaches/double-puts the dma-buf before freeing the map. The issue is local-only (CVSS 7.8, AV:L/PR:L/UI:N), no public exploit has been identified at time of analysis, EPSS is 0.20% (10th percentile), and vendor fixes are listed in 6.6.163, 6.12.118, 6.18.64, 7.3.4, and 7.4-rc1.

RemediationAI

Apply the vendor-released kernel fixes; the supplied fixed versions are 6.6.163, 6.12.118, 6.18.64, 7.3.4, and 7.4-rc1, corresponding to stable commits 5ba8a7ebd96d, 09fa66ec1b48, 3a05f8579fc0, 51731e49fe9a, and 0bde6e438035, with the reference at https://git.kernel.org/stable/c/09fa66ec1b4896ab841da085ca58b6433f28f07f. If immediate patching is not possible, restrict access to the fastrpc device nodes to trusted local users because the reachable trigger requires an unprivileged process to open the node and issue FASTRPC_IOCTL_MEM_MAP; the trade-off is that legitimate DSP-using applications for those users will break. Where the DSP offload is not required, not loading CONFIG_FASTRPC, or blocking the module where built as a module, removes the exposed interface entirely at the cost of losing fastrpc functionality. Per the decision label this week, schedule remediation on a this-week cadence; no KEV listing or high EPSS signal raises this to emergency handling.

Affected VersionsENISA

Linux 6.2
Linux patch: 6.12.118
Linux patch: 6.18.64
Linux patch: 6.6.163
Linux patch: 7.3.4
Linux 334f1a1cbe032d85fd58e771629e3a3b373b96d5 <5ba8a7ebd96d2e271905348e8aed19fe726e3648
Linux 334f1a1cbe032d85fd58e771629e3a3b373b96d5 <09fa66ec1b4896ab841da085ca58b6433f28f07f
Linux 334f1a1cbe032d85fd58e771629e3a3b373b96d5 <3a05f8579fc0a3d04e1e9de766630a722d7ca6b6
Linux 334f1a1cbe032d85fd58e771629e3a3b373b96d5 <51731e49fe9a7359d4dd17e77189a21b29115233
Linux patch: 0
Linux 334f1a1cbe032d85fd58e771629e3a3b373b96d5 <0bde6e438035a3bb80ba4f735b8c61a68001f8aa
Linux patch: 7.4-rc1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The fastrpc driver (CONFIG_FASTRPC) exposes Qualcomm DSP offload to userspace through reachable device nodes and uses dma-buf for buffer sharing. In fastrpc_map_attach(), map->table is set immediately after dma_buf_map_attachment_unlocked() succeeds, but the subsequent len > map->size check and the qcom_scm_assign_mem() failure path jump to map_err with that field already populated. map_err manually performs dma_buf_detach() and dma_buf_put() and then falls through to fastrpc_map_put() -> fastrpc_free_map(), which repeats unmap, detach, and put whenever map->table is set; the second dma_buf_put() drops an extra reference and dma_buf_unmap_attachment_unlocked() touches the already-freed attachment. Because kref_init() set the map refcount to 1 with no intervening get, the final fastrpc_map_put() frees the map synchronously, making the redundant cleanup deterministic rather than racy. The upstream fix routes the two table-is-set failure branches to get_err so fastrpc_free_map() is the sole owner of the unmap/detach/put sequence, while map_err is retained only for the attachment failure where map->table is still NULL. The supplied CWE field is N/A; the described defect is a double-free/use-after-free class bug in error-path teardown.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local ioctl trigger by an unprivileged process (AV:L, PR:L), deterministic double-free (AC:L), and kernel memory corruption giving full C/I/A impact within the kernel's scope.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Dec 01, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Nov 30, 2026 - 14:19 EUVD
CVE Published
Nov 30, 2026 - 14:17 cve.org
UNKNOWN (no severity yet)
CVE Published
Nov 30, 2026 - 14:17 cve.org
HIGH 7.8

DescriptionCVE.org

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

misc: fastrpc: fix double-free in fastrpc_map_attach() error path

map->table is assigned right after dma_buf_map_attachment_unlocked() succeeds. The two failure checks that follow, the len > map->size test and, where subsystem VMIDs are configured, a failed qcom_scm_assign_mem(), jump to map_err with map->table already set.

map_err manually calls dma_buf_detach() and dma_buf_put() and then falls through to fastrpc_map_put(). Since that change the error path tail is fastrpc_map_put() -> fastrpc_free_map(), and fastrpc_free_map() already unmaps, detaches and puts the dma-buf whenever map->table is set. The two operations therefore run twice: the second dma_buf_put() drops an extra reference on map->buf, and dma_buf_unmap_attachment_unlocked() dereferences the map->attach already freed by the manual dma_buf_detach(). kref_init() sets the refcount to 1 with no intervening get, so the final fastrpc_map_put() frees the map synchronously and the redundant cleanup is deterministic.

The len > map->size branch is reachable by an unprivileged process via FASTRPC_IOCTL_MEM_MAP with an fd whose dma-buf is smaller than the requested length, before any DSP invocation.

Route both map->table-is-set failure branches to get_err instead of map_err, so fastrpc_free_map() is the single owner of the unmap/detach/put sequence. map_err is retained for the dma_buf_map_attachment_unlocked() failure, which is reached with map->table still NULL and an attachment that fastrpc_free_map() will not clean up, so its dma_buf_detach()/dma_buf_put() must still run manually.

Executive ViewAI

Why It Matters

A high-severity kernel vulnerability (CVE-2026-138850) in the Linux fastrpc DSP driver affects systems using Qualcomm DSPs, enabling local users to corrupt kernel memory and potentially gain elevated privileges or cause system instability. Leadership should prioritize patching because compromised endpoints could lead to data breaches or operational disruption, though current exploitation likelihood is low.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
Qualcomm fastrpc DSP driver, present on Snapdragon/ARM devices, not default x86 kernels
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy