Skip to contentSkip to conversation

-fanalyze vs spectre-v1

DISCUSSION Peter Zijlstra 1 participant 1 message Sep 14, 2022

lore
Share & tools
lore
#0 lore raw

Hi David,

Having just watched your LPC presentation; there was a question for more things to check, but also running out ot time.

One thing that did occur to me; is that when you have the user-kernel bounary, then it should be possible to find the case where a user originating variable (result of copy-from-user, syscall argument, etc..) is used as an array index (without proper guarding like array_index_nospec()).

~hth,

Peter