Peter Zijlstra
d08965a27e
x86/uaccess, ubsan: Fix UBSAN vs. SMAP
...
UBSAN can insert extra code in random locations; including AC=1
sections. Typically this code is not safe and needs wrapping.
So far, only __ubsan_handle_type_mismatch* have been observed in AC=1
sections and therefore only those are annotated.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2019-04-03 11:02:24 +02:00
..
2018-12-19 10:42:08 +01:00
2019-02-06 11:01:57 +01:00
2018-10-31 08:54:14 -07:00
2019-03-07 18:32:03 -08:00
2019-03-15 14:37:46 -07:00
2018-10-02 08:44:59 +10:00
2018-10-31 08:54:13 -07:00
2019-03-07 18:32:00 -08:00
2018-10-12 09:17:46 +02:00
2019-01-03 18:57:57 -08:00
2019-02-13 08:16:41 +01:00
2018-11-30 07:22:05 +01:00
2018-11-20 14:26:55 +08:00
2018-11-29 17:30:48 +02:00
2019-03-12 10:04:02 -07:00
2019-02-15 19:50:07 +01:00
2018-10-19 07:53:18 +02:00
2018-12-28 12:11:45 -08:00
2019-01-31 19:28:40 +01:00
2019-03-07 18:32:00 -08:00
2019-03-07 18:32:00 -08:00
2019-01-04 13:13:46 -08:00
2018-11-12 14:26:21 -08:00
2018-12-29 11:36:44 -08:00
2019-01-05 13:54:53 -08:00
2019-03-12 10:04:02 -07:00
2018-10-21 10:46:44 -04:00
2019-01-21 07:20:18 +13:00
2019-01-22 13:39:59 +01:00
2018-12-28 12:11:50 -08:00
2019-02-26 14:05:20 -05:00
2019-02-19 20:52:19 -07:00
2019-01-03 08:21:02 -07:00
2019-03-10 17:48:21 -07:00
2019-03-05 21:07:13 -08:00
2019-03-07 18:32:02 -08:00
2019-01-22 14:25:26 +01:00
2019-01-22 14:25:26 +01:00
2018-10-31 08:54:13 -07:00
2019-02-28 07:55:43 +01:00
2019-04-03 11:02:24 +02:00
2018-10-16 13:45:44 +02:00
2018-10-08 10:39:04 -07:00
2019-02-14 12:41:54 -05:00
2018-10-31 08:54:12 -07:00
2018-11-27 09:21:45 -08:00
2018-12-06 08:26:16 -05:00
2019-02-04 09:03:31 +01:00
2019-03-21 13:57:28 -07:00
2019-03-25 13:05:47 -06:00
2019-02-11 15:02:33 -07:00
2018-12-22 08:21:03 -05:00
2018-10-31 08:54:13 -07:00
2018-12-28 12:11:49 -08:00
2019-02-13 08:16:40 +01:00
2018-10-16 13:45:44 +02:00
2019-01-04 12:56:09 -08:00
2019-01-04 12:56:09 -08:00
2019-02-25 22:18:07 +01:00
2018-12-17 22:12:30 +11:00
2019-03-07 18:32:00 -08:00
2018-11-30 12:13:15 -08:00
2018-10-15 16:31:29 -04:00
2019-03-05 21:07:13 -08:00
2019-02-01 15:46:23 -08:00
2018-10-16 13:45:44 +02:00
2019-02-13 22:13:29 -08:00
2018-12-10 22:39:34 +01:00
2019-02-22 13:49:00 +01:00
2019-03-04 09:29:52 -08:00
2019-03-07 18:32:00 -08:00
2019-03-05 21:07:15 -08:00
2019-02-21 17:54:44 -05:00
2019-04-03 11:02:24 +02:00
2019-01-03 18:57:57 -08:00
2019-03-09 09:22:42 -08:00
2019-02-21 17:54:44 -05:00