[lvc-project] [PATCH v2] bus: mhi: host: free buffer on error in mhi_alloc_bhie_table
Jeffrey Hugo
quic_jhugo at quicinc.com
Wed Feb 7 21:09:01 MSK 2024
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 at vger.kernel.org
> Signed-off-by: Fedor Pchelkin <pchelkin at ispras.ru>
Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>
More information about the lvc-project
mailing list