Re: [PATCH 1/4] Input: psmouse - fix use-after-free during protocol disconnect

Dmitry Torokhov <[email protected]>
Newsgroups org.kernel.vger.linux-input,dev.linux.lists.sashiko-reviews
Message-ID <[email protected]>
On Mon, Jul 27, 2026 at 05:38:08AM +0000, [email protected] wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [High] The patch introduces an unbounded increment of `psmouse->pktcnt` leading to a heap buffer overflow in the `psmouse->packet` array when stray bytes are received during protocol disconnect.
> --

Fair, I'll fix this up.

Thanks.

-- 
Dmitry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.