misc: fastrpc: Fix double free of 'buf' in error path
CVE-2024-46741
What is CVE-2024-46741?
In the Linux kernel, a notable memory management issue exists within the Fastrpc driver, specifically related to the fastrpc_req_mmap function. This vulnerability stems from a design flaw where the fastrpc buffer can be improperly freed more than once, leading to a double free condition. In scenarios where the unmap operation is successful, the buffer is freed within the fastrpc_req_munmap_impl function. However, a subsequent unconditional call to fastrpc_buf_free() can trigger another deallocation attempt on the same buffer, resulting in a double free error. Such vulnerabilities can be exploited to corrupt memory, potentially leading to system instability or unauthorized access.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Linux 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2
Linux 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2
Linux 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved