CVE-2024-56766

HighCVSS 7.8/10Last modified Jun 17, 2026

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.

Metrics

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

Weakness enumeration

Affected software

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

References

Timeline

Published
Jan 6, 2025
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-567675.5In the Linux kernel, the following vulnerability has been resolved: dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset CVE-2024-567685.5In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bpf_get_smp_processor_id() on !CONFIG_SMP On x86-64 calling bCVE-2024-567695.5In the Linux kernel, the following vulnerability has been resolved: media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg CVE-2024-56774.3The Featured Image Generator plugin for WordPress is vulnerable to unauthorized image upload due to a missing capability check on the fig_saCVE-2024-567705.5In the Linux kernel, the following vulnerability has been resolved: net/sched: netem: account for backlog updates from child qdisc In geneCVE-2024-567715.5In the Linux kernel, the following vulnerability has been resolved: mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information CVE-2024-567727.8In the Linux kernel, the following vulnerability has been resolved: kunit: string-stream: Fix a UAF bug in kunit_init_suite() In kunit_debCVE-2024-567735.5In the Linux kernel, the following vulnerability has been resolved: kunit: Fix potential null dereference in kunit_device_driver_test() kuCVE-2024-567745.5In the Linux kernel, the following vulnerability has been resolved: btrfs: add a sanity check for btrfs root in btrfs_search_slot() SyzbotCVE-2024-567757.8In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix handling of plane refcount [Why] The mechanism toCVE-2024-567765.5In the Linux kernel, the following vulnerability has been resolved: drm/sti: avoid potential dereference of error pointers The return valuCVE-2024-567775.5In the Linux kernel, the following vulnerability has been resolved: drm/sti: avoid potential dereference of error pointers in sti_gdp_atomi
CVE-2024-56766: High severity, CVSS 7.8 | Vulnix