CVE-2025-40036

misc: fastrpc: fix possible map leak in fastrpc_put_args

State
Published
Severity
Not scored
Published
Oct 28, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 to before a085658264d0c8d4f795d4631f77d7289a021de9Affected
  • c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 to before 3ad42dc66445df6977cf4be0c06f1a655299ce6cAffected
  • c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 to before 78d33a041555db03903e8037fd053ed74fbd88cbAffected
  • c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 to before c000f65f0ac93d9f9cc69a230d372f6ca93e4879Affected
  • c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 to before da1ba64176e0138f2bfa96f9e43e8c3640d01e1eAffected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 6.1.156 through 6.1.*Not affected
  • 6.6.112 through 6.6.*Not affected
  • 6.12.53 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.