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
..
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-08-30 18:52:11 -07:00
2021-09-01 09:51:16 -07:00
2022-03-28 09:58:46 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2021-09-24 13:35:07 +02:00
2020-03-09 11:12:19 +01:00
2021-07-10 11:01:38 -07:00