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-v6.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi

Pull EFI fix from Ard Biesheuvel:

- Fix potential memory leak reported by kmemleak

* tag 'efi-fixes-for-v6.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
efivarfs: Fix memory leak of efivarfs_fs_info in fs_context error paths

+6
+6
fs/efivarfs/super.c
··· 390 390 return 0; 391 391 } 392 392 393 + static void efivarfs_free(struct fs_context *fc) 394 + { 395 + kfree(fc->s_fs_info); 396 + } 397 + 393 398 static const struct fs_context_operations efivarfs_context_ops = { 394 399 .get_tree = efivarfs_get_tree, 395 400 .parse_param = efivarfs_parse_param, 396 401 .reconfigure = efivarfs_reconfigure, 402 + .free = efivarfs_free, 397 403 }; 398 404 399 405 static int efivarfs_check_missing(efi_char16_t *name16, efi_guid_t vendor,