[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172379773428.48571.12712764336372215330.b4-ty@linaro.org>
Date: Fri, 16 Aug 2024 09:42:14 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Amol Maheshwari <amahesh@....qualcomm.com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Dan Carpenter <dan.carpenter@...aro.org>, Abel Vesa <abel.vesa@...aro.org>,
Sukrut Bellary <sukrut.bellary@...ux.com>
Cc: linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v2] misc: fastrpc: Fix double free of 'buf' in error
path
On Fri, 02 Jun 2023 04:36:02 -0700, Sukrut Bellary wrote:
> smatch warning:
> drivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double free of 'buf'
>
> In fastrpc_req_mmap() error path, the fastrpc buffer is freed in
> fastrpc_req_munmap_impl() if unmap is successful.
>
> But in the end, there is an unconditional call to fastrpc_buf_free().
> So the above case triggers the double free of fastrpc buf.
>
> [...]
Applied, thanks!
[1/1] misc: fastrpc: Fix double free of 'buf' in error path
commit: b056e4e23acbbbf12fa011caa781f7cecbd5b311
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Powered by blists - more mailing lists