Paul E. McKenney
1d10bf55d8
rcu-tasks: Don't delete holdouts within trc_inspect_reader()
...
As Yanfei pointed out, although invoking trc_del_holdout() is safe
from the viewpoint of the integrity of the holdout list itself,
the put_task_struct() invoked by trc_del_holdout() can result in
use-after-free errors due to later accesses to this task_struct structure
by the RCU Tasks Trace grace-period kthread.
This commit therefore removes this call to trc_del_holdout() from
trc_inspect_reader() in favor of the grace-period thread's existing call
to trc_del_holdout(), thus eliminating that particular class of
use-after-free errors.
Reported-by: "Xu, Yanfei" <yanfei.xu@windriver.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2021-07-06 12:38:21 -07:00
..
2021-06-29 15:45:27 -07:00
2021-07-02 15:14:36 -07:00
2021-05-07 00:26:34 -07:00
2021-06-29 12:07:18 -07:00
2021-07-02 13:31:08 -07:00
2021-05-31 10:14:49 +02:00
2021-06-29 17:29:11 -07:00
2021-06-22 11:07:18 -07:00
2021-06-28 11:55:20 +02:00
2021-07-04 12:29:16 -07:00
2021-04-27 18:14:38 -07:00
2021-07-04 12:58:33 -07:00
2021-06-11 18:52:05 +02:00
2021-06-29 12:07:18 -07:00
2021-07-06 12:38:21 -07:00
2021-07-01 17:22:14 -07:00
2021-07-04 12:58:33 -07:00
2021-07-03 11:13:22 -07:00
2021-05-02 00:43:35 +09:00
2020-12-15 22:46:15 -08:00
2021-05-07 00:26:33 -07:00
2021-02-23 10:25:27 -05:00
2021-06-08 22:18:35 -04:00
2020-12-03 14:58:35 +01:00
2021-03-22 15:23:32 -04:00
2021-06-10 20:59:05 -04:00
2021-03-22 15:23:32 -04:00
2021-06-10 20:59:05 -04:00
2020-07-30 11:15:58 -07:00
2021-01-24 14:27:16 +01:00
2021-04-08 16:04:20 -07:00
2020-08-23 17:36:59 -05:00
2020-06-11 15:14:36 +02:00
2020-09-01 09:58:03 +02:00
2021-06-29 12:23:02 -07:00
2021-06-29 10:53:55 -07:00
2021-06-28 20:39:26 -07:00
2021-05-12 11:43:25 +02:00
2021-06-28 20:39:26 -07:00
2020-12-15 22:46:19 -08:00
2021-06-29 17:29:11 -07:00
2021-06-18 11:43:08 +02:00
2021-06-28 11:45:29 -07:00
2021-04-25 05:26:10 +09:00
2021-02-26 09:41:03 -08:00
2021-07-02 12:08:10 -07:00
2021-06-10 10:00:08 +02:00
2021-05-12 14:54:55 +02:00
2021-04-08 16:04:21 -07:00
2020-12-15 19:36:48 -08:00
2021-06-28 22:43:05 +02:00
2020-11-02 18:00:20 -08:00
2021-07-01 11:06:04 -07:00
2021-05-07 00:26:32 -07:00
2021-02-22 12:33:26 +00:00
2020-10-05 13:37:03 +02:00
2021-05-07 00:26:33 -07:00
2021-07-02 12:54:34 -07:00
2021-06-29 17:29:11 -07:00
2021-05-02 00:43:35 +09:00
2021-01-19 10:24:45 +01:00
2021-01-19 10:24:45 +01:00
2021-06-22 11:13:19 -07:00
2020-09-01 09:58:03 +02:00
2020-12-14 16:40:27 -08:00
2020-09-04 17:51:55 +10:00
2021-07-01 11:06:04 -07:00
2020-12-17 13:01:31 -08:00
2020-12-14 16:40:27 -08:00
2020-12-15 19:36:48 -08:00
2021-04-10 13:35:54 +02:00
2021-06-18 11:43:09 +02:00
2020-10-16 11:11:19 -07:00
2021-06-21 13:08:36 +01:00
2020-07-27 14:31:12 -04:00
2020-12-15 22:46:18 -08:00
2020-11-25 18:52:35 +01:00
2021-05-14 19:41:32 -07:00
2021-04-14 18:04:09 +02:00
2021-07-06 12:37:55 -07:00
2020-12-01 10:30:28 +00:00
2021-06-28 12:49:52 -07:00
2021-07-02 12:08:10 -07:00
2021-05-06 15:33:49 +02:00
2021-05-12 13:01:45 +02:00
2021-06-18 11:43:07 +02:00
2020-09-19 13:13:39 -07:00
2020-09-18 14:24:16 +01:00
2021-04-09 13:22:12 +02:00
2021-03-23 16:01:58 +01:00
2021-06-07 12:11:24 +02:00
2021-06-28 20:39:26 -07:00
2021-06-23 16:41:24 -06:00
2021-07-02 12:08:10 -07:00
2021-04-30 11:20:42 -07:00
2020-11-16 08:08:54 -08:00
2021-03-08 14:22:28 -08:00
2021-06-29 11:51:25 -04:00
2021-06-28 20:39:26 -07:00
2021-05-07 00:26:34 -07:00
2021-05-09 13:07:03 -07:00
2021-06-28 20:39:26 -07:00
2021-04-30 14:14:02 -05:00
2021-07-03 11:41:14 -07:00
2020-08-19 14:13:20 +02:00
2021-01-26 11:16:34 +00:00
2021-06-29 10:53:46 -07:00
2021-05-20 12:58:30 -04:00