CVE-2024-56766: Linux kernel · mtd: rawnand: fix double free in atmel_pmecc_create_user()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.11.0-21.21~24.04.1 : patch Linux kernel soon.
Data as of 25 Nov 2026, 14:03 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.11.0-21.21~24.04.1, 6.11.0-1017.17
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 6 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade the Ubuntu to 6.11.0-21.21~24.04.1 (linux-hwe-6.11 package) or 6.11.0-1017.17 (linux-oem-6.11 package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-hwe-6.11pkg:deb/ubuntu/linux-hwe-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-oem-6.11pkg:deb/ubuntu/linux-oem-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-56766 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-56766 (opens in a new tab)
- git.kernel.org/linus/d8e4771f99c0400a1873235704b28bb803c83d17 (opens in a new tab)
- git.kernel.org/stable/c/1562871ef613fa9492aa0310933eff785166a90e (opens in a new tab)
- git.kernel.org/stable/c/3d825a241e65f7e3072978729e79d735ec40b80e (opens in a new tab)
- git.kernel.org/stable/c/6ea15205d7e2b811fbbdf79783f686f58abfb4b7 (opens in a new tab)
- git.kernel.org/stable/c/ca9818554b0f33e87f38e4bfa2dac056692d46cc (opens in a new tab)
- git.kernel.org/stable/c/d2f090ea57f8d6587e09d4066f740a8617767b3d (opens in a new tab)
- git.kernel.org/stable/c/d8e4771f99c0400a1873235704b28bb803c83d17 (opens in a new tab)
- git.kernel.org/stable/c/dd45c87782738715d5e7c167f8dabf0814a7394a (opens in a new tab)
- ubuntu.com/security/notices/USN-7379-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7380-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7381-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7382-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7379-2 (opens in a new tab)