Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix double free of 'buf' in error path smatch warning: drivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double free of 'buf' In fastrpc_req_mmap() error path, the fastrpc buffer is freed in fastrpc_req_munmap_impl() if unmap is successful. But in the end, there is an unconditional call to fastrpc_buf_free(). So the above case triggers the double free of fastrpc buf.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.2, < 6.6.51 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/bfc1704d909dc9911a558b1a5833d3d61a43a1f2Patch
- https://git.kernel.org/stable/c/e8c276d4dc0e19ee48385f74426aebc855b49aafPatch
- https://git.kernel.org/stable/c/f77dc8a75859e559f3238a6d906206259227985ePatch
FAQ
What is CVE-2024-46741?
CVE-2024-46741 is a vulnerability with a CVSS score of 7.8 (HIGH). In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix double free of 'buf' in error path smatch warning: drivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double...
How severe is CVE-2024-46741?
CVE-2024-46741 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-46741?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.