Alexander Motin
388ef045b2
Fix use-after-free in case of L2ARC prefetch failure
...
In case L2ARC read failed, l2arc_read_done() creates _different_ ZIO
to read data from the original storage device. Unfortunately pointer
to the failed ZIO remains in hdr->b_l1hdr.b_acb->acb_zio_head, and if
some other read try to bump the ZIO priority, it will crash.
The problem is reproducible by corrupting L2ARC content and reading
some data with prefetch if l2arc_noprefetch tunable is changed to 0.
With the default setting the issue is probably not reproducible now.
Reviewed-by: Tom Caputi <tcaputi@datto.com >
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov >
Signed-off-by: Alexander Motin <mav@FreeBSD.org >
Sponsored-By: iXsystems, Inc.
Closes #9648
2020-01-22 13:49:05 -08:00
..
2020-01-22 13:48:56 -08:00
2018-10-19 12:08:03 -07:00
2020-01-22 13:49:05 -08:00
2017-11-04 13:25:13 -07:00
2015-01-16 14:41:26 -08:00
2019-03-06 09:50:55 -08:00
2017-08-14 10:36:48 -07:00
2019-06-07 12:45:40 -07:00
2018-06-06 09:35:59 -07:00
2020-01-22 13:49:00 -08:00
2018-10-01 10:42:05 -07:00
2020-01-22 13:48:59 -08:00
2019-09-25 11:27:47 -07:00
2019-01-17 15:25:00 -08:00
2020-01-22 13:49:01 -08:00
2019-05-07 15:18:44 -07:00
2020-01-22 13:48:59 -08:00
2019-09-25 11:27:51 -07:00
2019-05-07 15:18:44 -07:00
2018-08-15 09:53:44 -07:00
2019-09-25 11:27:50 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2019-06-07 12:45:40 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:49:03 -08:00
2020-01-22 13:48:59 -08:00
2018-04-14 12:16:17 -07:00
2018-05-29 16:00:33 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:57 -08:00
2018-05-29 16:00:33 -07:00
2020-01-22 13:49:00 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2016-11-29 14:34:27 -08:00
2020-01-22 13:48:59 -08:00
2018-05-29 16:00:33 -07:00
2017-10-11 16:54:48 -04:00
2019-05-02 16:46:04 -07:00
2015-01-16 14:41:26 -08:00
2019-03-29 09:13:20 -07:00
2020-01-22 13:48:58 -08:00
2020-01-22 13:48:59 -08:00
2019-09-25 11:27:48 -07:00
2019-09-25 11:27:49 -07:00
2020-01-22 13:48:59 -08:00
2019-09-25 11:27:51 -07:00
2019-09-25 11:27:51 -07:00
2019-09-25 11:27:51 -07:00
2020-01-22 13:48:59 -08:00
2019-04-04 18:57:06 -07:00
2020-01-22 13:48:57 -08:00
2018-10-01 10:42:05 -07:00
2020-01-22 13:48:59 -08:00
2018-03-15 10:53:58 -07:00
2016-11-29 14:34:27 -08:00
2010-08-31 13:41:58 -07:00
2020-01-22 13:48:59 -08:00
2019-09-25 11:27:51 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:57 -08:00
2019-04-04 18:57:06 -07:00
2020-01-22 13:49:02 -08:00
2019-04-04 18:57:06 -07:00
2018-04-14 12:16:17 -07:00
2018-06-06 09:35:59 -07:00
2018-06-06 09:35:59 -07:00
2018-04-14 12:16:17 -07:00
2020-01-22 13:48:59 -08:00
2019-03-21 12:47:57 -07:00
2016-08-31 14:35:34 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:49:04 -08:00
2019-09-25 11:27:48 -07:00
2019-09-25 11:27:49 -07:00
2019-02-12 10:38:11 -08:00
2019-09-25 11:27:48 -07:00
2020-01-22 13:49:03 -08:00
2019-09-25 11:27:47 -07:00
2020-01-22 13:48:59 -08:00
2019-09-25 11:27:48 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:49:01 -08:00
2020-01-22 13:49:01 -08:00
2020-01-22 13:49:01 -08:00
2020-01-22 13:49:01 -08:00
2020-01-22 13:49:01 -08:00
2017-01-22 13:25:40 -08:00
2019-09-25 11:27:50 -07:00
2020-01-22 13:49:01 -08:00
2020-01-22 13:49:01 -08:00
2020-01-22 13:49:01 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:49:01 -08:00
2019-09-25 11:27:48 -07:00
2019-03-29 09:13:20 -07:00
2020-01-22 13:48:59 -08:00
2019-01-18 09:58:46 -08:00
2019-09-25 11:27:47 -07:00
2019-09-25 11:27:47 -07:00
2020-01-22 13:48:59 -08:00
2018-02-08 15:29:24 -08:00
2020-01-22 13:48:59 -08:00
2018-06-26 10:07:42 -07:00
2020-01-22 13:48:59 -08:00
2019-04-16 10:01:51 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:49:02 -08:00
2019-04-04 18:57:06 -07:00
2020-01-22 13:48:59 -08:00
2018-11-08 16:47:24 -08:00
2018-05-29 16:00:33 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:57 -08:00
2018-05-29 16:00:33 -07:00
2018-03-04 17:34:51 -08:00
2019-09-25 11:27:51 -07:00
2020-01-22 13:49:02 -08:00
2018-02-13 14:54:54 -08:00
2019-09-25 11:27:48 -07:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:49:02 -08:00
2020-01-22 13:49:04 -08:00
2020-01-22 13:49:04 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:49:01 -08:00
2020-01-22 13:48:59 -08:00
2020-01-22 13:48:57 -08:00
2018-02-09 10:08:05 -08:00
2018-05-02 15:01:24 -07:00
2016-12-12 10:46:26 -08:00
2019-05-08 10:04:04 -07:00
2019-05-08 10:04:04 -07:00
2020-01-22 13:48:59 -08:00
2019-09-25 11:27:49 -07:00
2018-05-29 16:00:33 -07:00
2019-04-04 09:44:46 -07:00
2020-01-22 13:49:02 -08:00