CVE-2024-46741

Source
https://cve.org/CVERecord?id=CVE-2024-46741
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46741.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46741
Downstream
BELL (1)
DEBIAN (1)
MGASA (2)
OESA (1)
SUSE (6)
UBUNTU (1)
Related
Published
2024-09-18T07:12:02Z
Modified
2026-11-13T04:03:12Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
misc: fastrpc: Fix double free of 'buf' in error path
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46741.json"
}
References

Affected packages

Git / 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
13327ed95222e70fa98805382b65636b872d87cb
Fixed
4753cc37b6606ef9a7ec22861d380d45e2707f9a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
72fa6f7820c4cf96c5f7aabc4e54bdf52d1e2ac2
Fixed
f77dc8a75859e559f3238a6d906206259227985e
Fixed
bfc1704d909dc9911a558b1a5833d3d61a43a1f2
Fixed
e8c276d4dc0e19ee48385f74426aebc855b49aaf
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
911737ad0c860251f640a05feb75f9dc7e41f0d7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b10e064ca0f708c4b4401ac5eab0f76cf7cec93d

Affected versions

v5.*
v5.10.267
v5.10.268
v5.10.269
v5.10.270
v5.10.271
v5.10.272
v5.10.273
v5.10.274
v5.15.218
v5.15.219
v5.15.220
v5.15.221
v5.15.222
v5.15.223
v5.15.224
v5.15.225

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46741.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.267
Fixed
5.11
Type
ECOSYSTEM
Events
Introduced
5.15.218
Fixed
5.16
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.51
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.10.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46741.json"