Re: [PATCH v2 3/3] hwmon: (powerz) Fix use-after-free and signal handling on USB disconnect
From: Pradhan, Sanman
Date: Tue Apr 07 2026 - 17:27:13 EST
From: Sanman Pradhan <psanman@xxxxxxxxxxx>
Good observation in the AI feedback, this would be a pre-existing issue
in the driver, as this patch does not change the struct layout or DMA
buffer usage.
I would prefer to keep this patch focused on the disconnect lifetime and
signal-handling fixes. Addressing potential cacheline sharing for the DMA
buffer likely requires a more deliberate change to the struct layout or
allocation strategy, so it would be better handled in a separate follow-up.
Happy to take a look at that separately if needed.
Thank you.
Regards,
Sanman Pradhan