WSL2-Linux-Kernel/drivers/platform/x86/dell
Hans de Goede 0487d4fc42 platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call
As pointed out be Kees Cook if we return -EIO because the
obj->type != ACPI_TYPE_BUFFER, then we must kfree the
output buffer before the return.

Fixes: 1a258e6704 ("platform/x86: dell-smbios-wmi: Add new WMI dispatcher driver")
Reported-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210826140822.71198-1-hdegoede@redhat.com
2021-08-26 16:09:43 +02:00
..
dell-wmi-sysman platform/x86: dell-wmi-sysman: Change user experience when Admin/System Password is modified 2021-06-28 11:53:24 +02:00
Kconfig platform/x86: dell-smo8800: Convert to be a platform driver 2021-08-12 09:26:28 +02:00
Makefile platform/x86: dell-privacy: Add support for Dell hardware privacy 2021-06-16 17:47:51 +02:00
alienware-wmi.c
dcdbas.c platform/x86: Replace deprecated CPU-hotplug functions. 2021-08-12 09:26:28 +02:00
dcdbas.h
dell-laptop.c platform/x86: dell-privacy: Add support for Dell hardware privacy 2021-06-16 17:47:51 +02:00
dell-rbtn.c
dell-rbtn.h
dell-smbios-base.c
dell-smbios-smm.c platform/x86: dell-smbios: Remove unused dmi_system_id table 2021-08-12 09:26:27 +02:00
dell-smbios-wmi.c platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call 2021-08-26 16:09:43 +02:00
dell-smbios.h
dell-smo8800.c platform/x86: dell-smo8800: Convert to be a platform driver 2021-08-12 09:26:28 +02:00
dell-wmi-aio.c
dell-wmi-base.c platform/x86: dell-privacy: Add support for Dell hardware privacy 2021-06-16 17:47:51 +02:00
dell-wmi-descriptor.c
dell-wmi-descriptor.h
dell-wmi-led.c
dell-wmi-privacy.c platform/x86: dell-privacy: Add support for Dell hardware privacy 2021-06-16 17:47:51 +02:00
dell-wmi-privacy.h platform/x86: dell-privacy: Add support for Dell hardware privacy 2021-06-16 17:47:51 +02:00
dell_rbu.c