Double Free in Linux
CVE-2024-56766
In the Linux kernel, the following vulnerability has been resolved:
mtd: rawnand: fix double free in atmel_pmecc_create_user()
The "user" pointer was converted from being allocated with kzalloc() to
being allocated by devm_kzalloc(). Calling kfree(user) will lead to a
double free.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 12.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 54cb5fa850f9306d84e49a3db44b7a7eb5536cd1, bdd11a04d102f8310812aa7cec39545fdd6662d1, 6.11.11
- Linux Kernel — versions 6.13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/ca9818554b0f33e87f38e4bfa2dac056692d46cc
- git.kernel.org/stable/c/1562871ef613fa9492aa0310933eff785166a90e
- git.kernel.org/stable/c/3d825a241e65f7e3072978729e79d735ec40b80e
- git.kernel.org/stable/c/6ea15205d7e2b811fbbdf79783f686f58abfb4b7 (Patch)
- git.kernel.org/stable/c/dd45c87782738715d5e7c167f8dabf0814a7394a (Patch)
- git.kernel.org/stable/c/d2f090ea57f8d6587e09d4066f740a8617767b3d (Patch)
- git.kernel.org/stable/c/d8e4771f99c0400a1873235704b28bb803c83d17 (Patch)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html