android_kernel_sony_sdm845/drivers/firmware/efi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Qiushi Wu 83fc0cb8db efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
[ Upstream commit 4ddf4739be6e375116c375f0a68bf3893ffcee21 ]

kobject_init_and_add() takes reference even when it fails.
If this function returns an error, kobject_put() must be called to
properly clean up the memory associated with the object. Previous
commit "b8eb718348b8" fixed a similar problem.

Fixes: 0bb549052d ("efi: Add esrt support")
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
Link: https://lore.kernel.org/r/20200528183804.4497-1-wu000273@umn.edu
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-30 15:38:42 -04:00
..
libstub efi/gop: Fix memory leak in __gop_query32/64() 2020-01-12 11:24:21 +01:00
test efi: Add efi_test driver for exporting UEFI runtime service interfaces 2016-09-09 16:08:53 +01:00
arm-init.c efi/arm: Revert deferred unmap of early memmap mapping 2018-12-01 09:44:21 +01:00
arm-runtime.c efi/arm: Revert deferred unmap of early memmap mapping 2018-12-01 09:44:21 +01:00
capsule-loader.c efi/capsule: Allocate whole capsule into virtual memory 2016-08-11 13:55:36 +02:00
capsule.c efi/capsule: Allocate whole capsule into virtual memory 2016-08-11 13:55:36 +02:00
cper.c efi/cper: Fix endianness of PCIe class code 2019-11-06 12:18:09 +01:00
efi-pstore.c Fix bug in module unloading. 2016-10-06 15:16:16 -07:00
efi.c efivar/ssdt: Don't iterate over EFI vars if no SSDT override was specified 2019-10-17 13:42:42 -07:00
efibc.c efibc: Report more information in the error messages 2016-06-27 13:06:54 +02:00
efivars.c efi/efivars: Add missing kobject_put() in sysfs entry creation error path 2020-06-20 10:24:09 +02:00
esrt.c efi/esrt: Fix reference count leak in esre_create_sysfs_entry. 2020-06-30 15:38:42 -04:00
fake_mem.c x86/efi: Don't allocate memmap through memblock after mm_init() 2017-01-19 20:18:00 +01:00
Kconfig efi: Add efi_test driver for exporting UEFI runtime service interfaces 2016-09-09 16:08:53 +01:00
Makefile efi: Add efi_test driver for exporting UEFI runtime service interfaces 2016-09-09 16:08:53 +01:00
memattr.c efi/memattr: Don't bail on zero VA if it equals the region's PA 2019-04-05 22:29:12 +02:00
memmap.c efi/arm: Revert deferred unmap of early memmap mapping 2018-12-01 09:44:21 +01:00
reboot.c efi: Add 'capsule' update support 2016-04-28 11:34:03 +02:00
runtime-map.c efi: Move some sysfs files to be read-only by root 2017-12-14 09:28:11 +01:00
runtime-wrappers.c x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls 2019-02-20 10:18:33 +01:00
vars.c firmware/efi: Add NULL pointer checks in efivars API functions 2019-02-12 19:44:53 +01:00