Files
linux/kernel
Jann Horn b692c405a1 sys: don't hold uts_sem while accessing userspace memory
commit 42a0cc3478 upstream.

Holding uts_sem as a writer while accessing userspace memory allows a
namespace admin to stall all processes that attempt to take uts_sem.
Instead, move data through stack buffers and don't access userspace memory
while uts_sem is held.

Cc: stable@vger.kernel.org
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-09 19:56:00 +02:00
..
2018-05-30 07:52:41 +02:00
2017-05-18 10:30:19 -06:00
2018-08-03 07:50:38 +02:00
2018-02-03 17:38:47 +01:00
2015-11-23 09:44:58 +01:00
2018-08-03 07:50:22 +02:00
2017-08-21 12:47:31 -07:00
2018-02-22 15:42:24 +01:00
2018-05-09 09:51:50 +02:00