[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKYAXd-dMgmGUEow6B4pJRCUtmmgE0Qy+5CVEOTuMZA+O3gpQQ@mail.gmail.com>
Date: Mon, 5 Feb 2024 20:45:25 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Fedor Pchelkin <pchelkin@...ras.ru>
Cc: Steve French <sfrench@...ba.org>, Sergey Senozhatsky <senozhatsky@...omium.org>,
Tom Talpey <tom@...pey.com>, linux-cifs@...r.kernel.org, linux-kernel@...r.kernel.org,
Alexey Khoroshilov <khoroshilov@...ras.ru>, lvc-project@...uxtesting.org,
stable@...r.kernel.org
Subject: Re: [PATCH] ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails
2024-02-05 20:19 GMT+09:00, Fedor Pchelkin <pchelkin@...ras.ru>:
> ksmbd_iov_pin_rsp_read() doesn't free the provided aux buffer if it
> fails. Seems to be the caller's responsibility to clear the buffer in
> error case.
>
> Found by Linux Verification Center (linuxtesting.org).
>
> Fixes: e2b76ab8b5c9 ("ksmbd: add support for read compound")
> Cc: stable@...r.kernel.org
> Signed-off-by: Fedor Pchelkin <pchelkin@...ras.ru>
Applied it to #ksmbd-for-next-next.
Thanks for your patch!
Powered by blists - more mailing lists