Greg Kurz
b003fc0d8a
9pfs: fix vulnerability in openat_dir() and local_unlinkat_common()
...
We should pass O_NOFOLLOW otherwise openat() will follow symlinks and make
QEMU vulnerable.
While here, we also fix local_unlinkat_common() to use openat_dir() for
the same reasons (it was a leftover in the original patchset actually).
This fixes CVE-2016-9602.
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-03-06 17:34:01 +01:00
..
2017-03-06 17:34:01 +01:00
2017-03-03 10:09:03 +00:00
2016-10-04 13:28:07 +01:00
2017-02-21 13:10:53 +01:00
2017-02-28 17:10:00 +00:00
2017-01-11 09:19:03 +01:00
2017-02-28 20:40:36 +01:00
2017-01-27 18:08:00 +01:00
2017-02-16 14:06:56 +01:00
2017-03-02 17:39:12 +00:00
2017-01-27 18:07:31 +01:00
2016-07-12 16:20:46 +02:00
2017-02-28 16:22:41 +00:00
2017-02-13 17:27:13 +00:00
2017-02-28 17:10:00 +00:00
2017-01-20 11:15:06 +00:00
2017-03-03 10:09:03 +00:00
2017-02-28 20:40:36 +01:00
2017-02-02 16:08:28 +00:00
2017-03-06 10:07:38 +11:00
2016-05-18 15:04:27 +03:00
2017-02-13 17:27:13 +00:00
2017-02-06 12:33:21 +11:00
2017-01-27 18:07:59 +01:00
2017-02-18 22:23:31 +01:00
2016-11-01 19:21:09 +02:00
2016-10-28 18:17:24 +03:00
2017-02-24 10:37:21 +00:00
2017-02-28 12:08:20 +00:00
2016-03-22 22:20:17 +01:00
2017-02-28 09:03:38 +03:00
2017-01-24 13:10:35 -08:00
2017-02-28 20:40:36 +01:00
2017-02-14 08:14:58 +11:00
2017-03-01 11:23:39 +11:00
2017-02-02 18:48:06 +00:00
2017-02-24 10:13:57 +00:00
2016-01-29 15:07:25 +00:00
2017-03-06 13:06:30 +00:00
2017-02-28 12:04:48 +01:00
2017-02-28 20:40:36 +01:00
2017-03-01 23:09:46 +00:00
2017-02-21 13:10:53 +01:00
2017-01-16 17:52:35 +01:00
2017-02-21 13:17:45 +01:00
2017-02-26 22:40:23 +00:00
2017-02-10 17:40:30 +00:00
2017-02-28 16:18:49 +00:00
2016-10-28 18:17:24 +03:00
2016-09-15 15:32:22 +03:00
2016-10-28 18:17:24 +03:00
2017-03-02 17:39:12 +00:00
2017-02-22 13:19:59 -07:00
2017-03-02 07:14:28 +02:00
2017-02-07 18:29:59 +00:00
2017-02-03 12:31:40 +00:00
2016-09-29 11:43:17 +08:00
2017-01-15 13:01:55 -08:00
2017-01-16 17:52:35 +01:00