Chenbo Feng
aaab05fb6b
ANDROID: qtaguid: Fix the UAF probelm with tag_ref_tree
...
When multiple threads is trying to tag/delete the same socket at the
same time, there is a chance the tag_ref_entry of the target socket to
be null before the uid_tag_data entry is freed. It is caused by the
ctrl_cmd_tag function where it doesn't correctly grab the spinlocks
when tagging a socket.
Signed-off-by: Chenbo Feng <fengc@google.com >
Bug: 65853158
Change-Id: I5d89885918054cf835370a52bff2d693362ac5f0
2018-03-05 21:56:13 +05:30
..
2015-11-07 11:28:49 +01:00
2018-02-25 11:03:47 +01:00
2015-10-24 06:54:12 -07:00
2016-07-11 12:43:04 +05:30
2016-02-16 13:51:24 -08:00
2015-03-18 10:51:35 +01:00
2015-02-22 15:59:54 -05:00
2018-01-31 12:06:10 +01:00
2017-10-08 10:14:19 +02:00
2018-01-31 12:06:10 +01:00
2017-08-24 17:02:34 -07:00
2014-10-14 02:18:24 +02:00
2015-05-25 13:25:33 -04:00
2014-10-30 17:35:30 +01:00
2014-11-05 14:10:33 -05:00
2015-08-27 11:40:43 -07:00
2017-10-08 10:14:19 +02:00
2015-08-11 12:29:01 +02:00
2015-09-18 22:00:04 +02:00
2015-09-18 22:00:04 +02:00
2015-09-18 22:00:04 +02:00
2015-09-18 22:00:04 +02:00
2015-09-18 22:00:04 +02:00
2015-09-18 22:00:04 +02:00
2015-09-18 22:00:04 +02:00
2015-08-17 21:33:06 -07:00
2018-01-31 12:06:10 +01:00
2015-08-18 01:22:50 +02:00
2015-07-23 16:17:58 +02:00
2015-04-08 16:49:08 +02:00
2016-11-18 10:48:37 +01:00
2017-10-08 10:14:19 +02:00
2014-06-30 11:38:03 +02:00
2015-08-17 21:33:06 -07:00
2014-06-30 11:38:03 +02:00
2015-08-17 21:33:06 -07:00
2015-08-17 21:33:06 -07:00
2015-08-17 21:33:06 -07:00
2015-10-27 06:54:56 +01:00
2014-10-14 02:18:24 +02:00
2018-02-16 20:09:40 +01:00
2014-08-08 16:47:23 +02:00
2015-09-05 21:57:42 -07:00
2017-11-30 08:37:27 +00:00
2015-09-18 22:00:16 +02:00
2015-12-18 14:45:45 +01:00
2015-08-07 11:50:56 +02:00
2018-01-31 12:06:11 +01:00
2017-10-08 10:14:19 +02:00
2015-11-10 23:46:36 +01:00
2018-02-16 20:09:40 +01:00
2017-04-30 05:49:28 +02:00
2015-04-13 17:17:30 +02:00
2015-04-13 17:17:29 +02:00
2015-04-13 17:17:30 +02:00
2015-09-14 18:10:57 +02:00
2015-11-10 23:47:32 +01:00
2015-12-18 14:45:45 +01:00
2016-11-26 09:54:54 +01:00
2015-04-13 17:17:29 +02:00
2015-04-13 17:17:31 +02:00
2015-04-13 17:17:30 +02:00
2015-08-07 11:50:50 +02:00
2015-09-18 21:58:49 +02:00
2015-04-13 20:12:32 +02:00
2015-01-19 14:52:39 +01:00
2017-11-15 17:13:10 +01:00
2015-04-13 17:17:29 +02:00
2015-08-19 08:39:53 +02:00
2017-11-30 08:37:27 +00:00
2015-04-13 17:17:31 +02:00
2015-04-13 17:17:28 +02:00
2015-09-29 20:21:31 +02:00
2015-04-27 13:20:34 -04:00
2018-02-25 11:03:36 +01:00
2015-09-18 21:58:25 +02:00
2014-08-02 15:03:58 -07:00
2015-04-01 11:26:42 +02:00
2014-08-23 12:21:21 -07:00
2014-09-10 12:40:10 -07:00
2015-08-27 11:40:43 -07:00
2015-09-18 22:00:04 +02:00
2015-10-12 17:04:34 +02:00
2014-11-13 12:14:42 +01:00
2014-11-05 14:11:02 -05:00
2014-08-23 12:21:21 -07:00
2017-04-10 13:12:16 +05:30
2015-09-24 09:34:41 +09:00
2014-08-05 18:46:26 -07:00
2015-09-18 21:58:25 +02:00
2015-05-14 13:00:27 +02:00
2015-08-07 11:50:56 +02:00
2015-09-18 21:58:25 +02:00
2018-01-31 12:06:11 +01:00
2015-11-08 20:56:39 -05:00
2015-04-08 16:49:09 +02:00
2017-09-18 21:14:36 +01:00
2017-05-25 16:37:25 +05:30
2016-02-16 13:51:23 -08:00
2018-03-05 21:56:13 +05:30
2016-07-11 12:43:04 +05:30
2018-02-25 11:03:37 +01:00
2015-09-18 21:58:25 +02:00
2014-11-27 13:08:42 +01:00
2014-06-07 11:44:39 -07:00
2015-06-14 10:40:18 +02:00
2016-02-16 13:51:40 -08:00
2015-02-22 15:59:54 -05:00
2017-07-05 14:37:15 +02:00
2015-08-17 21:33:06 -07:00
2015-11-04 20:47:50 -05:00
2015-09-18 21:58:25 +02:00