Christopher Faulet
eaabf06031
BUG/MEDIUM: resolvers: Remove aborted resolutions from query_ids tree
...
To avoid any UAF when a resolution is released, a mechanism was added to
abort a resolution and delayed the released at the end of the current
execution path. This mechanism depends on an hard assumption: Any reference
on an aborted resolution must be removed. So, when a resolution is aborted,
it is removed from the resolver lists and inserted into a death row list.
However, a resolution may still be referenced in the query_ids tree. It is
the tree containing all resolutions with a pending request. Because aborted
resolutions are released outside the resolvers lock, it is possible to
release a resolution on a side while a query ansswer is received and
processed on another one. Thus, it is still possible to have a UAF because
of this bug.
To fix the issue, when a resolution is aborted, it is removed from any list,
but it is also removed from the query_ids tree.
This patch should solve the issue #1862 and may be related to #1875 . It must
be backported as far as 2.2.
2022-09-27 11:18:17 +02:00
..
2022-03-30 11:49:59 +02:00
2022-04-25 15:28:21 +02:00
2022-09-08 16:38:10 +02:00
2022-08-23 20:19:11 +02:00
2021-09-30 16:37:05 +02:00
2022-09-01 20:52:29 +02:00
2022-05-27 19:33:35 +02:00
2022-04-19 08:23:30 +02:00
2022-06-23 11:49:09 +02:00
2021-10-13 11:28:08 +02:00
2022-09-17 11:24:53 +02:00
2022-07-15 19:41:26 +02:00
2022-07-29 17:32:05 +02:00
2022-05-20 18:41:55 +02:00
2022-04-26 10:59:48 +02:00
2022-04-26 10:59:48 +02:00
2022-09-17 11:27:09 +02:00
2022-05-27 19:33:34 +02:00
2022-08-24 11:59:04 +02:00
2022-08-17 10:45:22 +02:00
2022-09-24 16:35:23 +02:00
2022-09-21 09:06:28 +02:00
2022-04-25 19:42:43 +02:00
2022-06-07 12:04:12 +02:00
2022-07-15 19:43:10 +02:00
2022-09-17 11:27:09 +02:00
2022-08-03 10:30:07 +02:00
2021-10-08 17:22:26 +02:00
2022-05-06 18:13:36 +02:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-09 11:15:22 +02:00
2022-07-15 20:16:30 +02:00
2022-07-01 19:15:14 +02:00
2022-05-16 16:00:26 +02:00
2022-03-21 08:30:47 +01:00
2022-09-17 11:20:44 +02:00
2022-04-13 15:10:16 +02:00
2022-08-06 17:12:51 +02:00
2022-04-15 16:22:33 +02:00
2022-08-29 09:57:33 +02:00
2021-11-08 12:08:26 +01:00
2022-06-22 18:33:27 +02:00
2022-05-27 19:33:35 +02:00
2022-05-24 15:38:05 +02:00
2022-07-07 09:35:58 +02:00
2022-09-02 11:19:07 +02:00
2022-05-30 09:59:26 +02:00
2022-09-20 15:35:29 +02:00
2022-09-24 15:56:25 +02:00
2022-09-09 17:23:01 +02:00
2022-09-23 09:50:11 +02:00
2022-04-12 08:40:38 +02:00
2022-09-20 07:41:58 +02:00
2022-04-12 08:30:08 +02:00
2022-09-20 15:35:29 +02:00
2022-09-02 19:24:12 +02:00
2022-08-17 15:52:17 +02:00
2022-09-19 14:39:28 +02:00
2022-04-08 10:12:59 +02:00
2022-07-10 14:13:48 +02:00
2022-08-18 16:13:33 +02:00
2022-04-25 19:26:26 +02:00
2022-07-06 17:54:03 +02:00
2022-02-28 17:16:55 +01:00
2022-04-22 15:45:47 +02:00
2022-02-15 20:08:20 +01:00
2022-09-12 10:12:18 +02:00
2022-09-20 16:25:30 +02:00
2022-04-12 08:19:33 +02:00
2022-06-08 15:28:38 +02:00
2022-05-27 19:33:35 +02:00
2022-03-22 09:25:52 +01:00
2022-09-02 14:23:56 +02:00
2022-09-20 16:23:45 +02:00
2022-09-12 19:33:07 +02:00
2022-05-27 19:33:35 +02:00
2022-09-20 15:35:33 +02:00
2022-01-28 19:04:02 +01:00
2022-09-24 15:44:42 +02:00
2022-08-06 17:12:51 +02:00
2022-08-01 11:59:46 +02:00
2022-05-27 19:33:35 +02:00
2022-08-29 11:38:02 +02:00
2022-08-17 10:34:00 +02:00
2022-06-23 11:49:09 +02:00
2022-07-25 16:11:11 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-05-20 18:39:43 +02:00
2022-09-09 17:23:01 +02:00
2022-09-17 11:27:09 +02:00
2022-09-20 15:35:33 +02:00
2022-09-20 15:35:09 +02:00
2022-08-17 11:04:53 +02:00
2022-05-30 14:30:05 +02:00
2022-03-04 08:58:32 +01:00
2022-07-30 10:00:59 +02:00
2022-08-03 14:27:20 +02:00
2022-07-29 17:32:05 +02:00
2022-07-29 17:32:05 +02:00
2022-08-23 17:40:09 +02:00
2022-08-11 11:11:20 +02:00
2022-09-08 16:13:38 +02:00
2022-08-05 15:27:14 +02:00
2022-08-20 19:08:31 +02:00
2022-09-17 10:59:59 +02:00
2022-08-11 19:12:12 +02:00
2022-08-29 18:45:27 +02:00
2022-09-01 19:34:46 +02:00
2022-09-27 11:18:17 +02:00
2022-08-12 11:18:46 +02:00
2022-09-08 14:19:15 +02:00
2022-01-28 19:04:02 +01:00
2022-09-17 06:30:59 +02:00
2022-03-11 07:25:11 +01:00
2021-11-19 19:25:13 +01:00
2022-09-09 11:15:22 +02:00
2022-09-13 17:03:30 +02:00
2021-12-06 09:14:20 +01:00
2022-07-15 19:58:06 +02:00
2022-07-15 19:58:06 +02:00
2022-07-25 16:11:11 +02:00
2022-08-31 15:24:01 +02:00
2022-06-20 17:27:49 +02:00
2022-05-27 19:33:35 +02:00
2022-09-17 10:59:59 +02:00
2022-05-17 11:40:33 +02:00
2022-09-09 17:24:22 +02:00
2022-09-27 11:18:11 +02:00
2022-08-17 10:52:15 +02:00
2022-09-27 10:56:51 +02:00
2022-09-08 16:21:22 +02:00
2022-05-27 19:33:35 +02:00
2022-06-13 08:04:10 +02:00
2022-09-03 06:11:08 +02:00
2022-09-21 16:01:42 +02:00
2022-08-06 16:45:26 +02:00
2021-10-08 17:22:26 +02:00
2022-09-22 15:44:13 +02:00
2022-06-08 15:28:38 +02:00
2022-02-23 17:11:33 +01:00
2022-07-01 19:26:35 +02:00
2022-06-23 11:49:09 +02:00
2022-09-14 18:16:37 +02:00