[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YjxGlIyYiULyAXy6@google.com>
Date: Thu, 24 Mar 2022 19:23:16 +0900
From: Sergey Senozhatsky <senozhatsky@...omium.org>
To: Hangyu Hua <hbh25y@...il.com>
Cc: mchehab@...nel.org, senozhatsky@...omium.org, caihuoqing@...du.com,
hverkuil-cisco@...all.nl, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: dvb_vb2: fix possible out of bound access
On (22/03/24 16:01), Hangyu Hua wrote:
> vb2_core_qbuf and vb2_core_querybuf don't check the range of b->index
> controlled by the user.
>
> Fix this by adding range checking code before using them.
>
> Signed-off-by: Hangyu Hua <hbh25y@...il.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@...omium.org>
Powered by blists - more mailing lists