Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
efi/libstub: Free cmdline_ptr in efi_pe_entry
Sashiko points out that efi_handle_cmdline() allocates this memory and hands it over to the caller. If efi_pe_entry() ever returns it should be freed. Add a __free annotation. Fixes: 42c8ea3dca09 ("efi: libstub: Factor out EFI stub entrypoint into separate file") Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Author Jason Gunthorpe Committer Ard Biesheuvel Date (Oct 6, 2026, 10:26 AM UTC) Commit
Copy SHA
Parent fd4465f4 fd4465f49b53c7379d10610f8edb71f77366a5b7