John Stultz
b07eec3450
ANDROID: xt_qtaguid: Fix panic caused by processing non-full socket.
...
In an issue very similar to 4e461c777e3 (xt_qtaguid: Fix panic
caused by synack processing), we were seeing panics on occasion
in testing.
In this case, it was the same issue, but caused by a different
call path, as the sk being returned from qtaguid_find_sk() was
not a full socket. Resulting in the sk->sk_socket deref to fail.
This patch adds an extra check to ensure the sk being retuned
is a full socket, and if not it returns NULL.
Reported-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-07-17 10:27:40 +05:30
..
2017-04-12 22:02:40 +02:00
2017-07-15 12:00:42 -07:00
2017-06-20 13:30:14 -04:00
2017-06-26 23:13:22 -04:00
2017-06-16 11:48:40 -04:00
2017-07-04 22:35:16 +01:00
2017-07-04 22:35:19 +01:00
2017-06-16 11:48:39 -04:00
2017-07-17 10:27:40 +05:30
2017-05-02 11:46:28 -04:00
2017-07-17 10:27:40 +05:30
2017-07-01 07:39:08 -07:00
2017-06-16 11:48:37 -04:00
2017-07-15 12:44:02 -07:00
2017-07-15 12:44:02 -07:00
2017-05-21 13:42:33 -04:00
2017-07-01 07:39:07 -07:00
2017-07-04 22:35:15 +01:00
2017-03-03 10:16:38 -08:00
2017-06-20 13:30:15 -04:00
2017-06-16 11:48:40 -04:00
2017-06-26 23:13:21 -04:00
2017-06-26 23:13:22 -04:00
2017-07-17 10:27:40 +05:30
2017-07-17 10:27:40 +05:30
2017-07-04 22:35:17 +01:00
2017-07-05 16:05:24 -07:00
2017-07-03 02:31:22 -07:00
2017-07-01 07:39:08 -07:00
2017-07-04 22:35:18 +01:00
2017-07-04 22:35:15 +01:00
2017-07-04 22:35:16 +01:00
2017-07-04 22:35:15 +01:00
2017-06-20 13:30:15 -04:00
2017-06-07 15:53:24 -04:00
2017-07-08 11:26:41 +01:00
2017-06-16 11:48:40 -04:00
2017-07-17 10:27:40 +05:30
2017-04-13 13:58:22 -04:00
2017-07-01 07:39:08 -07:00
2017-07-04 22:35:17 +01:00
2017-06-23 00:38:31 +02:00
2017-07-03 05:54:00 -07:00
2017-07-01 07:39:09 -07:00
2017-07-01 07:39:08 -07:00
2017-06-16 11:48:39 -04:00
2017-06-16 11:48:39 -04:00
2017-07-08 11:16:16 +01:00
2017-07-17 10:27:40 +05:30
2017-03-09 18:23:27 -08:00
2017-07-01 07:39:08 -07:00
2017-07-12 16:26:03 -07:00
2017-07-06 11:39:54 +01:00
2017-05-16 14:49:43 -04:00
2017-03-03 20:43:26 -08:00
2017-07-13 14:35:37 -07:00
2017-06-08 14:16:24 -04:00
2017-07-01 07:39:08 -07:00
2017-07-06 10:58:19 +01:00
2017-07-05 12:31:59 -07:00
2017-06-20 13:30:15 -04:00
2017-07-17 10:27:40 +05:30
2017-07-04 22:35:18 +01:00
2017-07-04 22:35:18 +01:00
2017-07-04 13:14:34 -04:00
2017-07-17 10:27:40 +05:30
2017-06-15 12:12:40 -04:00
2017-07-15 11:06:17 -07:00
2017-04-16 23:42:49 -05:00