{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-46741","id":"CVE-2024-46741","title":"misc: fastrpc: Fix double free of 'buf' in error path","description":"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()","descriptionLong":"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.","published":"2024-09-18T07:12:02.496Z","updated":"2026-11-17T07:01:55.806033979Z","reserved":"2024-09-11T15:12:18.263Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"13327ed95222e70fa98805382b65636b872d87cb","lessThan":"4753cc37b6606ef9a7ec22861d380d45e2707f9a","status":"affected","versionType":"git"},{"version":"72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2","lessThan":"f77dc8a75859e559f3238a6d906206259227985e","status":"affected","versionType":"git"},{"version":"72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2","lessThan":"bfc1704d909dc9911a558b1a5833d3d61a43a1f2","status":"affected","versionType":"git"},{"version":"72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2","lessThan":"e8c276d4dc0e19ee48385f74426aebc855b49aaf","status":"affected","versionType":"git"},{"version":"911737ad0c860251f640a05feb75f9dc7e41f0d7","status":"affected","versionType":"git"},{"version":"b10e064ca0f708c4b4401ac5eab0f76cf7cec93d","status":"affected","versionType":"git"},{"version":"5.10.267","lessThan":"5.11","status":"affected","versionType":"semver"},{"version":"5.15.218","lessThan":"5.16","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"6.6.51","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.10.10","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-415"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4753cc37b6606ef9a7ec22861d380d45e2707f9a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f77dc8a75859e559f3238a6d906206259227985e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bfc1704d909dc9911a558b1a5833d3d61a43a1f2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e8c276d4dc0e19ee48385f74426aebc855b49aaf","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46741.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46741","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00244,"epssPercentile":0.15785,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-46741","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46741","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-46741","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-46741","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}