misc: fastrpc: fix possible map leak in fastrpc_put_args
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's fastrpc_put_args can leak mapped buffers if copy_to_user() fails after the DSP updates the fdlist. The input does not establish how an attacker could trigger the failure or whether authentication or user interaction is required.
Engineers running Linux kernels that include fastrpc should check whether their kernel is affected; no affected versions are specified.