Re: [PATCH 2/5] platform/x86: dell: dcdbas: Suppress bind attributes of the platform driver
From: Andy Shevchenko
Date: Mon Nov 16 2026 - 06:31:42 EST
On Fri, Nov 13, 2026 at 10:17:55PM -0800, Rosen Penev wrote:
> The dcdbas platform device is created by the module itself and stays
> in use for as long as the module is loaded: dell-smbios-smm allocates
> its SMI buffers against it through dcdbas_smi_alloc() whether or not
> the driver is bound.
>
> Binding the driver again after an unbind also leaks state:
> dcdbas_check_wsmt() runs a second time and memremap()s the firmware
> SMI buffer again, overwriting bios_buffer and leaking the previous
> mapping.
>
> Unbinding or rebinding the device by hand is not useful, so hide the
> bind and unbind files.
Sounds like Fixes tag is needed.
--
With Best Regards,
Andy Shevchenko