[lkml]   [2009]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] send_sigio_to_task: sanitize the usage of fown->signum
    Oleg Nesterov <> wrote:

    > send_sigio_to_task() reads fown->signum several times, we can race with
    > F_SETSIG which changes ->signum lockless. In theory, this can fool security
    > checks or we can call group_send_sig_info() with the wrong ->si_signo which
    > does not match "int sig".
    > Change the code to cache ->signum.
    > Signed-off-by: Oleg Nesterov <>

    Acked-by: David Howells <>

     \ /
      Last update: 2009-06-17 01:13    [W:0.018 / U:3.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site