{"id":"CVE-2024-46741","published":"2024-09-18T07:12:02Z","modified":"2026-08-27T12:39:34Z","title":"misc: fastrpc: Fix double free of 'buf' in error path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00244,"percentile":0.15901,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4753cc37b6606ef9a7ec22861d380d45e2707f9a","tags":[]},{"url":"https://git.kernel.org/stable/c/f77dc8a75859e559f3238a6d906206259227985e","tags":[]},{"url":"https://git.kernel.org/stable/c/bfc1704d909dc9911a558b1a5833d3d61a43a1f2","tags":[]},{"url":"https://git.kernel.org/stable/c/e8c276d4dc0e19ee48385f74426aebc855b49aaf","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":3.18},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 13327ed95222e70fa98805382b65636b872d87cb, < 4753cc37b6606ef9a7ec22861d380d45e2707f9a",">= 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2, < f77dc8a75859e559f3238a6d906206259227985e",">= 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2, < bfc1704d909dc9911a558b1a5833d3d61a43a1f2",">= 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2, < e8c276d4dc0e19ee48385f74426aebc855b49aaf","911737ad0c860251f640a05feb75f9dc7e41f0d7","b10e064ca0f708c4b4401ac5eab0f76cf7cec93d",">= 5.10.267, < 5.11",">= 5.15.218, < 5.16"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-29T14:50:16.910976Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42002","exploited":false,"provenance":"source"}}