[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKYAXd-3HeFKhtdOnXWqf=TXqY6-oYb23Cpqwugjb=mGuY9Bvg@mail.gmail.com>
Date: Tue, 15 Apr 2025 10:00:14 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Denis Arefev <arefev@...mel.ru>
Cc: Steve French <smfrench@...il.com>, Sergey Senozhatsky <senozhatsky@...omium.org>,
Tom Talpey <tom@...pey.com>, Ronnie Sahlberg <lsahlber@...hat.com>, Hyunchul Lee <hyc.lee@...il.com>,
linux-cifs@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, stable@...r.kernel.org
Subject: Re: [PATCH] ksmbd: Prevent integer overflow in calculation of deadtime
On Wed, Apr 9, 2025 at 6:05 PM Denis Arefev <arefev@...mel.ru> wrote:
>
> The user can set any value for 'deadtime'. This affects the arithmetic
> expression 'req->deadtime * SMB_ECHO_INTERVAL', which is subject to
> overflow. The added check makes the server behavior more predictable.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers")
> Cc: stable@...r.kernel.org
> Signed-off-by: Denis Arefev <arefev@...mel.ru>
Applied it to #ksmbd-for-next-next.
Thanks!
Powered by blists - more mailing lists