WSL2-Linux-Kernel/arch/m68k
Arnd Bergmann 110dea31d4 m68k: fix access_ok for coldfire
commit 26509034be upstream.

While most m68k platforms use separate address spaces for user
and kernel space, at least coldfire does not, and the other
ones have a TASK_SIZE that is less than the entire 4GB address
range.

Using the default implementation of __access_ok() stops coldfire
user space from trivially accessing kernel memory.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-28 09:58:46 +02:00
..
68000 m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
amiga
apollo
atari
bvme6000
coldfire m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
configs for-5.15/block-2021-08-30 2021-08-30 18:52:11 -07:00
emu TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00
fpsp040 signal/m68k: Use force_sigsegv(SIGSEGV) in fpsp040_die 2021-08-26 09:59:15 -05:00
hp300
ifpsp060
include m68k: fix access_ok for coldfire 2022-03-28 09:58:46 +02:00
kernel signal: Replace force_fatal_sig with force_exit_sig when in doubt 2021-11-25 09:49:07 +01:00
lib
mac m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
math-emu
mm m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
mvme16x m68k: mvme: Remove overdue #warnings in RTC handling 2021-09-13 11:19:05 +02:00
mvme147 m68k: mvme: Remove overdue #warnings in RTC handling 2021-09-13 11:19:05 +02:00
q40
sun3 m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
sun3x m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
tools/amiga
Kbuild
Kconfig m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
Kconfig.bus m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch 2021-08-23 08:40:05 +10:00
Kconfig.cpu m68k: Fix invalid RMW_INSNS on CPUs that lack CAS 2021-08-09 13:23:50 +02:00
Kconfig.debug
Kconfig.devices
Kconfig.machine m68k: set a default value for MEMORY_RESERVE 2021-11-18 19:17:03 +01:00
Makefile Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
install.sh