Re: [PATCH] cpufreq: qcom-hw: Fix exposed stack contents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Viresh,

On 11/11/21 3:25 AM, Viresh Kumar wrote:
On 10-11-21, 07:40, 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/

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...

It never reached any of the PM guys unfortunately.

Ard, can you please repost it again ?


I've resent the rebased change under a series of new fixes:

  https://lore.kernel.org/linux-pm/20211111154808.2024808-1-vladimir.zapolskiy@xxxxxxxxxx/T/#m2bbf2c57686

--
Best wishes,
Vladimir



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux