Mark Rutland
19791a7ca6
arm64: fix possible spectre-v1 in ptrace_hbp_get_event()
...
It's possible for userspace to control idx. Sanitize idx when using it
as an array index.
Found by smatch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2018-04-26 16:58:39 +01:00
..
2017-11-02 11:10:55 +01:00
2017-11-15 10:56:56 -08:00
2012-09-17 13:42:21 +01:00
2017-11-02 11:10:55 +01:00
2017-06-29 11:33:15 +01:00
2018-02-09 09:44:25 -08:00
2018-03-19 13:03:17 +00:00
2018-02-06 22:53:40 +00:00
2018-03-06 18:52:22 +00:00
2018-04-11 18:50:34 +01:00
2017-03-20 16:16:54 +00:00
2018-04-11 18:49:30 +01:00
2017-12-01 13:05:08 +00:00
2017-01-12 15:05:39 +00:00
2018-02-06 22:53:27 +00:00
2018-04-23 17:27:20 +01:00
2018-01-02 13:50:34 +00:00
2018-03-19 18:14:27 +00:00
2017-04-05 18:31:38 +01:00
2018-03-06 18:52:32 +00:00
2018-02-06 22:53:13 +00:00
2017-04-04 17:50:59 +01:00
2018-03-09 08:58:22 +01:00
2018-03-09 08:58:22 +01:00
2015-07-10 16:47:13 +01:00
2017-11-03 15:24:14 +00:00
2017-11-03 12:05:23 +00:00
2018-02-08 10:44:25 -08:00
2018-03-28 15:25:44 +01:00
2017-12-01 13:04:59 +00:00
2018-02-26 10:48:01 +01:00
2018-02-06 22:53:21 +00:00
2018-02-16 18:13:57 +00:00
2017-12-12 11:53:26 +00:00
2017-04-09 07:49:35 -07:00
2018-03-05 13:45:38 -06:00
2018-03-19 13:05:13 +00:00
2017-10-24 16:23:07 +01:00
2018-01-13 10:45:03 +00:00
2015-08-03 11:34:12 +02:00
2018-03-08 13:49:26 +00:00
2018-03-06 18:52:34 +00:00
2014-07-10 11:02:40 +01:00
2017-11-02 15:55:40 +00:00
2018-04-11 18:49:30 +01:00
2018-04-24 19:07:35 +01:00
2018-04-24 19:07:35 +01:00
2017-12-01 13:04:59 +00:00
2015-12-21 14:40:54 +00:00
2017-08-02 14:53:16 -05:00
2017-08-09 14:10:29 +01:00
2018-02-20 11:34:54 +00:00
2017-11-02 11:10:55 +01:00
2018-03-28 15:25:44 +01:00
2017-01-12 15:05:39 +00:00
2018-04-26 16:58:39 +01:00
2018-03-19 18:14:25 +00:00
2018-03-19 18:14:25 +00:00
2018-02-06 22:53:13 +00:00
2017-08-09 14:10:29 +01:00
2018-01-14 18:49:50 +00:00
2017-11-02 15:55:41 +00:00
2018-03-28 15:25:44 +01:00
2018-03-28 15:25:44 +01:00
2018-02-06 22:53:27 +00:00
2017-02-03 18:46:33 +00:00
2017-01-12 15:05:39 +00:00
2018-03-26 18:01:41 +01:00
2018-02-23 13:46:38 +00:00
2018-01-13 10:45:10 +00:00
2015-03-19 10:43:51 +00:00
2018-03-28 15:25:44 +01:00
2018-04-02 20:16:11 +02:00
2018-02-23 13:46:38 +00:00
2018-01-02 16:43:12 +00:00
2017-11-02 11:10:55 +01:00
2018-04-24 19:07:36 +01:00
2017-08-09 12:16:28 +01:00
2018-01-14 18:49:52 +00:00