Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-46741

published high CVSS 3.1 · 7.8

misc: fastrpc: Fix double free of 'buf' in error path

Published
18 Sep 2024, 07:12:02 UTC
Updated
27 Aug 2026, 12:39:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux13327ed95222e70fa98805382b65636b872d87cb to < 4753cc37b6606ef9a7ec22861d380d45e2707f9a · 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2 to < f77dc8a75859e559f3238a6d906206259227985e · 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2 to < bfc1704d909dc9911a558b1a5833d3d61a43a1f2 · 72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2 to < e8c276d4dc0e19ee48385f74426aebc855b49aaf · 911737ad0c860251f640a05feb75f9dc7e41f0d7 · b10e064ca0f708c4b4401ac5eab0f76cf7cec93d · 5.10.267 to < 5.11 · 5.15.218 to < 5.16 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.51 through 6.6.* (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 gfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-64kbaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-64kb-develaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-azureaarch64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE SLE-15-SP6 kernel-azurex86_64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develaarch64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE SLE-15-SP6 kernel-azure-develx86_64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE SLE-15-SP6 kernel-cocox86_64 Advisory build 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1
SUSE / openSUSE SLE-15-SP6 kernel-coco-develx86_64 Advisory build 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1
SUSE / openSUSE SLE-15-SP6 kernel-coco_debugx86_64 Advisory build 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1
SUSE / openSUSE SLE-15-SP6 kernel-coco_debug-develx86_64 Advisory build 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-defaults390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-defaultx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseaarch64 Advisory build 6.4.0-150600.23.25.1.150600.12.10.2 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-baseppc64le Advisory build 6.4.0-150600.23.25.1.150600.12.10.2 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-basex86_64 Advisory build 6.4.0-150600.23.25.1.150600.12.10.2 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-devels390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-develx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-extrax86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchs390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatchx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-devels390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-default-livepatch-develx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-develnoarch Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-azurenoarch Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-coconoarch Advisory build 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1
SUSE / openSUSE SLE-15-SP6 kernel-devel-rtnoarch Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-docsnoarch Advisory build 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_10_14-rtx86_64 Advisory build 1-150600.1.3.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_25-defaultppc64le Advisory build 1-150600.13.3.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_25-defaults390x Advisory build 1-150600.13.3.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-livepatch-6_4_0-150600_23_25-defaultx86_64 Advisory build 1-150600.13.3.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-macrosnoarch Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildaarch64 Advisory build 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildppc64le Advisory build 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-builds390x Advisory build 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-obs-buildx86_64 Advisory build 6.4.0-150600.23.25.2 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-rtx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-rt-develx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-rt_debugx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-rt_debug-develx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-sourcenoarch Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-source-azurenoarch Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE SLE-15-SP6 kernel-source-coconoarch Advisory build 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1
SUSE / openSUSE SLE-15-SP6 kernel-source-rtnoarch Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-symsaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-symsppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-symss390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-symsx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-azureaarch64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-azurex86_64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-cocox86_64 Advisory build 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1
SUSE / openSUSE SLE-15-SP6 kernel-syms-rtx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 kernel-zfcpdumps390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaults390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 ocfs2-kmp-rtx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-cocox86_64 Advisory build 6.4.0-15061.6.coco15sp6.1 SUSE-SU-2024:3553-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaults390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE SLE-15-SP6 reiserfs-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-64kbaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-azureaarch64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-azurex86_64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaults390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 cluster-md-kmp-rtx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-64kbaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-azureaarch64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-azurex86_64 Advisory build 6.4.0-150600.8.14.1 SUSE-SU-2024:3551-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultaarch64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultppc64le Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaults390x Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-defaultx86_64 Advisory build 6.4.0-150600.23.25.1 SUSE-SU-2024:3561-1
SUSE / openSUSE openSUSE-Leap-15.6 dlm-kmp-rtx86_64 Advisory build 6.4.0-150600.10.14.1 SUSE-SU-2024:3564-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: 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' In fastrpc_req_mmap() error path, the fastrpc buffer is freed in fastrpc_req_munmap_impl() if unmap is successful. But in the end, there is an unconditional call to fastrpc_buf_free(). So the above case triggers the double free of fastrpc buf.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only via `ioctl(FASTRPC_IOCTL_MMAP)` on the `/dev/fastrpc-*` misc device node, requiring local access to the system. No network or remote peer input reaches this path. AC:L - The attacker deterministically forces the error path by passing a read-only user mapping as `argp`, so `copy_from_user()` succeeds but the final `copy_to_user()` returns `-EFAULT`, and the subsequent DSP munmap of the just-mapped buffer always succeeds — no race or uncontrolled condition is involved. PR:L - The fastrpc driver contains no `capable()` or `CAP_*` checks on any path to `fastrpc_req_mmap()`; any local user able to open the fastrpc device node (routinely granted to unprivileged applications on Qualcomm Android/embedded/laptop systems) can trigger it. UI:N - The attacking process performs the entire sequence itself with two ioctls and its own memory mapping; no action by another user or victim is required. S:U - The corruption is confined to the kernel's own slab and DMA/CMA allocators within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - The second `fastrpc_buf_free()` reads `buf->dev/size/virt/phys` from freed slab memory, and the duplicated `dma_free_coherent()` releases pages that remain mappable to userspace via this driver's dma-buf `.mmap`, allowing an attacker-mapped page to be re-issued to another kernel consumer and read — an arbitrary kernel-memory disclosure primitive. I:H - A same-object double free poisons the SLUB freelist so the same chunk is handed out to two owners, yielding overlapping-object heap corruption and, together with the still-mapped doubly-freed DMA pages, an arbitrary kernel write suitable for privilege escalation. A:H - Even without successful exploitation the double free corrupts the slab and page allocators, and on kernels with SLUB debugging or freelist hardening it trips an immediate BUG, causing a kernel panic that any local user can trigger at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 13327ed95222e70fa98805382b65636b872d87cb to < 4753cc37b6606ef9a7ec22861d380d45e2707f9a (affected · git)72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2 to < f77dc8a75859e559f3238a6d906206259227985e (affected · git)72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2 to < bfc1704d909dc9911a558b1a5833d3d61a43a1f2 (affected · git)72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2 to < e8c276d4dc0e19ee48385f74426aebc855b49aaf (affected · git)911737ad0c860251f640a05feb75f9dc7e41f0d7 (affected · git)b10e064ca0f708c4b4401ac5eab0f76cf7cec93d (affected · git)5.10.267 to < 5.11 (affected · semver)5.15.218 to < 5.16 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.51 through 6.6.* (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

2

Linux · cna

misc: fastrpc: Fix double free of 'buf' in error path

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ea9289fe6ecf00e2a35c19cafbc76d89522eb4e71bdd2dc8216b3494cf2969a6
Ingested
23 Sep 2026, 08:28:03 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected