[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <883d5c25-e607-bfe7-1fc1-cad86e828be6@quicinc.com>
Date: Wed, 7 Feb 2024 11:09:01 -0700
From: Jeffrey Hugo <quic_jhugo@...cinc.com>
To: Fedor Pchelkin <pchelkin@...ras.ru>,
Manivannan Sadhasivam
<manivannan.sadhasivam@...aro.org>
CC: Kalle Valo <quic_kvalo@...cinc.com>,
Carl Vanderlip
<quic_carlv@...cinc.com>,
Sujeev Dias <sdias@...eaurora.org>,
"Greg
Kroah-Hartman" <gregkh@...uxfoundation.org>,
Siddartha Mohanadoss
<smohanad@...eaurora.org>, <mhi@...ts.linux.dev>,
<linux-arm-msm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
"Alexey
Khoroshilov" <khoroshilov@...ras.ru>,
<lvc-project@...uxtesting.org>, <stable@...r.kernel.org>
Subject: Re: [PATCH v2] bus: mhi: host: free buffer on error in
mhi_alloc_bhie_table
On 2/7/2024 6:40 AM, Fedor Pchelkin wrote:
> img_info->mhi_buf should be freed on error path in mhi_alloc_bhie_table().
> This error case is rare but still needs to be fixed.
>
> Found by Linux Verification Center (linuxtesting.org).
>
> Fixes: 3000f85b8f47 ("bus: mhi: core: Add support for basic PM operations")
> Cc: stable@...r.kernel.org
> Signed-off-by: Fedor Pchelkin <pchelkin@...ras.ru>
Reviewed-by: Jeffrey Hugo <quic_jhugo@...cinc.com>
Powered by blists - more mailing lists