Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'efi-fixes-for-v7.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi

Pull EFI fix from Ard Biesheuvel:
"Fix a potential buffer overrun issue introduced by the previous fix
for EFI boot services region reservations on x86"

* tag 'efi-fixes-for-v7.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
x86/efi: efi_unmap_boot_services: fix calculation of ranges_to_free size

+1 -1
+1 -1
arch/x86/platform/efi/quirks.c
··· 424 424 if (efi_enabled(EFI_DBG)) 425 425 return; 426 426 427 - sz = sizeof(*ranges_to_free) * efi.memmap.nr_map + 1; 427 + sz = sizeof(*ranges_to_free) * (efi.memmap.nr_map + 1); 428 428 ranges_to_free = kzalloc(sz, GFP_KERNEL); 429 429 if (!ranges_to_free) { 430 430 pr_err("Failed to allocate storage for freeable EFI regions\n");