Files
linux/fs
Jan Kara b0df06de0c isofs: Fix unbounded recursion when processing relocated directories
commit 410dd3cf4c upstream.

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.

Reported-by: Chris Evans <cevans@google.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2014-09-07 18:20:18 +01:00
..
2014-06-09 15:53:27 +02:00
2013-06-29 12:56:55 +04:00
2013-07-05 18:59:33 +04:00
2013-06-29 12:56:46 +04:00
2013-10-15 12:14:06 -04:00
2013-06-29 12:56:53 +04:00
2013-09-07 10:38:29 +02:00
2014-02-06 11:22:21 -08:00
2014-07-18 15:51:06 +02:00
2014-02-13 13:50:13 -08:00
2013-06-29 12:56:32 +04:00
2013-06-29 12:56:38 +04:00
2013-06-29 12:56:39 +04:00
2013-06-29 12:56:29 +04:00
2013-09-24 11:23:33 +02:00
2013-06-29 12:57:04 +04:00
2013-07-10 18:11:34 -07:00
2013-04-29 15:40:23 -04:00
2013-09-24 14:41:42 -07:00
2012-10-22 08:50:37 +03:00
2013-06-29 12:57:05 +04:00
2014-05-05 11:20:53 +02:00
2013-09-10 18:56:31 -04:00
2013-02-22 23:31:31 -05:00
2013-04-17 13:25:09 +01:00
2013-12-08 07:29:16 -08:00
2014-07-30 18:02:41 +02:00
2013-05-31 15:16:33 -04:00
2013-06-29 12:57:05 +04:00
2014-02-13 13:50:10 -08:00
2013-12-20 07:49:06 -08:00
2014-05-29 11:38:24 +02:00
2013-05-29 12:57:34 -07:00