Re: [PATCH 2/3] usb: core: strengthen size check in usb_parse_interface()
From: Oliver Neukum
Date: Tue Jul 14 2026 - 02:20:48 EST
On 14.07.26 07:53, Greg Kroah-Hartman wrote:
On Mon, Jul 13, 2026 at 12:13:04PM -0400, Alan Stern wrote:
Speaking about fault here isn't likely to be productive.No, because usb_parse_configuration() has already performed this check.
A malicious device can't avoid that earlier check, and so we don't need
to do it again.
Ok, this is my fault.
The error is easy to make. I made it once. We have the power
of using comments. That place needs one.
Regards
Oliver