{"id":"CVE-2024-56573","aliases":["CVE-2024-56573"],"related":[],"kind":"vulnerability","state":"published","title":"efi/libstub: Free correct pointer on failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi/libstub: Free correct pointer on failure\n\ncmdline_ptr is an out parameter, which is not allocated by the function\nitself, and likely points into the caller's stack.\n\ncmdline refers to the pool allocation that should be freed when cleaning\nup after a failure, so pass this instead to free_pool().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi/libstub: Free correct pointer on failure\n\ncmdline_ptr is an out parameter, which is not allocated by the function\nitself, and likely points into the caller's stack.\n\ncmdline refers to the pool allocation that should be freed when cleaning\nup after a failure, so pass this instead to free_pool().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: efi/libstub: Liberar puntero correcto en caso de falla cmdline_ptr es un parámetro de salida, que no es asignado por la función en sí, y probablemente apunta a la pila del llamador. cmdline se refiere a la asignación del grupo que se debe liberar al limpiar después de una falla, así que páselo en su lugar a free_pool().","source":"nvd"}],"published":"2024-12-27T14:23:16.231Z","modified":"2026-08-05T11:45:08.677Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-763"],"affected":[{"ranges":[{"type":"git","introduced":"42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9","fixed":"d173aee5709bd0994d216d60589ec67f8b11376a","status":"affected"},{"type":"git","introduced":"42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9","fixed":"eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf","status":"affected"},{"type":"git","introduced":"42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9","fixed":"06d39d79cbd5a91a33707951ebf2512d0e759847","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.64","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.4","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.2","fixed":"6.6.64"},{"status":"affected","introduced":"6.7","fixed":"6.12.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d173aee5709bd0994d216d60589ec67f8b11376a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06d39d79cbd5a91a33707951ebf2512d0e759847","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56573","url":"https://www.cve.org/CVERecord?id=CVE-2024-56573","licence":"CVE Terms of Use","modified":"2026-08-05T11:45:08.677Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56573","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56573","licence":"Public domain","modified":"2026-08-04T11:22:11.357Z"}],"updatedAt":"2026-11-25T22:58:50.456Z","epss":{"score":0.00236,"percentile":0.15634,"date":"2026-12-02T12:00:21.000Z"}}