Skip to content
CVE PROGRAM SOURCE RECORD7.0 High

CVE-2024-56573

efi/libstub: Free correct pointer on failure

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().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < d173aee5709bd0994d216d60589ec67f8b11376aaffected
  • 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < eaafbcf0a5782ae412ca7de12ef83fc48ccea4cfaffected
  • 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 to < 06d39d79cbd5a91a33707951ebf2512d0e759847affected

Linux Linux

Default version status: affected

  • 6.2affected
  • 0 to < 6.2unaffected
  • 6.6.64 to ≤ 6.6.*unaffected
  • 6.12.4 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References