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 <>
To:     Linus Torvalds <>
Subject: [GIT PULL] Please pull powerpc/linux.git powerpc-5.7-4 tag

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.


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: 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(-)


Powered by blists - more mailing lists