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
- 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
- https://git.kernel.org/stable/c/09fa66ec1b4896ab841da085ca58b6433f28f07f
- https://git.kernel.org/stable/c/0bde6e438035a3bb80ba4f735b8c61a68001f8aa
- https://git.kernel.org/stable/c/3a05f8579fc0a3d04e1e9de766630a722d7ca6b6
- https://git.kernel.org/stable/c/51731e49fe9a7359d4dd17e77189a21b29115233
- https://git.kernel.org/stable/c/5ba8a7ebd96d2e271905348e8aed19fe726e3648
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
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-138850