Messages in this thread |  | | From | Will Deacon <> | | Subject | Re: [PATCH] arm64: amu: Delay allocating cpumask for AMU FIE support | | Date | Thu, 13 Feb 2025 13:59:01 +0000 |
| |
On Fri, 31 Jan 2025 15:58:42 +0000, Beata Michalska wrote: > For the time being, the amu_fie_cpus cpumask is being exclusively used > by the AMU-related internals of FIE support and is guaranteed to be > valid on every access currently made. Still the mask is not being > invalidated on one of the error handling code paths, which leaves > a soft spot with theoretical risk of UAF for CPUMASK_OFFSTACK cases. > To make things sound, delay allocating said cpumask > (for CPUMASK_OFFSTACK) avoiding otherwise nasty sanitising case failing > to register the cpufreq policy notifications. > > [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: amu: Delay allocating cpumask for AMU FIE support https://git.kernel.org/arm64/c/d923782b0412
Cheers, -- Will
https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev
|  |