[PATCH 0/3] platform/x86: dell-smbios-wmi: Fixes and cleanups

From: Armin Wolf

Date: Thu Jul 16 2026 - 01:33:52 EST


This patch series primarily deals with a potential UAF inside
the dell-smbios-wmi driver reported by a user. The first patch
fixes this issue, with the remaining two patches further
cleaning up the resource management.

All patches have been tested on a Dell Inspiron 3505 and appear
to work. I also verified that the UAF issue does not occur anymore
after applying the first patch.

Armin Wolf (3):
platform/x86: dell-smbios-wmi: Fix chardev resource management
platform/x86: dell-smbios: Pass device to callbacks
platform/x86: dell-smbios-wmi: Replace global list with single item

drivers/platform/x86/dell/dell-smbios-base.c | 6 +-
drivers/platform/x86/dell/dell-smbios-smm.c | 8 +-
drivers/platform/x86/dell/dell-smbios-wmi.c | 101 +++++++++----------
drivers/platform/x86/dell/dell-smbios.h | 4 +-
4 files changed, 55 insertions(+), 64 deletions(-)

--
2.39.5