Re: [RESEND PATCH] media: uvc: Avoid cyclic entity chains due to malformed USB descriptors

From: Will Deacon
Date: Thu Oct 31 2019 - 11:09:34 EST


On Wed, Oct 16, 2019 at 08:58:00PM +0100, Will Deacon wrote:
> Add a check before adding an entity to a chain list to ensure that the
> entity is not already part of a chain.
>
> Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
> Cc: Kostya Serebryany <kcc@xxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Fixes: c0efd232929c ("V4L/DVB (8145a): USB Video Class driver")
> Reported-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
> Link: https://lore.kernel.org/linux-media/CAAeHK+z+Si69jUR+N-SjN9q4O+o5KFiNManqEa-PjUta7EOb7A@xxxxxxxxxxxxxx/
> Signed-off-by: Will Deacon <will@xxxxxxxxxx>
> ---
>
> Resending since I don't think any material changes are required to address
> the comments on the previous posting:
>
> http://lkml.kernel.org/r/20191002112753.21630-1-will@xxxxxxxxxx
>
> drivers/media/usb/uvc/uvc_driver.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)

Gentle nudge on this patch, since I don't see it in -next and I've not
received any comments on it for a while.

Cheers,

Will