CVE Feed
7.8 High

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix double-free in fastrpcmapattach() error path…

CVE-2026-138850

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix double-free in fastrpcmapattach() error path map->table is assigned right after dmabufmapattachmentunlocked() succeeds. The two failure checks that follow, the len > map->size test and, where subsystem VMIDs are configured, a failed qcomscmassignmem(), jump to maperr with map->table already set. maperr manually calls dmabufdetach() and dmabufput() and then falls through to fastrpcmapput(). Since that change the error path tail is fastrpcmapput() -> fastrpcfreemap(), and fastrpcfreemap() already unmaps, detaches and puts the dma-buf whenever map->table is set. The two operations therefore run twice: the second dmabufput() drops an extra reference on map->buf, and dmabufunmapattachmentunlocked() dereferences the map->attach already freed by the manual dmabufdetach(). krefinit() sets the refcount to 1 with no intervening get, so the final fastrpcmapput() frees the map synchronously and the redundant cleanup is deterministic. The len > map->size branch is reachable by an unprivileged process via FASTRPCIOCTLMEMMAP with an fd whose dma-buf is smaller than the requested length, before any DSP…

Assessment

CVSS
7.8 (v3.1)
Severity
High
EPSS
0% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
30 November 2026
Last updated
1 December 2026
Affected
Linux · Linux
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-138850