CVE-2024-56766

Source
https://cve.org/CVERecord?id=CVE-2024-56766
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56766.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56766
Downstream
Related
Published
2025-01-06T16:20:44.676Z
Modified
2026-03-11T07:54:04.427547Z
Summary
mtd: rawnand: fix double free in atmel_pmecc_create_user()
Details

In the Linux kernel, the following vulnerability has been resolved:

mtd: rawnand: fix double free in atmelpmecccreate_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56766.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
22fbbc37edb840fd420fadf670366be9bf028426
Fixed
ca9818554b0f33e87f38e4bfa2dac056692d46cc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
54cb5fa850f9306d84e49a3db44b7a7eb5536cd1
Fixed
1562871ef613fa9492aa0310933eff785166a90e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5fe7709251e334cc27618473299c48340cecd3c8
Fixed
3d825a241e65f7e3072978729e79d735ec40b80e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
24cbc37e837fd9e31e5024480b779207d1d99f1d
Fixed
6ea15205d7e2b811fbbdf79783f686f58abfb4b7
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f1290871c8aaeb13029390a2b6e5c05733a1be6f
Fixed
dd45c87782738715d5e7c167f8dabf0814a7394a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8ac19ec818c548c5788da5926dcc8af96fad4bb1
Fixed
d2f090ea57f8d6587e09d4066f740a8617767b3d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6d734f1bfc336aaea91313a5632f2f197608fadd
Fixed
d8e4771f99c0400a1873235704b28bb803c83d17
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
2014fcea19ec27df033359a0f42db0e8ed4290a8
Last affected
bdd11a04d102f8310812aa7cec39545fdd6662d1

Database specific

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