[PATCH] powerpc/lib: Validate size for vector operations
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Dec 7 23:38:31 AEDT 2023
On Thu, 23 Nov 2023 12:47:05 +0530, Naveen N Rao wrote:
> Some of the fp/vmx code in sstep.c assume a certain maximum size for the
> instructions being emulated. The size of those operations however is
> determined separately in analyse_instr().
>
> Add a check to validate the assumption on the maximum size of the
> operations, so as to prevent any unintended kernel stack corruption.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/lib: Validate size for vector operations
https://git.kernel.org/powerpc/c/8f9abaa6d7de0a70fc68acaedce290c1f96e2e59
cheers
More information about the Linuxppc-dev
mailing list