Hi Bjorn,
On 11/10/21 5:40 PM, Bjorn Andersson wrote:
On Wed 10 Nov 07:27 PST 2021, Vladimir Zapolskiy wrote:
On irq request it is improper to pass its designated name, which is
allocated on stack, because the irq name string is not copied, thus
there is a risk of leaking partial stack contents to userspace.
Fixes: 275157b367f4 ("cpufreq: qcom-cpufreq-hw: Add dcvs interrupt support")
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@xxxxxxxxxx>
This was already proposed and reviewed at:
https://lore.kernel.org/all/20210901084732.943248-1-ardb@xxxxxxxxxx/
thank you for pointing it out, missed the fix in my mailbox and have to
reinvent it after stumbling upon the problem.
Could Ard's patch please be picked up by the maintainers, preferably
with above Fixes added, so we get this backported onto v5.15 stable...
Right, the bug is quite critical and needs backporting.
--
Best wishes,
Vladimir