CVE-2024-56573
published high CVSS 3.1 · 7.0efi/libstub: Free correct pointer on failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < d173aee5709bd0994d216d60589ec67f8b11376a · 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf · 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < 06d39d79cbd5a91a33707951ebf2512d0e759847 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.64 through 6.6.* (unaffected · semver) · 6.12.4 through 6.12.* (unaffected · semver) · 6.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: efi/libstub: Free correct pointer on failure cmdline_ptr is an out parameter, which is not allocated by the function itself, and likely points into the caller's stack. cmdline refers to the pool allocation that should be freed when cleaning up after a failure, so pass this instead to free_pool().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is the EFI stub entry point (`efi_pe_entry`/`efi_zboot_entry`), which executes only in the UEFI pre-boot environment on arm64/ARM/RISC-V/LoongArch; it is not bound to any network stack. An attacker needs local access to the machine to influence the boot environment and cause the kernel image to be loaded. AC:H - The `fail_free_cmdline` path is only reachable when `efi_parse_options()`'s `allocate_pool` of a ≤COMMAND_LINE_SIZE buffer fails, i.e. UEFI boot-services pool exhaustion — a firmware memory state the attacker cannot reliably influence, since the immediately preceding `efi_convert_cmdline()` allocation of comparable size already succeeded. PR:L - Reaching the stub requires a local foothold sufficient to influence the boot (boot entry/command line, chainloaded image, or a reboot on an embedded/kiosk arm64 device); no OS root or CAP_SYS_ADMIN in the running kernel is required. UI:N - No victim action is needed — the attacker with local access triggers the boot themselves, and the faulty path executes automatically inside the stub with no user prompt or interaction. S:U - The EFI stub already runs with full UEFI boot-services privilege by design, so corrupting the firmware pool does not cross into a different security authority; this is the standard "same privilege domain" case rather than a VM/IOMMU boundary escape. C:H - Firmware `FreePool()` on a stack address links stub stack memory into the boot-services free list, so that memory can later be handed to other allocations and read back; allocator-metadata corruption in the pre-boot environment is leverageable as an arbitrary-read primitive. I:H - Corrupting the UEFI pool allocator's free list yields attacker-influenced writes into fully privileged pre-boot memory, which is exploitable for control-flow hijack before any kernel hardening or Secure Boot lockdown is in effect. A:H - The invalid free hangs the boot outright on firmware that asserts on a bad pool signature (EDK2 DEBUG deadloop), and otherwise corrupts firmware heap state; the real `cmdline` pool allocation is additionally leaked on every occurrence.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < d173aee5709bd0994d216d60589ec67f8b11376a (affected · git)42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf (affected · git)42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < 06d39d79cbd5a91a33707951ebf2512d0e759847 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.64 through 6.6.* (unaffected · semver)6.12.4 through 6.12.* (unaffected · semver)6.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
efi/libstub: Free correct pointer on failure
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f83d496161425b8c147dd3966d082fddc1099006f39575eba5d33a5b42132359
- Ingested
- 23 Sep 2026, 08:31:59 UTC
- Source record
- Official CVE record