On Mon, Jan 09, 2023 at 12:30:50PM -0800, Kyle Huey wrote: > Hi Greg, > > The following commits fix a regression introduced into the kernel in > 5.14 (in e84ba47e313d). Please cherry-pick them for both the 6.1.y and > the 6.0.y branches. > > 6a877d2450ac x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate() > 1c813ce03055 x86/fpu: Add a pkru argument to copy_uabi_from_kernel_to_xstate(). > 2c87767c35ee x86/fpu: Add a pkru argument to copy_uabi_to_xstate() > 4a804c4f8356 x86/fpu: Allow PKRU to be (once again) written by ptrace. > d7e5aceace51 x86/fpu: Emulate XRSTOR's behavior if the xfeatures PKRU > bit is not set > 6ea25770b043 selftests/vm/pkeys: Add a regression test for setting > PKRU through ptrace > > 5.15.y requires adjusted patches and will be sent separately. All now queued up, thanks. greg k-h