CVE-2024-56766: mtd: rawnand: fix double free in atmel_pmecc_create_user()
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.22% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 1562871ef613fa9492aa0310933eff785166a90e, 3d825a241e65f7e3072978729e79d735ec40b80e, 4.20; azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 6.6.76.1-1; azl3 kernel 6.6.76.1-1 on Azure Linux 3.0 6.6.76.1-1.
Low priority for now. Upgrade to Linux Linux 1562871ef613fa9492aa0310933eff785166a90e, 3d825a241e65f7e3072978729e79d735ec40b80e, 4.20; azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 6.6.76.1-1; azl3 kernel 6.6.76.1-1 on Azure Linux 3.0 6.6.76.1-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jan 6, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 12th percentile
- CWE
- CWE-415
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2014fcea19ec27df033359a0f42db0e8ed4290a8, bdd11a04d102f8310812aa7cec39545fdd6662d1affected
- 22fbbc37edb840fd420fadf670366be9bf028426 and later · before ca9818554b0f33e87f38e4bfa2dac056692d46ccaffected · git
- 54cb5fa850f9306d84e49a3db44b7a7eb5536cd1 and later · before 1562871ef613fa9492aa0310933eff785166a90eaffected · git
- 5fe7709251e334cc27618473299c48340cecd3c8 and later · before 3d825a241e65f7e3072978729e79d735ec40b80eaffected · git
- 24cbc37e837fd9e31e5024480b779207d1d99f1d and later · before 6ea15205d7e2b811fbbdf79783f686f58abfb4b7affected · git
- f1290871c8aaeb13029390a2b6e5c05733a1be6f and later · before dd45c87782738715d5e7c167f8dabf0814a7394aaffected · git
- 8ac19ec818c548c5788da5926dcc8af96fad4bb1 and later · before d2f090ea57f8d6587e09d4066f740a8617767b3daffected · git
- 6d734f1bfc336aaea91313a5632f2f197608fadd and later · before d8e4771f99c0400a1873235704b28bb803c83d17affected · git
- 4.19.325 and later · before 4.20affected · semver
- 6.11.11 and later · before 6.12affected · semver
Affected versions · NVD (9)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel4.19.325 and later · before 4.20
- linux linux kernel5.4.287 and later · before 5.5
- linux linux kernel5.10.231 and later · before 5.11
- linux linux kernel5.15.174 and later · before 5.16
- linux linux kernel6.1.120 and later · before 6.1.123
- linux linux kernel6.6.64 and later · before 6.6.69
- linux linux kernel6.11.11 and later · before 6.12
- linux linux kernel6.12.2 and later · before 6.12.8
- linux linux kernel6.13
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.123-1 | 6.1.123-1 |
| Debian:13 | linux | before 6.12.8-1 | 6.12.8-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-56764Jan 6, 2025 · ublk: detach gendisk from ublk device if add_disk() fails31Monitor
- ← EarlierCVE-2024-56765Jan 6, 2025 · powerpc/pseries/vas: Add close() callback in vas_vm_ops struct31Monitor
- Later →CVE-2024-56767Jan 6, 2025 · dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 1562871ef613fa9492aa0310933eff785166a90e | Vendor (CNA) |
| Linux Linux | 3d825a241e65f7e3072978729e79d735ec40b80e | Vendor (CNA) |
| Linux Linux | 4.20 | Vendor (CNA) |
| Linux Linux | 5.10.233 | Vendor (CNA) |
| Linux Linux | 5.15.176 | Vendor (CNA) |
| Linux Linux | 5.4.289 | Vendor (CNA) |
| Linux Linux | 6.1.123 | Vendor (CNA) |
| Linux Linux | 6.12 | Vendor (CNA) |
| Linux Linux | 6.12.8 | Vendor (CNA) |
| Linux Linux | 6.6.69 | Vendor (CNA) |
| Linux Linux | 6ea15205d7e2b811fbbdf79783f686f58abfb4b7 | Vendor (CNA) |
| Linux Linux | ca9818554b0f33e87f38e4bfa2dac056692d46cc | Vendor (CNA) |
| Linux Linux | d2f090ea57f8d6587e09d4066f740a8617767b3d | Vendor (CNA) |
| Linux Linux | d8e4771f99c0400a1873235704b28bb803c83d17 | Vendor (CNA) |
| Linux Linux | dd45c87782738715d5e7c167f8dabf0814a7394a | Vendor (CNA) |
| azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 | 6.6.76.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kernel 6.6.76.1-1 on Azure Linux 3.0 | 6.6.76.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.176.3-1 on CBL Mariner 2.0 | 5.15.176.3-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.182.1-1 on CBL Mariner 2.0 | CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.182.1-1 on CBL-Mariner 2.0 | 5.15.176.3-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.123-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-31608473 days apartsmb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()39Monitor
- CVE-2026-31609473 days apartsmb: client: avoid double-free in smbd_free_send_io() after smbd_send_batch_flush()39Monitor
- CVE-2026-43011480 days apartnet/x25: Fix potential double free of skb39Monitor
- CVE-2026-43414487 days apartscsi: qla2xxx: Completely fix fcport double free39Monitor
- CVE-2026-52993534 days aparttipc: fix double-free in tipc_buf_append()39Monitor
- CVE-2024-35814234 days apartswiotlb: Fix double-allocation of slots due to broken alignment handling35Monitor
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-415 · Double FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- git.kernel.org/stable/c/3d825a241e65f7e3072978729e79d735ec40b80e
- git.kernel.org/stable/c/6ea15205d7e2b811fbbdf79783f686f58abfb4b7
- git.kernel.org/stable/c/ca9818554b0f33e87f38e4bfa2dac056692d46cc
- git.kernel.org/stable/c/d2f090ea57f8d6587e09d4066f740a8617767b3d
- git.kernel.org/stable/c/d8e4771f99c0400a1873235704b28bb803c83d17
- git.kernel.org/stable/c/dd45c87782738715d5e7c167f8dabf0814a7394a
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.