Bug 2334465 (CVE-2024-56573) - CVE-2024-56573 kernel: efi/libstub: Free correct pointer on failure
Summary: CVE-2024-56573 kernel: efi/libstub: Free correct pointer on failure
Keywords:
Status: NEW
Alias: CVE-2024-56573
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-27 15:03 UTC by OSIDB Bzimport
Modified: 2024-12-28 07:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 15:03:51 UTC
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().

Comment 1 Avinash Hanwate 2024-12-28 07:13:19 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122717-CVE-2024-56573-f5d2@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.