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
..
2013-09-17 22:31:01 -04:00
2013-09-12 15:38:02 -07:00
2013-09-12 15:38:02 -07:00
2013-09-29 22:02:24 -04:00
2014-06-09 15:53:27 +02:00
2013-06-29 12:56:55 +04:00
2013-09-12 15:38:02 -07:00
2014-07-02 12:06:41 +02:00
2013-09-20 15:15:43 -07:00
2014-01-09 12:25:11 -08:00
2014-07-18 15:51:03 +02:00
2013-07-05 18:59:33 +04:00
2013-11-29 11:28:12 -08:00
2013-06-29 12:56:46 +04:00
2013-07-31 12:16:31 -04:00
2013-12-04 11:05:10 -08:00
2014-06-27 10:25:24 +02:00
2013-10-24 12:36:30 -07:00
2013-07-14 17:48:35 +04:00
2013-08-24 12:10:22 -04:00
2014-02-13 13:50:14 -08:00
2013-12-20 07:49:06 -08:00
2014-01-09 12:25:13 -08:00
2013-10-15 12:14:06 -04:00
2014-09-07 18:20:01 +01:00
2013-09-05 13:50:32 +09:00
2013-09-12 15:38:02 -07:00
2013-06-29 12:56:53 +04:00
2014-04-03 10:32:20 +02:00
2014-07-29 16:45:42 +02:00
2014-06-27 10:25:10 +02:00
2013-09-12 15:38:02 -07:00
2013-09-12 15:38:02 -07:00
2013-09-07 10:38:29 +02:00
2014-02-06 11:22:21 -08:00
2013-07-03 16:07:41 -07:00
2013-08-24 12:10:17 -04:00
2014-09-07 18:20:18 +01:00
2013-08-09 10:49:00 +02:00
2014-07-18 15:51:26 +02:00
2014-05-05 14:24:44 +02:00
2013-10-22 09:01:11 +01:00
2014-05-15 09:56:16 +02:00
2013-07-02 09:39:34 -07:00
2013-09-12 15:38:02 -07:00
2013-07-09 10:33:25 -07:00
2014-07-17 13:43:18 +02:00
2013-02-13 06:15:14 -08:00
2014-07-18 15:51:06 +02:00
2014-01-25 08:49:29 -08:00
2014-02-13 13:50:13 -08:00
2013-09-12 15:38:02 -07:00
2014-06-27 10:25:26 +02:00
2013-09-12 15:38:02 -07:00
2013-06-29 12:56:32 +04:00
2014-07-02 12:05:40 +02:00
2013-09-16 09:28:29 -07:00
2013-06-29 12:56:38 +04:00
2013-06-29 12:56:39 +04:00
2014-07-29 16:56:54 +02:00
2013-09-11 15:59:37 -07:00
2014-07-17 13:43:19 +02:00
2013-06-29 12:56:29 +04:00
2013-09-06 04:57:54 +01:00
2013-09-07 14:36:57 -07:00
2013-09-29 22:02:02 -04:00
2014-07-17 13:43:16 +02:00
2013-09-24 11:23:33 +02:00
2013-09-12 15:38:02 -07:00
2014-07-04 10:06:58 +02:00
2014-07-29 17:01:48 +02:00
2013-12-08 07:29:16 -08:00
2014-06-20 17:34:15 +02:00
2013-06-29 12:57:04 +04:00
2013-07-10 18:11:34 -07:00
2013-05-02 10:16:16 -07:00
2013-09-30 14:31:01 -07:00
2012-12-17 17:15:23 -08:00
2013-04-29 15:40:23 -04:00
2013-04-30 17:04:03 -07:00
2012-12-20 17:40:19 -08:00
2012-11-28 21:53:38 -05:00
2014-09-07 18:20:16 +01:00
2013-09-24 14:41:42 -07:00
2013-09-13 23:06:40 -04:00
2014-02-20 11:08:01 -08:00
2012-10-22 08:50:37 +03:00
2012-10-06 03:05:17 +09:00
2013-06-29 12:46:44 +04:00
2013-06-29 12:57:05 +04:00
2014-07-30 18:02:40 +02:00
2012-10-06 03:05:15 +09:00
2014-05-05 11:20:53 +02:00
2014-02-13 13:50:14 -08:00
2013-09-09 10:47:42 -07:00
2013-09-10 18:56:31 -04:00
2012-12-17 17:15:27 -08:00
2014-06-27 10:25:11 +02:00
2014-06-09 15:53:41 +02:00
2013-08-05 18:25:32 +04:00
2012-12-20 14:04:11 -08:00
2014-05-29 11:38:11 +02:00
2014-02-22 13:32:24 -08:00
2013-03-03 19:36:31 -08:00
2013-03-01 23:51:07 -05:00
2014-05-05 13:36:28 +02:00
2014-06-20 17:34:15 +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-04-30 17:04:04 -07:00
2013-12-08 07:29:16 -08:00
2014-05-15 09:56:06 +02:00
2013-05-01 17:51:54 -07:00
2013-09-10 18:56:31 -04:00
2014-02-06 11:22:19 -08:00
2014-07-30 18:02:41 +02:00
2014-09-07 18:20:01 +01:00
2014-05-29 11:38:11 +02:00
2013-12-11 22:37:53 -08:00
2013-05-31 15:16:33 -04:00
2013-08-26 18:42:15 -07:00
2014-06-09 15:53:13 +02:00
2014-02-13 13:50:14 -08:00
2013-06-29 12:57:05 +04:00
2013-10-30 15:28:35 +01:00
2013-10-25 10:46:40 -04:00
2013-03-03 22:58:46 -05:00
2014-02-13 13:50:10 -08:00
2013-12-20 07:49:06 -08:00
2013-10-12 13:12:31 -07:00
2014-05-29 11:38:24 +02:00
2013-03-03 22:46:22 -05:00
2013-05-29 12:57:34 -07:00
2012-12-20 18:50:08 -05:00
2012-10-12 13:16:48 -07:00
2012-12-20 18:50:11 -05:00