{"id":"CVE-2024-46741","aliases":["CVE-2024-46741"],"related":[],"kind":"vulnerability","state":"published","title":"misc: fastrpc: Fix double free of 'buf' in error path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: 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' En la ruta de error fastrpc_req_mmap(), el búfer fastrpc se libera en fastrpc_req_munmap_impl() si la anulación del mapa se realiza correctamente. Pero al final, hay una llamada incondicional a fastrpc_buf_free(). Por lo tanto, el caso anterior activa la doble liberación del búfer fastrpc.","source":"nvd"}],"published":"2024-09-18T07:12:02.496Z","modified":"2026-08-27T13:16:32.990Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"13327ed95222e70fa98805382b65636b872d87cb","fixed":"4753cc37b6606ef9a7ec22861d380d45e2707f9a","status":"affected"},{"type":"git","introduced":"72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2","fixed":"f77dc8a75859e559f3238a6d906206259227985e","status":"affected"},{"type":"git","introduced":"72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2","fixed":"bfc1704d909dc9911a558b1a5833d3d61a43a1f2","status":"affected"},{"type":"git","introduced":"72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2","fixed":"e8c276d4dc0e19ee48385f74426aebc855b49aaf","status":"affected"},{"type":"git","version":"911737ad0c860251f640a05feb75f9dc7e41f0d7","status":"affected"},{"type":"git","version":"b10e064ca0f708c4b4401ac5eab0f76cf7cec93d","status":"affected"},{"type":"semver","introduced":"5.10.267","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.218","fixed":"5.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.51","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.10","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.2","fixed":"6.6.51"},{"status":"affected","introduced":"6.7","fixed":"6.10.10"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4753cc37b6606ef9a7ec22861d380d45e2707f9a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f77dc8a75859e559f3238a6d906206259227985e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfc1704d909dc9911a558b1a5833d3d61a43a1f2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8c276d4dc0e19ee48385f74426aebc855b49aaf","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-29T14:50:16.910Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46741","url":"https://www.cve.org/CVERecord?id=CVE-2024-46741","licence":"CVE Terms of Use","modified":"2026-08-27T12:39:34.666Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46741","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46741","licence":"Public domain","modified":"2026-08-27T13:16:32.990Z"}],"updatedAt":"2026-11-25T22:58:45.548Z","epss":{"score":0.00244,"percentile":0.16699,"date":"2026-12-01T12:00:22.000Z"}}