[lkml]   [2016]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v5] kprobes: unpoison stack in jprobe_return() for KASAN

    * Dmitry Vyukov <> wrote:

    > KASAN stack instrumentation poisons stack redzones on function entry
    > and unpoisons them on function exit. If a function exits abnormally
    > (e.g. with a longjmp like jprobe_return()), stack redzones are left
    > poisoned. Later this leads to random KASAN false reports.
    > Unpoison stack redzones in the frames we are going to jump over
    > before doing actual longjmp in jprobe_return().

    Does this affect any other architecture besides arm64? If not then it might make
    the most sense to merge this via the arm64 tree.



     \ /
      Last update: 2016-10-15 08:31    [W:2.259 / U:0.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site