diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-11-22 13:05:48 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-11-22 13:05:48 -0800 |
commit | 68d3fa235fd83ab0fd36c367c0530d16c764051b (patch) | |
tree | 8bb9735bdf0c4c6a44216af51c67990b76ac5620 /fs | |
parent | 7d53be55c9d78feb38b29fbcaf77af1343549cf1 (diff) | |
parent | c2fe61d8be491ff8188edaf22e838f819999146b (diff) |
Merge tag 'efi-urgent-for-v5.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull EFI fixes from Borislav Petkov:
"Forwarded EFI fixes from Ard Biesheuvel:
- fix memory leak in efivarfs driver
- fix HYP mode issue in 32-bit ARM version of the EFI stub when built
in Thumb2 mode
- avoid leaking EFI pgd pages on allocation failure"
* tag 'efi-urgent-for-v5.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
efi/x86: Free efi_pgd with free_pages()
efivarfs: fix memory leak in efivarfs_create()
efi/arm: set HSCTLR Thumb2 bit correctly for HVC calls from HYP
Diffstat (limited to 'fs')
-rw-r--r-- | fs/efivarfs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/efivarfs/super.c b/fs/efivarfs/super.c index 15880a68faad..f943fd0b0699 100644 --- a/fs/efivarfs/super.c +++ b/fs/efivarfs/super.c @@ -21,6 +21,7 @@ LIST_HEAD(efivarfs_list); static void efivarfs_evict_inode(struct inode *inode) { clear_inode(inode); + kfree(inode->i_private); } static const struct super_operations efivarfs_ops = { |