Juergen Gross
33172ab50a
xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
...
It isn't enough to check whether a grant is still being in use by
calling gnttab_query_foreign_access(), as a mapping could be realized
by the other side just after having called that function.
In case the call was done in preparation of revoking a grant it is
better to do so via gnttab_try_end_foreign_access() and check the
success of that operation instead.
This is CVE-2022-23038 / part of XSA-396.
Reported-by: Demi Marie Obenour <demi@invisiblethingslab.com >
Signed-off-by: Juergen Gross <jgross@suse.com >
Reviewed-by: Jan Beulich <jbeulich@suse.com >
---
V2:
- use gnttab_try_end_foreign_access()
2022-03-07 09:48:54 +01:00
..
2022-01-05 00:23:47 -05:00
2022-01-05 00:55:38 -05:00
2021-10-18 12:28:53 -07:00
2021-10-16 21:45:54 -04:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:45:54 -04:00
2022-01-24 23:30:29 -05:00
2022-01-31 12:17:53 -05:00
2021-10-16 21:45:55 -04:00
2021-10-16 21:45:55 -04:00
2021-08-13 17:49:05 -07:00
2021-10-16 21:45:55 -04:00
2021-07-29 21:58:35 -04:00
2022-01-24 23:30:23 -05:00
2021-10-16 21:28:46 -04:00
2021-10-18 22:38:34 -04:00
2021-10-16 21:45:55 -04:00
2022-01-31 16:50:59 -05:00
2021-11-05 08:42:02 -07:00
2021-10-04 23:27:38 -04:00
2021-10-16 21:45:56 -04:00
2021-10-16 21:28:48 -04:00
2021-12-22 23:38:31 -05:00
2022-02-14 22:07:51 -05:00
2022-01-14 14:37:34 +01:00
2022-01-05 00:34:41 -05:00
2022-01-22 10:24:02 +02:00
2021-12-22 23:38:29 -05:00
2022-01-10 11:03:42 -05:00
2022-01-31 16:40:07 -05:00
2022-01-24 23:30:26 -05:00
2022-02-11 16:40:04 -05:00
2021-12-16 22:48:33 -05:00
2021-12-06 22:17:19 -05:00
2021-10-16 21:45:59 -04:00
2021-12-22 23:43:23 -05:00
2021-10-16 21:32:16 -04:00
2022-02-14 22:10:29 -05:00
2021-10-16 21:45:53 -04:00
2022-01-24 23:30:28 -05:00
2021-10-18 22:38:34 -04:00
2022-01-25 00:08:18 -05:00
2021-11-29 23:02:13 -05:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-10-19 14:07:19 -04:00
2021-10-16 21:32:16 -04:00
2021-11-29 23:02:13 -05:00
2021-10-16 21:32:16 -04:00
2022-01-14 14:37:34 +01:00
2021-11-29 23:02:14 -05:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:28:47 -04:00
2021-11-18 22:26:58 -05:00
2021-12-13 23:34:01 -05:00
2021-10-16 21:45:55 -04:00
2021-10-16 21:32:16 -04:00
2021-12-22 23:41:53 -05:00
2021-10-16 21:45:56 -04:00
2021-06-29 16:46:08 -04:00
2021-10-16 21:32:16 -04:00
2021-07-28 22:24:27 -04:00
2021-08-30 10:18:25 +02:00
2021-12-22 23:03:59 -05:00
2021-10-16 21:32:16 -04:00
2021-08-23 23:07:05 -04:00
2022-01-07 09:19:51 -05:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:29:15 -04:00
2021-12-22 23:42:23 -05:00
2022-01-25 00:09:41 -05:00
2021-10-16 21:45:57 -04:00
2021-10-16 21:28:44 -04:00
2021-10-16 21:32:16 -04:00
2021-12-22 23:44:12 -05:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:32:16 -04:00
2021-11-29 06:41:29 -07:00
2021-07-28 22:24:27 -04:00
2021-12-06 22:04:35 -05:00
2021-11-29 23:02:13 -05:00
2021-07-21 23:49:02 -04:00
2022-01-14 14:37:34 +01:00
2021-11-29 06:41:29 -07:00
2022-01-22 10:24:02 +02:00
2021-11-29 06:41:29 -07:00
2021-12-22 23:38:29 -05:00
2021-11-29 23:02:15 -05:00
2022-01-22 08:33:37 +02:00
2022-01-31 12:56:01 -05:00
2021-12-16 22:38:19 -05:00
2021-08-11 22:25:37 -04:00
2021-11-16 19:42:30 -05:00
2021-10-19 14:07:19 -04:00
2021-08-11 22:25:37 -04:00
2021-12-06 22:30:32 -05:00
2021-10-18 06:17:02 -06:00
2022-01-14 14:37:34 +01:00
2022-01-22 10:24:02 +02:00
2021-10-26 21:01:48 -06:00
2021-09-28 22:42:06 -04:00
2022-01-22 08:33:35 +02:00
2021-09-13 22:15:49 -04:00
2021-12-22 23:41:13 -05:00
2022-01-14 14:37:34 +01:00
2021-11-29 06:41:29 -07:00
2021-08-23 12:54:30 -06:00
2021-10-16 21:32:16 -04:00
2022-01-10 12:33:47 +00:00
2021-08-11 22:25:41 -04:00
2022-01-18 10:05:48 +02:00
2021-12-22 23:17:27 -05:00
2021-10-16 21:32:16 -04:00
2021-10-16 21:31:43 -04:00
2022-03-07 09:48:54 +01:00
2021-08-30 10:18:25 +02:00