Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local unprivileged shell
-
DeliveryOpen fastrpc DSP device node
-
ExploitCall FASTRPC_IOCTL_MEM_MAP with undersized dma-buf fd
-
ExecutionHit len>size error path double-free
-
PersistCorrupt freed map->attach / buf reference
-
ImpactEscalate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
4DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-138553
GHSA-7fhm-w9pp-h3hq
NVD
CVE.org
EPSS
Exploit-DB