CVE-2024-56766
mtd: rawnand: fix double free in atmel_pmecc_create_user()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.20, 6.12, 5.4.289, 5.10.233, 5.15.176, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 4.19.325 · fixed in 4.20; From 6.11.11 · fixed in 6.12
- Linux Linux
From 5.4.287 · fixed in 5.4.289; From 5.10.231 · fixed in 5.10.233; From 5.15.174 · fixed in 5.15.176; From 6.1.120 · fixed in 6.1.123; From 6.6.64 · fixed in 6.6.69; From 6.12.2 · fixed in 6.12.8
References 7
git.kernel.org
- stable/c/ca9818554b0f33e87f38e4bfa2dac056692d46cc
- stable/c/1562871ef613fa9492aa0310933eff785166a90e
- stable/c/3d825a241e65f7e3072978729e79d735ec40b80e
- stable/c/6ea15205d7e2b811fbbdf79783f686f58abfb4b7
- stable/c/dd45c87782738715d5e7c167f8dabf0814a7394a
- stable/c/d2f090ea57f8d6587e09d4066f740a8617767b3d
- stable/c/d8e4771f99c0400a1873235704b28bb803c83d17