Lee Jones
c47385c73f
ion: Do not 'put' ION handle until after its final use
...
pass_to_user() eventually calls kref_put() on an ION handle which is
still live, potentially allowing for it to be legitimately freed by
the client.
Prevent this from happening before its final use in both ION_IOC_ALLOC
and ION_IOC_IMPORT.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-29 10:15:58 +01:00
..
2022-01-27 08:47:38 +01:00
2021-11-12 13:18:01 +01:00
2021-12-14 10:04:48 +01:00
2021-12-14 10:04:48 +01:00
2021-07-20 16:21:08 +02:00
2021-11-26 11:48:38 +01:00
2021-11-02 17:39:23 +01:00
2021-09-22 11:43:02 +02:00
2022-01-27 08:47:37 +01:00
2022-01-27 08:47:30 +01:00
2021-05-22 10:40:23 +02:00
2021-05-26 11:29:07 +02:00
2022-01-27 08:47:35 +01:00
2021-09-22 11:43:02 +02:00
2021-03-03 17:44:37 +01:00
2021-10-06 10:23:41 +02:00
2021-11-26 11:48:33 +01:00
2022-01-27 08:47:33 +01:00
2020-10-01 20:40:02 +02:00
2022-01-27 08:47:41 +01:00
2021-11-26 11:48:22 +01:00
2021-07-20 16:21:05 +02:00
2021-04-07 12:05:40 +02:00
2021-12-22 09:05:15 +01:00
2022-01-27 08:47:37 +01:00
2022-01-29 10:15:58 +01:00
2022-01-27 08:47:36 +01:00
2022-01-27 08:47:37 +01:00
2021-11-26 11:48:20 +01:00
2021-12-29 12:14:49 +01:00
2021-05-22 10:40:16 +02:00
2022-01-27 08:47:39 +01:00
2020-09-12 11:47:36 +02:00
2021-12-14 10:04:50 +01:00
2022-01-27 08:47:41 +01:00
2022-01-05 12:31:25 +01:00
2021-08-04 11:58:01 +02:00
2021-10-06 10:23:42 +02:00
2021-12-14 10:04:50 +01:00
2022-01-11 13:38:13 +01:00
2021-07-20 16:21:05 +02:00
2021-10-06 10:23:39 +02:00
2022-01-27 08:47:38 +01:00
2022-01-29 10:15:58 +01:00
2021-11-26 11:48:37 +01:00
2021-11-26 11:48:34 +01:00
2020-11-10 10:23:57 +01:00
2022-01-27 08:47:31 +01:00
2022-01-27 08:47:36 +01:00
2021-11-26 11:48:35 +01:00
2021-11-26 11:48:38 +01:00
2022-01-27 08:47:42 +01:00
2021-11-26 11:48:39 +01:00
2020-10-29 09:05:41 +01:00
2021-03-03 17:44:44 +01:00
2021-09-22 11:42:57 +02:00
2021-10-27 09:33:58 +02:00
2021-07-20 16:21:05 +02:00
2022-01-27 08:47:41 +01:00
2021-09-22 11:43:07 +02:00
2022-01-27 08:47:32 +01:00
2022-01-27 08:47:35 +01:00
2021-07-20 16:21:05 +02:00
2021-09-22 11:43:04 +02:00
2022-01-05 12:31:24 +01:00
2022-01-27 08:47:40 +01:00
2020-11-10 21:04:57 +01:00
2020-12-29 13:45:00 +01:00
2021-10-17 10:05:39 +02:00
2021-09-26 13:36:18 +02:00
2021-05-26 11:29:06 +02:00
2021-11-26 11:48:22 +01:00
2021-02-23 13:59:14 +01:00
2021-07-28 09:14:24 +02:00
2022-01-27 08:47:31 +01:00
2021-07-20 16:21:11 +02:00
2022-01-27 08:47:40 +01:00
2021-11-26 11:48:41 +01:00
2021-12-22 09:05:14 +01:00
2022-01-27 08:47:34 +01:00
2021-07-20 16:20:57 +02:00
2022-01-29 10:15:58 +01:00
2021-11-26 11:48:41 +01:00
2021-12-08 08:45:05 +01:00
2022-01-27 08:47:38 +01:00
2022-01-27 08:47:37 +01:00
2021-09-22 11:43:04 +02:00
2021-12-08 08:45:04 +01:00
2021-12-08 08:45:06 +01:00
2020-10-29 09:05:35 +01:00
2022-01-11 13:38:11 +01:00
2022-01-27 08:47:39 +01:00
2021-11-26 11:48:38 +01:00
2021-12-08 08:45:02 +01:00