{"id":"CVE-2024-46741","summary":"misc: fastrpc: Fix double free of 'buf' in error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: Fix double free of 'buf' in error path\n\nsmatch warning:\ndrivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double free of 'buf'\n\nIn fastrpc_req_mmap() error path, the fastrpc buffer is freed in\nfastrpc_req_munmap_impl() if unmap is successful.\n\nBut in the end, there is an unconditional call to fastrpc_buf_free().\nSo the above case triggers the double free of fastrpc buf.","modified":"2026-04-02T12:19:35.343833Z","published":"2024-09-18T07:12:02.496Z","related":["MGASA-2024-0316","MGASA-2024-0318","SUSE-SU-2024:3551-1","SUSE-SU-2024:3553-1","SUSE-SU-2024:3561-1","SUSE-SU-2024:3564-1","SUSE-SU-2025:20073-1","SUSE-SU-2025:20077-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46741.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/bfc1704d909dc9911a558b1a5833d3d61a43a1f2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8c276d4dc0e19ee48385f74426aebc855b49aaf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f77dc8a75859e559f3238a6d906206259227985e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46741.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46741"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2"},{"fixed":"f77dc8a75859e559f3238a6d906206259227985e"},{"fixed":"bfc1704d909dc9911a558b1a5833d3d61a43a1f2"},{"fixed":"e8c276d4dc0e19ee48385f74426aebc855b49aaf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46741.json"}}],"schema_version":"1.7.5"}