Re: [PATCH v3 0/7] HID: sensor: custom: use-after-free after remove
From: Семён Марьясин
Date: Sun Nov 15 2026 - 04:59:04 EST
Tested-by: Semyon Maryasin <simeon@xxxxxxxxxxxxx>
Works much the same as the previous version. When I do `rmmod
intel_ishtp_hid` under an active reader, I get several Timeout errors
in kmsg (8 this time) after which the module is unloaded and the
reader reports "No such device".
After reloading the module, sensors work fine again.
> kernel: hid-sensor-hub 001F:8087:0AC2.0004: timeout waiting for response from ISHTP device
вс, 15 нояб. 2026 г. в 01:28, Jonathan Cameron <jic23@xxxxxxxxxx>:
>
> On Mon, 9 Nov 2026 11:59:42 -0800
> Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx> wrote:
>
> > This is v3 version with changes suggested by shashiko-bot and Jonathan.
> > Also rebased on top of 7.4-rc2 kernel release.
> >
> > This patch series is essentially the same version that was sent to
> > Semyon for testing.
> >
> > Following a feedback review conducted with various AI models, it was
> > suggested to break each change into individual, separate patches. This
> > makes perfect sense, which is why this series now contains more patches.
> >
> > Additionally, these reviews identified issues in the adjacent probe and
> > removal code when active sensor instances are present. I have addressed
> > those issues in this version as well.
>
> Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>
>
> Thanks,
>
> J
>
--
С уважением,
Семён Марьясин