summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorJan Harkes <jaharkes@cs.cmu.edu>2017-09-27 15:52:12 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-05 18:36:06 -0500
commitd337b66a4c52c7b04eec661d86c2ef6e168965a2 (patch)
tree2432346668216e7941acb1c369d0c243b1efa2b3 /fs/reiserfs
parentdfd6fa39d96f5049edb7af26578873e65dbafc9a (diff)
downloadlinux-d337b66a4c52c7b04eec661d86c2ef6e168965a2.tar.bz2
coda: fix 'kernel memory exposure attempt' in fsync
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. Cc: stable@vger.kernel.org Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions