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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-10-28T11:48:17.630Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< a085658264d0c8d4f795d4631f77d7289a021de9; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< 3ad42dc66445df6977cf4be0c06f1a655299ce6c; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< 78d33a041555db03903e8037fd053ed74fbd88cb; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< c000f65f0ac93d9f9cc69a230d372f6ca93e4879; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< da1ba64176e0138f2bfa96f9e43e8c3640d01e1e
- Anyone running 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.

## Affected and fixed versions

- Linux: \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< a085658264d0c8d4f795d4631f77d7289a021de9; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< 3ad42dc66445df6977cf4be0c06f1a655299ce6c; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< 78d33a041555db03903e8037fd053ed74fbd88cb; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< c000f65f0ac93d9f9cc69a230d372f6ca93e4879; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< da1ba64176e0138f2bfa96f9e43e8c3640d01e1e (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-40036. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40036.md
Affected: Linux >= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, < a085658264d0c8d4f795d4631f77d7289a021de9; >= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, < 3ad42dc66445df6977cf4be0c06f1a655299ce6c; >= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, < 78d33a041555db03903e8037fd053ed74fbd88cb; >= c68cfb718c8f97b7f7a50ed…
Fixed in: Linux 3ad42dc66445df6977cf4be0c06f1a655299ce6c, Linux 78d33a041555db03903e8037fd053ed74fbd88cb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-40036 being exploited?

There is no confirmed exploitation: CVE-2025-40036 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-40036?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-40036?

Linux \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< a085658264d0c8d4f795d4631f77d7289a021de9; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< 3ad42dc66445df6977cf4be0c06f1a655299ce6c; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< 78d33a041555db03903e8037fd053ed74fbd88cb; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< c000f65f0ac93d9f9cc69a230d372f6ca93e4879; \>= c68cfb718c8f97b7f7a50ed66be5feb42d0c8988, \< da1ba64176e0138f2bfa96f9e43e8c3640d01e1e; Linux 5.1.

### Is there a fix for CVE-2025-40036?

Yes. Fixed in Linux 3ad42dc66445df6977cf4be0c06f1a655299ce6c, Linux 78d33a041555db03903e8037fd053ed74fbd88cb. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-40036?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/a085658264d0c8d4f795d4631f77d7289a021de9>
- other: <https://git.kernel.org/stable/c/3ad42dc66445df6977cf4be0c06f1a655299ce6c>
- other: <https://git.kernel.org/stable/c/78d33a041555db03903e8037fd053ed74fbd88cb>
- other: <https://git.kernel.org/stable/c/c000f65f0ac93d9f9cc69a230d372f6ca93e4879>
- other: <https://git.kernel.org/stable/c/da1ba64176e0138f2bfa96f9e43e8c3640d01e1e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40036>

HTML: <https://flawdb.com/CVE-2025-40036> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40036>
