diff options
author | Jan Kara <jack@suse.cz> | 2014-08-17 11:49:57 +0200 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2014-11-23 10:55:54 +0100 |
commit | 34af0b70d23880d47fd75f209d2ccc138dbe6e55 (patch) | |
tree | a401253877ebcb82613b5a0f816481072145ca3a /net/sctp/associola.c | |
parent | 5c114ceb1b1f75c960ddbdeadbb97ed57788db3f (diff) |
isofs: Fix unbounded recursion when processing relocated directories
We did not check relocated directory in any way when processing Rock
Ridge 'CL' tag. Thus a corrupted isofs image can possibly have a CL
entry pointing to another CL entry leading to possibly unbounded
recursion in kernel code and thus stack overflow or deadlocks (if there
is a loop created from CL entries).
Fix the problem by not allowing CL entry to point to a directory entry
with CL entry (such use makes no good sense anyway) and by checking
whether CL entry doesn't point to itself.
CC: stable@vger.kernel.org
Reported-by: Chris Evans <cevans@google.com>
Signed-off-by: Jan Kara <jack@suse.cz>
(cherry picked from commit 410dd3cf4c9b36f27ed4542ee18b1af5e68645a4)
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'net/sctp/associola.c')
0 files changed, 0 insertions, 0 deletions