CVE-2024-56766

Source
https://cve.org/CVERecord?id=CVE-2024-56766
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56766.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-56766
Downstream
AZL (2)
BELL (1)
DEBIAN (1)
MGASA (2)
SUSE (8)
UBUNTU (1)
Related
Published
2025-01-06T16:20:44Z
Modified
2026-10-08T02:49:59Z
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 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.

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
4.19.325
Fixed
4.20
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.11.11
Fixed
6.12
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2014fcea19ec27df033359a0f42db0e8ed4290a8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bdd11a04d102f8310812aa7cec39545fdd6662d1

Affected versions

v4.*
v4.19.325
v5.*
v5.10.231
v5.10.232
v5.15.174
v5.15.175
v5.4.287
v5.4.288
v6.*
v6.1.120
v6.1.121
v6.1.122
v6.11.11
v6.12.2
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.12.7
v6.6.64
v6.6.65
v6.6.66
v6.6.67
v6.6.68

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.4.287
Fixed
5.4.289
Type
ECOSYSTEM
Events
Introduced
5.10.231
Fixed
5.10.233
Type
ECOSYSTEM
Events
Introduced
5.15.174
Fixed
5.15.176
Type
ECOSYSTEM
Events
Introduced
6.1.120
Fixed
6.1.123
Type
ECOSYSTEM
Events
Introduced
6.6.64
Fixed
6.6.69
Type
ECOSYSTEM
Events
Introduced
6.12.2
Fixed
6.12.8

Database specific

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