[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <zf5tkmd6mhhn3ktbip7vxeri6oozyswzit2a4j7kkfghnwqrwy@cd6dlf32vwsx>
Date: Thu, 31 Jul 2025 23:23:25 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
To: Neil Armstrong <neil.armstrong@...aro.org>
Cc: Bjorn Andersson <bjorn.andersson@....qualcomm.com>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, Val Packett <val@...kett.cool>
Subject: Re: [PATCH] soc: qcom: mdt_loader: Deal with zero e_shentsize
On Thu, Jul 31, 2025 at 04:58:09PM +0200, Neil Armstrong wrote:
> On 30/07/2025 22:51, Bjorn Andersson wrote:
> > Firmware that doesn't provide section headers leave both e_shentsize and
> > e_shnum 0, which obvious isn't compatible with the newly introduced
> > stricter checks.
> >
> > Make the section-related checks conditional on either of these values
> > being non-zero.
> >
> Missing:
> Fixes: 9f35ab0e53cc ("soc: qcom: mdt_loader: Fix error return values in mdt_header_valid()")
>
> Or it won't apply on stable kernels
Then it should also be:
Cc: stable@...r.kernel.org
--
With best wishes
Dmitry
Powered by blists - more mailing lists