lkml.org 
[lkml]   [2009]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] send_sigio_to_task: sanitize the usage of fown->signum
    Date
    Oleg Nesterov <oleg@redhat.com> 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 <oleg@redhat.com>

    Acked-by: David Howells <dhowells@redhat.com>


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