{"id":"CVE-2024-56766","aliases":["CVE-2024-56766"],"related":[],"kind":"vulnerability","state":"published","title":"mtd: rawnand: fix double free in atmel_pmecc_create_user()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: fix double free in atmel_pmecc_create_user()\n\nThe \"user\" pointer was converted from being allocated with kzalloc() to\nbeing allocated by devm_kzalloc().  Calling kfree(user) will lead to a\ndouble free.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: fix double free in atmel_pmecc_create_user()\n\nThe \"user\" pointer was converted from being allocated with kzalloc() to\nbeing allocated by devm_kzalloc().  Calling kfree(user) will lead to a\ndouble free.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mtd: rawnand: se corrige una liberación doble en atmel_pmecc_create_user(). El puntero \"usuario\" pasó de estar asignado con kzalloc() a estar asignado por devm_kzalloc(). Llamar a kfree(user) provocará una liberación doble.","source":"nvd"}],"published":"2025-01-06T16:20:44.676Z","modified":"2026-06-17T08:12:56.480Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"22fbbc37edb840fd420fadf670366be9bf028426","fixed":"ca9818554b0f33e87f38e4bfa2dac056692d46cc","status":"affected"},{"type":"git","introduced":"54cb5fa850f9306d84e49a3db44b7a7eb5536cd1","fixed":"1562871ef613fa9492aa0310933eff785166a90e","status":"affected"},{"type":"git","introduced":"5fe7709251e334cc27618473299c48340cecd3c8","fixed":"3d825a241e65f7e3072978729e79d735ec40b80e","status":"affected"},{"type":"git","introduced":"24cbc37e837fd9e31e5024480b779207d1d99f1d","fixed":"6ea15205d7e2b811fbbdf79783f686f58abfb4b7","status":"affected"},{"type":"git","introduced":"f1290871c8aaeb13029390a2b6e5c05733a1be6f","fixed":"dd45c87782738715d5e7c167f8dabf0814a7394a","status":"affected"},{"type":"git","introduced":"8ac19ec818c548c5788da5926dcc8af96fad4bb1","fixed":"d2f090ea57f8d6587e09d4066f740a8617767b3d","status":"affected"},{"type":"git","introduced":"6d734f1bfc336aaea91313a5632f2f197608fadd","fixed":"d8e4771f99c0400a1873235704b28bb803c83d17","status":"affected"},{"type":"git","version":"2014fcea19ec27df033359a0f42db0e8ed4290a8","status":"affected"},{"type":"git","version":"bdd11a04d102f8310812aa7cec39545fdd6662d1","status":"affected"},{"type":"semver","introduced":"4.19.325","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"6.11.11","fixed":"6.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.4.287","fixed":"5.4.289","status":"affected"},{"type":"semver","introduced":"5.10.231","fixed":"5.10.233","status":"affected"},{"type":"semver","introduced":"5.15.174","fixed":"5.15.176","status":"affected"},{"type":"semver","introduced":"6.1.120","fixed":"6.1.123","status":"affected"},{"type":"semver","introduced":"6.6.64","fixed":"6.6.69","status":"affected"},{"type":"semver","introduced":"6.12.2","fixed":"6.12.8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.19.325","fixed":"4.20"},{"status":"affected","introduced":"5.4.287","fixed":"5.5"},{"status":"affected","introduced":"5.10.231","fixed":"5.11"},{"status":"affected","introduced":"5.15.174","fixed":"5.16"},{"status":"affected","introduced":"6.1.120","fixed":"6.1.123"},{"status":"affected","introduced":"6.6.64","fixed":"6.6.69"},{"status":"affected","introduced":"6.11.11","fixed":"6.12"},{"status":"affected","introduced":"6.12.2","fixed":"6.12.8"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ca9818554b0f33e87f38e4bfa2dac056692d46cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1562871ef613fa9492aa0310933eff785166a90e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d825a241e65f7e3072978729e79d735ec40b80e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ea15205d7e2b811fbbdf79783f686f58abfb4b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd45c87782738715d5e7c167f8dabf0814a7394a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2f090ea57f8d6587e09d4066f740a8617767b3d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8e4771f99c0400a1873235704b28bb803c83d17","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56766","url":"https://www.cve.org/CVERecord?id=CVE-2024-56766","licence":"CVE Terms of Use","modified":"2026-05-23T15:56:02.490Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56766","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56766","licence":"Public domain","modified":"2026-06-17T08:12:56.480Z"}],"updatedAt":"2026-11-25T22:58:50.726Z","epss":{"score":0.00222,"percentile":0.13597,"date":"2026-12-01T12:00:22.000Z"}}