__send_signal: pass q->info, not info, to userns_fixup_signal_uid
PATCH 1/1 __send_signal: pass q->info, not info, to userns_fixup_signal_uid
Eric Biederman pointed out that passing info is a bug and could lead to a NULL pointer deref to boot.
Signed-off-by Serge Hallyn <[email protected]>
--- kernel/signal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/signal.c +1 -1
@@ -1118,7 +1118,7 @@ static int __send_signal(int sig, struct siginfo *info, struct task_struct *t,break ; } -userns_fixup_signal_uid (info, t); +userns_fixup_signal_uid (q->info, t); }else if (!is_si_special (info)) {if (sig >=SIGRTMIN && info->si_code !=SI_USER ) {
Signature · 1 line
1.7.5.4