]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'prevent-oob-under-speculation'
authorAlexei Starovoitov <ast@kernel.org>
Thu, 3 Jan 2019 00:01:25 +0000 (16:01 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 Jan 2019 00:01:25 +0000 (16:01 -0800)
commit833d0bee34a6c31ef16128976ef4ff8ca1be17cf
tree0aec20aa0c87f1cef2241c726cbbc404f5317155
parent77c007c22b07b6cc1ee368f8acd258319fb49ad0
parentcf609f1a612ea01cf4f9df8adb58987200aab5bb
Merge branch 'prevent-oob-under-speculation'

Daniel Borkmann says:

====================
This set fixes an out of bounds case under speculative execution
by implementing masking of pointer alu into the verifier. For
details please see the individual patches.

Thanks!

v2 -> v3:
  - 8/9: change states_equal condition into old->speculative &&
    !cur->speculative, thanks Jakub!
  - 8/9: remove incorrect speculative state test in
    propagate_liveness(), thanks Jakub!
v1 -> v2:
  - Typo fixes in commit msg and a comment, thanks David!
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>