CVE-2024-56766

Kernel memory corruption via device-managed double free

Published Jan 6, 2025 · Updated May 23, 2026

Double free in Linux kernel raw NAND PMECC code allows local users to corrupt kernel memory during Atmel NAND controller setup. The atmel_pmecc_create_user function allocates its user object with devm_kzalloc, but an error path also passes that device-managed object to kfree, so device cleanup frees it again. Reachability requires an Atmel NAND controller and the failing user-object creation path; public material identifies no demonstrated code-execution outcome.

CVSS severity7.8
High
EPSS probability0.22%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Double free in Linux kernel raw NAND PMECC code allows local users to corrupt kernel memory during Atmel NAND controller setup. The atmel_pmecc_create_user function allocates its user object with devm_kzalloc, but an error path also passes that device-managed object to kfree, so device cleanup frees it again. Reachability requires an Atmel NAND controller and the failing user-object creation path; public material identifies no demonstrated code-execution outcome.

The record

CVE
CVE-2024-56766
Published
Jan 6, 2025
Updated
May 23, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-415
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jan 6, 2025CVE publishedPublication date reported by the CVE source.
  2. May 23, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=2014fcea19ec27df033359a0f42db0e8ed4290a8
  2. Affected versionversion=22fbbc37edb840fd420fadf670366be9bf028426 <ca9818554b0f33e87f38e4bfa2dac056692d46cc
  3. Affected versionversion=24cbc37e837fd9e31e5024480b779207d1d99f1d <6ea15205d7e2b811fbbdf79783f686f58abfb4b7
  4. Affected versionversion=4.19.325 <4.20
  5. Affected versionversion=5.10.231 <5.10.233
  6. Affected versionversion=5.15.174 <5.15.176
  7. Affected versionversion=5.4.287 <5.4.289
  8. Affected versionversion=54cb5fa850f9306d84e49a3db44b7a7eb5536cd1 <1562871ef613fa9492aa0310933eff785166a90e
  9. Affected versionversion=5fe7709251e334cc27618473299c48340cecd3c8 <3d825a241e65f7e3072978729e79d735ec40b80e
  10. Affected versionversion=6.11.11 <6.12
  11. Affected versionversion=6.1.120 <6.1.123
  12. Affected versionversion=6.12.2 <6.12.8
  13. Affected versionversion=6.6.64 <6.6.69
  14. Affected versionversion=6d734f1bfc336aaea91313a5632f2f197608fadd <d8e4771f99c0400a1873235704b28bb803c83d17
  15. Affected versionversion=8ac19ec818c548c5788da5926dcc8af96fad4bb1 <d2f090ea57f8d6587e09d4066f740a8617767b3d
  16. Affected versionversion=bdd11a04d102f8310812aa7cec39545fdd6662d1
  17. Affected versionversion=f1290871c8aaeb13029390a2b6e5c05733a1be6f <dd45c87782738715d5e7c167f8dabf0814a7394a

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=2014fcea19ec27df033359a0f42db0e8ed4290a8; version=22fbbc37edb840fd420fadf670366be9bf028426 <ca9818554b0f33e87f38e4bfa2dac056692d46cc; version=24cbc37e837fd9e31e5024480b779207d1d99f1d <6ea15205d7e2b811fbbdf79783f686f58abfb4b7; version=4.19.325 <4.20; version=5.10.231 <5.10.233; version=5.15.174 <5.15.176; version=5.4.287 <5.4.289; version=54cb5fa850f9306d84e49a3db44b7a7eb5536cd1 <1562871ef613fa9492aa0310933eff785166a90e; version=5fe7709251e334cc27618473299c48340cecd3c8 <3d825a241e65f7e3072978729e79d735ec40b80e; version=6.11.11 <6.12; version=6.1.120 <6.1.123; version=6.12.2 <6.12.8; version=6.6.64 <6.6.69; version=6d734f1bfc336aaea91313a5632f2f197608fadd <d8e4771f99c0400a1873235704b28bb803c83d17; version=8ac19ec818c548c5788da5926dcc8af96fad4bb1 <d2f090ea57f8d6587e09d4066f740a8617767b3d; version=bdd11a04d102f8310812aa7cec39545fdd6662d1; version=f1290871c8aaeb13029390a2b6e5c05733a1be6f <dd45c87782738715d5e7c167f8dabf0814a7394a

Published CVSS scores

7.8NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-415Double Free

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo