CVE-2024-56766
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.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 7.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.22%
- Percentil entre todas las CVEs puntuadas: 12
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1068Exploitation for Privilege Escalationprivilege escalation85 % - Impacto principal
T1059Command and Scripting Interpreterexecution75 %
Acceso local (AV:L) sin interacción (UI:N) con privilegios de usuario (PR:L). Double free en kernel permite ejecutar código con privilegios elevados (C:H/I:H/A:H), escalando desde usuario a root.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-415
Referencias
- https://git.kernel.org/stable/c/1562871ef613fa9492aa0310933eff785166a90e
- https://git.kernel.org/stable/c/3d825a241e65f7e3072978729e79d735ec40b80e
- https://git.kernel.org/stable/c/6ea15205d7e2b811fbbdf79783f686f58abfb4b7
- https://git.kernel.org/stable/c/ca9818554b0f33e87f38e4bfa2dac056692d46cc
- https://git.kernel.org/stable/c/d2f090ea57f8d6587e09d4066f740a8617767b3d
- https://git.kernel.org/stable/c/d8e4771f99c0400a1873235704b28bb803c83d17
- https://git.kernel.org/stable/c/dd45c87782738715d5e7c167f8dabf0814a7394a
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2024-56766",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "22fbbc37edb840fd420fadf670366be9bf028426",
"lessThan": "ca9818554b0f33e87f38e4bfa2dac056692d46cc",
"versionType": "git"
},
{
"status": "affected",
"version": "54cb5fa850f9306d84e49a3db44b7a7eb5536cd1",
"lessThan": "1562871ef613fa9492aa0310933eff785166a90e",
"versionType": "git"
},
{
"status": "affected",
"version": "5fe7709251e334cc27618473299c48340cecd3c8",
"lessThan": "3d825a241e65f7e3072978729e79d735ec40b80e",
"versionType": "git"
},
{
"status": "affected",
"version": "24cbc37e837fd9e31e5024480b779207d1d99f1d",
"lessThan": "6ea15205d7e2b811fbbdf79783f686f58abfb4b7",
"versionType": "git"
},
{
"status": "affected",
"version": "f1290871c8aaeb13029390a2b6e5c05733a1be6f",
"lessThan": "dd45c87782738715d5e7c167f8dabf0814a7394a",
"versionType": "git"
},
{
"status": "affected",
"version": "8ac19ec818c548c5788da5926dcc8af96fad4bb1",
"lessThan": "d2f090ea57f8d6587e09d4066f740a8617767b3d",
"versionType": "git"
},
{
"status": "affected",
"version": "6d734f1bfc336aaea91313a5632f2f197608fadd",
"lessThan": "d8e4771f99c0400a1873235704b28bb803c83d17",
"versionType": "git"
},
{
"status": "affected",
"version": "2014fcea19ec27df033359a0f42db0e8ed4290a8",
"versionType": "git"
},
{
"status": "affected",
"version": "bdd11a04d102f8310812aa7cec39545fdd6662d1",
"versionType": "git"
},
{
"status": "affected",
"version": "4.19.325",
"lessThan": "4.20",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.11.11",
"lessThan": "6.12",
"versionType": "semver"
}
],
"programFiles": [
"drivers/mtd/nand/raw/atmel/pmecc.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.4.287",
"lessThan": "5.4.289",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.10.231",
"lessThan": "5.10.233",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.15.174",
"lessThan": "5.15.176",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.1.120",
"lessThan": "6.1.123",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.6.64",
"lessThan": "6.6.69",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.12.2",
"lessThan": "6.12.8",
"versionType": "semver"
}
],
"programFiles": [
"drivers/mtd/nand/raw/atmel/pmecc.c"
],
"defaultStatus": "unaffected"
}
]
}
],
"published": "2025-01-06T17:15:43.127",
"references": [
{
"url": "https://git.kernel.org/stable/c/1562871ef613fa9492aa0310933eff785166a90e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3d825a241e65f7e3072978729e79d735ec40b80e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/6ea15205d7e2b811fbbdf79783f686f58abfb4b7",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ca9818554b0f33e87f38e4bfa2dac056692d46cc",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/d2f090ea57f8d6587e09d4066f740a8617767b3d",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/d8e4771f99c0400a1873235704b28bb803c83d17",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/dd45c87782738715d5e7c167f8dabf0814a7394a",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-415"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "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."
}
],
"lastModified": "2026-06-17T08:12:56.480",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3C960EB7-4E90-49E0-BB92-BE6F1B8CF26F",
"versionEndExcluding": "4.20",
"versionStartIncluding": "4.19.325"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2E049AFB-F729-4E03-87D4-2BB4FFA5E622",
"versionEndExcluding": "5.5",
"versionStartIncluding": "5.4.287"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "055DF185-747E-444A-AEC9-E23AA67777A2",
"versionEndExcluding": "5.11",
"versionStartIncluding": "5.10.231"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5EDFC1D5-0414-42C6-B6E2-1101700AA7DE",
"versionEndExcluding": "5.16",
"versionStartIncluding": "5.15.174"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "010819A3-7BB5-4ACE-9F5E-C53664C957C2",
"versionEndExcluding": "6.1.123",
"versionStartIncluding": "6.1.120"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1DA730E9-7DB9-4919-A111-9038A4685B92",
"versionEndExcluding": "6.6.69",
"versionStartIncluding": "6.6.64"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4CBF5F6E-D446-4CAE-AAA4-413442319824",
"versionEndExcluding": "6.12",
"versionStartIncluding": "6.11.11"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "42EECCF9-F7F0-46E2-A493-B31E541E6147",
"versionEndExcluding": "6.12.8",
"versionStartIncluding": "6.12.2"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "62567B3C-6CEE-46D0-BC2E-B3717FBF7D13"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5A073481-106D-4B15-B4C7-FB0213B8E1D4"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DE491969-75AE-4A6B-9A58-8FC5AF98798F"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "93C0660D-7FB8-4FBA-892A-B064BA71E49E"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}