CVE-2024-56766 Details
Description
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.
A double free vulnerability has been identified in the Linux kernel's MTD raw NAND subsystem, specifically within the Atmel PMECC (Error Correction Code) handling function. The issue arises because the 'user' pointer, which was originally allocated using kzalloc(), was changed to be allocated by devm_kzalloc(). This modification creates a scenario where calling kfree(user) results in a double free condition, potentially leading to memory corruption or other unintended consequences.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.19.325, < 4.20 >= 5.4.287, < 5.5 >= 5.10.231, < 5.11 >= 5.15.174, < 5.16 >= 6.1.120, < 6.1.123 >= 6.6.64, < 6.6.69 >= 6.11.11, < 6.12 >= 6.12.2, < 6.12.8 6.13 rc1 6.13 rc2 6.13 rc3 6.13 rc4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 3, 2025 | CVE Modified | CVE |
| Jan 9, 2025 | CVE Modified | kernel.org |
| Jan 7, 2025 | Initial Analysis | [email protected] |
| Jan 6, 2025 | New CVE Received | kernel.org |