1. Mar 03, 2023
    • Al Viro's avatar
      openrisc: fix livelock in uaccess · caa82ae7
      Al Viro authored
      openrisc equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      caa82ae7
    • Al Viro's avatar
      nios2: fix livelock in uaccess · e902e508
      Al Viro authored
      nios2 equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      e902e508
    • Al Viro's avatar
      microblaze: fix livelock in uaccess · a1179ac7
      Al Viro authored
      microblaze equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      a1179ac7
    • Al Viro's avatar
      ia64: fix livelock in uaccess · d088af1e
      Al Viro authored
      ia64 equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      d088af1e
    • Al Viro's avatar
      sparc: fix livelock in uaccess · 79c54c97
      Al Viro authored
      sparc equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      79c54c97
    • Al Viro's avatar
      alpha: fix livelock in uaccess · dce45493
      Al Viro authored
      alpha equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      dce45493
    • Al Viro's avatar
      parisc: fix livelock in uaccess · 15261678
      Al Viro authored
      parisc equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Tested-by: default avatarHelge Deller <deller@gmx.de>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      15261678
    • Al Viro's avatar
      hexagon: fix livelock in uaccess · 0b92ed09
      Al Viro authored
      hexagon equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Acked-by: default avatarBrian Cain <bcain@quicinc.com>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      0b92ed09
    • Al Viro's avatar
      riscv: fix livelock in uaccess · d835eb3a
      Al Viro authored
      riscv equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Tested-by: default avatarBjörn Töpel <bjorn@kernel.org>
      Tested-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      d835eb3a
    • Al Viro's avatar
      m68k: fix livelock in uaccess · bd75497a
      Al Viro authored
      m68k equivalent of 26178ec1
      
       "x86: mm: consolidate VM_FAULT_RETRY handling"
      If e.g. get_user() triggers a page fault and a fatal signal is caught, we might
      end up with handle_mm_fault() returning VM_FAULT_RETRY and not doing anything
      to page tables.  In such case we must *not* return to the faulting insn -
      that would repeat the entire thing without making any progress; what we need
      instead is to treat that as failed (user) memory access.
      
      Tested-by: default avatarFinn Thain <fthain@linux-m68k.org>
      Tested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      bd75497a
  2. Feb 20, 2023
  3. Feb 19, 2023
  4. Feb 18, 2023
  5. Feb 17, 2023