diff options
author | Jan Harkes <jaharkes@cs.cmu.edu> | 2017-09-27 15:52:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-24 08:33:42 +0100 |
commit | fae5947129eb9f3cf0bc05bb4c770e5c2b2c8dd6 (patch) | |
tree | 96f0f4ffbacdf68d789de44111b90444569a5d1f /tools/spi | |
parent | 9980b8278338d4ba2064c32baa5db30f15a3ff96 (diff) |
coda: fix 'kernel memory exposure attempt' in fsync
commit d337b66a4c52c7b04eec661d86c2ef6e168965a2 upstream.
When an application called fsync on a file in Coda a small request with
just the file identifier was allocated, but the declared length was set
to the size of union of all possible upcall requests.
This bug has been around for a very long time and is now caught by the
extra checking in usercopy that was introduced in Linux-4.8.
The exposure happens when the Coda cache manager process reads the fsync
upcall request at which point it is killed. As a result there is nobody
servicing any further upcalls, trapping any processes that try to access
the mounted Coda filesystem.
Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/spi')
0 files changed, 0 insertions, 0 deletions