platform_kernel-5.15/arch/m68k/include
Arnd Bergmann 110dea31d4 m68k: fix access_ok for coldfire
commit 26509034bef198525d5936c116cbd0c3fa491c0b 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
..
asm m68k: fix access_ok for coldfire 2022-03-28 09:58:46 +02:00
uapi/asm arch: move SA_* definitions to generic headers 2020-11-23 10:31:05 -06:00