CVE-2024-56766Published Jan 6, 2025 · Jan 6Updated 3d ago
mtd: rawnand: fix double free in atmel_pmecc_create_user()
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8ac19ec818c548c5788da5926dcc8af96fad4bb1 · < d2f090ea57f8d6587e09d4066f740a8617767b3d| No fix yet |
| Linux Linux |
| No fix yet |
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.
From the CVE record · Linux
The Linux kernel’s Atmel raw NAND code can double-free a pointer allocated with devm_kzalloc() when kfree() is called on it. An attacker may be able to trigger the double free, but the input does not specify the required access, authentication, or user interaction.
Engineers running Linux kernels with the affected Atmel raw NAND code should check their versions; affected versions are not specified.