• Bug#1103397: [stable 6.12+] x86/pkeys: Simplify PKRU update in signal f

    From Ben Hutchings@21:1/5 to Greg KH on Wed Jun 25 00:30:01 2025
    XPost: linux.debian.bugs.dist

    On Fri, 2025-06-20 at 18:11 +0200, Greg KH wrote:
    On Fri, Jun 20, 2025 at 05:56:29PM +0200, Greg KH wrote:
    On Sun, Jun 15, 2025 at 09:25:57PM +0200, Ben Hutchings wrote:
    Hi stable maintainers,

    Please apply commit d1e420772cd1 ("x86/pkeys: Simplify PKRU update in signal frame") to the stable branches for 6.12 and later.

    This fixes a regression introduced in 6.13 by commit ae6012d72fa6 ("x86/pkeys: Ensure updated PKRU value is XRSTOR'd"), which was also backported in 6.12.5.

    Now queued up, thanks.

    Nope, this broke the build on 6.12.y and 6.15.y, so now dropped. How
    did you test this?

    Sorry, I forgot to say this depends on the preceding commit 64e54461ab6e ("x86/fpu: Refactor xfeature bitmask update code for sigframe XSAVE").

    Ben.

    --
    Ben Hutchings
    The most exhausting thing in life is being insincere.
    - Anne Morrow Lindberg

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmhbJgoACgkQ57/I7JWG EQmSTA//UogBe1OcAvtahfsWKZ6/BFYx02oSX5Z+TIPuOETuy66vnj1TkCYlL4fg dqAojUQL7100V6RL7L7tXQ+FqzUv13g87i11En4/W39DzJvT6SWke/ZQIc/u/FaJ tvr1txKNAg06zoa3XHuo0fYh/4+YjlzRmqR5lC3dfmH9vU5lBOlE1CZXJ1ASxhkf QuDNWWHkeMIjY6J8cqEjvilJbjK1bzTDjiiZJhK9GwXxRZRl5qybeLbrK4AuP90J I1YxJJWyOkHcpm4DyA59uUHEi6V5aLI2I2bpMoaZgzJp10ENpqShYIbuCCd8uoXo mPvliWUgzajEw7UUlQ9RisL6FBwXKzlSpnDsyfF/1pEIkDeDFR0wtQ41SLOoaHkN hW6/BY0FFtTRc0A647FkYPiJKz3uTeaShjoB9sk6H3Rpm+QLhQWDIYogUxcAnMnH I4rINE5HVT8LGZ0VJ7a4xq08gb4rlR6AzUGkDGMdHm7CkyoGhkUG2SxROqcsEqK9 OFxGAwbq/vVCRqa9djXg+M+cvZn0wsbyA1h55hoMiUD4A4NFoB/yowS9q9XQaBKG igf/Fhs9xh9WpQu+P2nbHRZP4MWZ2HgB9S4O+VMGByAtpwKhidCket3UzBAtNx8A h2MVeGM1Ha/HhPSUywZrGelSqZlgy4Nbk6/QGmFh+1qoBN3Y6mU=
    =y51a
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.0
  • From Ben Hutchings@1:229/2 to All on Sun Jun 15 22:10:01 2025
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Hi stable maintainers,

    Please apply commit d1e420772cd1 ("x86/pkeys: Simplify PKRU update in
    signal frame") to the stable branches for 6.12 and later.

    This fixes a regression introduced in 6.13 by commit ae6012d72fa6
    ("x86/pkeys: Ensure updated PKRU value is XRSTOR'd"), which was also
    backported in 6.12.5.

    Ben.

    --
    Ben Hutchings
    73.46% of all statistics are made up.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmhPHkUACgkQ57/I7JWG EQl39BAAt3fd7BLX9f2U5wkNKQfDDBO9vLuGiINv37P+eP9bKoLcJjXbkntVM0Ha eqi4ytR1mgm7DZx9My1v1f/zpDXlKXWYzD/0Yyn8+HLuFZITID38YUqix+K0jh1/ C/cndKPdPkcyURgBeQJxnbDzrnNUbATZcE1Lk04uo/Fo0PRDxnSi9uzcbBIVTSjo nMnbkCsKOyJz73W5IrewhcSZ1qt1rPF6T72kTIjAnF3ApSqGuR9Tu3AW7sznqSV7 dLnE8KMwMCAOxm1myzzARtiAi/VjktU6ydYF3foTd9XaCO7KSZ8I8mN1yt9Vw3Rt 9njmSIWQzPhqsZCZ2T8Mw+6h09KbFi/9DrQSBkxXtliZhEC9jrH9mbyT7V2zTmdm p5o+lVUsjkmKAE7NJLxeUvgncVlRa/lsEpVl0E1XPOW0ZvQ76N+7Q0iCoVKVrX8s yoJ2rirVQgQ1uOeoJq/hQvexLsJRYLsZiB8GDHIKmjiwkYvC2kWcQRswZvUzGMqu GkF7bNJgJ/RFJ4q75u/mWFFETTSSCqUFzwOczux7pBW8D4zP4V5a0Zs0eTlB+XH4 9F6hJnVpKAanexyRK1i31+4lqMmAJVyYAHtgyR6UsVi6DiXoYUg8ZnDX82XmhIli Zy9e3vY8U4S3+BaXjBokcTBqQeaTVHtBK97zVYadVNE5+62WPg0=
    =HSr0
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Greg KH@1:229/2 to Ben Hutchings on Fri Jun 20 18:10:01 2025
    XPost: linux.debian.bugs.dist
    From: [email protected]

    On Sun, Jun 15, 2025 at 09:25:57PM +0200, Ben Hutchings wrote:
    Hi stable maintainers,

    Please apply commit d1e420772cd1 ("x86/pkeys: Simplify PKRU update in
    signal frame") to the stable branches for 6.12 and later.

    This fixes a regression introduced in 6.13 by commit ae6012d72fa6 ("x86/pkeys: Ensure updated PKRU value is XRSTOR'd"), which was also backported in 6.12.5.

    Now queued up, thanks.

    greg k-h

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Greg KH@1:229/2 to Greg KH on Fri Jun 20 18:30:01 2025
    XPost: linux.debian.bugs.dist
    From: [email protected]

    On Fri, Jun 20, 2025 at 05:56:29PM +0200, Greg KH wrote:
    On Sun, Jun 15, 2025 at 09:25:57PM +0200, Ben Hutchings wrote:
    Hi stable maintainers,

    Please apply commit d1e420772cd1 ("x86/pkeys: Simplify PKRU update in signal frame") to the stable branches for 6.12 and later.

    This fixes a regression introduced in 6.13 by commit ae6012d72fa6 ("x86/pkeys: Ensure updated PKRU value is XRSTOR'd"), which was also backported in 6.12.5.

    Now queued up, thanks.

    Nope, this broke the build on 6.12.y and 6.15.y, so now dropped. How
    did you test this?

    greg k-h

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Greg KH@1:229/2 to Ben Hutchings on Wed Jul 2 10:10:01 2025
    XPost: linux.debian.bugs.dist
    From: [email protected]

    On Wed, Jun 25, 2025 at 12:26:17AM +0200, Ben Hutchings wrote:
    On Fri, 2025-06-20 at 18:11 +0200, Greg KH wrote:
    On Fri, Jun 20, 2025 at 05:56:29PM +0200, Greg KH wrote:
    On Sun, Jun 15, 2025 at 09:25:57PM +0200, Ben Hutchings wrote:
    Hi stable maintainers,

    Please apply commit d1e420772cd1 ("x86/pkeys: Simplify PKRU update in signal frame") to the stable branches for 6.12 and later.

    This fixes a regression introduced in 6.13 by commit ae6012d72fa6 ("x86/pkeys: Ensure updated PKRU value is XRSTOR'd"), which was also backported in 6.12.5.

    Now queued up, thanks.

    Nope, this broke the build on 6.12.y and 6.15.y, so now dropped. How
    did you test this?

    Sorry, I forgot to say this depends on the preceding commit 64e54461ab6e ("x86/fpu: Refactor xfeature bitmask update code for sigframe XSAVE").

    Ok, thanks, will go try that now...

    greg k-h

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)