lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 16 May 2020 22:11:47 +1000
From:   Michael Ellerman <mpe@...erman.id.au>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     christophe.leroy@....fr, christophe.leroy@...roup.eu,
        linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
        nayna@...ux.ibm.com, npiggin@...il.com
Subject: [GIT PULL] Please pull powerpc/linux.git powerpc-5.7-4 tag

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Linus,

Please pull some more powerpc fixes for 5.7.

This is actually three weeks worth of fixes, I was going to send most of them
last week but my build box had a hiccup so I didn't. ie. we haven't just found
all these just before rc6.

cheers


The following changes since commit 5990cdee689c6885b27c6d969a3d58b09002b0bc:

  lib/mpi: Fix building for powerpc with clang (2020-04-24 13:14:59 +1000)

are available in the git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-5.7-4

for you to fetch changes up to 249c9b0cd193d983c3a0b00f3fd3b92333bfeebe:

  powerpc/40x: Make more space for system call exception (2020-05-12 21:22:11 +1000)

- ------------------------------------------------------------------
powerpc fixes for 5.7 #4

A fix for unrecoverable SLB faults in the interrupt exit path, introduced by the
recent rewrite of interrupt exit in C.

Four fixes for our KUAP (Kernel Userspace Access Prevention) support on 64-bit.
These are all fairly minor with the exception of the change to evaluate the
get/put_user() arguments before we enable user access, which reduces the amount
of code we run with user access enabled.

A fix for our secure boot IMA rules, if enforcement of module signatures is
enabled at runtime rather than build time.

A fix to our 32-bit VDSO clock_getres() which wasn't falling back to the syscall
for unknown clocks.

A build fix for CONFIG_PPC_KUAP_DEBUG on 32-bit BookS, and another for 40x.

Thanks to:
  Christophe Leroy, Hugh Dickins, Nicholas Piggin, Aurelien Jarno, Mimi Zohar,
  Nayna Jain.

- ------------------------------------------------------------------
Christophe Leroy (3):
      powerpc/32s: Fix build failure with CONFIG_PPC_KUAP_DEBUG
      powerpc/vdso32: Fallback on getres syscall when clock is unknown
      powerpc/40x: Make more space for system call exception

Michael Ellerman (2):
      Merge KUAP fix from topic/uaccess-ppc into fixes
      powerpc/64s: Fix unrecoverable SLB crashes due to preemption check

Nayna Jain (1):
      powerpc/ima: Fix secure boot rules in ima arch policy

Nicholas Piggin (4):
      powerpc/uaccess: Evaluate macro arguments once, before user access is allowed
      powerpc/64/kuap: Move kuap checks out of MSR[RI]=0 regions of exit code
      powerpc/64s/kuap: Restore AMR in system reset exception
      powerpc/64s/kuap: Restore AMR in fast_interrupt_return


 arch/powerpc/include/asm/book3s/32/kup.h  |  2 +-
 arch/powerpc/include/asm/hw_irq.h         | 20 +++++++-
 arch/powerpc/include/asm/uaccess.h        | 49 ++++++++++++++------
 arch/powerpc/kernel/entry_64.S            |  4 +-
 arch/powerpc/kernel/exceptions-64s.S      |  1 +
 arch/powerpc/kernel/head_40x.S            |  3 +-
 arch/powerpc/kernel/ima_arch.c            |  6 +--
 arch/powerpc/kernel/syscall_64.c          | 20 ++++----
 arch/powerpc/kernel/vdso32/gettimeofday.S |  6 +--
 9 files changed, 78 insertions(+), 33 deletions(-)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEJFGtCPCthwEv2Y/bUevqPMjhpYAFAl6/2FcACgkQUevqPMjh
pYAKFQ/9EnGGclynmL6LtPGZwUx85SjGDlWSLTL3edJFQZ4x66QkSBT2R6HF9PYA
HMNC8ei5gTUBOSM9SBtapbYPfVrPO0PtjLzCIKASXpr/vmh7wPN9Fs0kcofKcRoi
p0fnxabTxFMRjOljAsywhbNBMzT5YFN91E0Ab20x/TKsh4PbXm1NfOvHy5R1J/Hw
EcomxGwp6yLEGGMl6hshEmPI49C2+BchO5rUxEYziGQmnfoG3QtPMLg3f9Spe764
MdkPd9lLgP/jLSBdIIG/qGg8OT3O3tN6l/cXZE6nHri7qHAe/1UubXQ4R5zzCmut
4hKwmDIugRdaX0MX55NKq1DRAvw6txK596Gfcas4ooO+4CXYD+0kmIcMTQsQyWxg
SY5ZpHyrU6GTvvcvAR7NVKZVDrw/xrnlpxE5L2lqRE41BUWj1dRmU3NCRpny/otp
WuXqi9rKeFJrPIO2ziBbj3a/205BbkYmVz+kDhemWQ7nh137ryUlaXGTbUfqgE3z
sTNyw84Sc1NTbd5QfFABJDDIMT3kotyDgWeLiMuTw0u6FPcaixpYCSO/DcoxxrZr
2Q6G/4QEgm6lT1tDZ0Te3dStT6PKCg6YjiC7mefMeo3OnnWJGIE3iVJJTwtDDv3a
kuzhIMynKpNZ/26kAmydpEYjFHxmyX0nwzb8704aL6WxgGhVyTw=
=LCRY
-----END PGP SIGNATURE-----

Powered by blists - more mailing lists