All of lore.kernel.org
 help / color / mirror / Atom feed
* Does tkill/tgkill leak info from kernel stack?
@ 2010-01-06  0:20 Eugene Kapun
  0 siblings, 0 replies; only message in thread
From: Eugene Kapun @ 2010-01-06  0:20 UTC (permalink / raw)
  To: linux-kernel

As I can see, tkill and tgkill syscalls call do_tkill (kernel/signal.c:2336).
This function doesn't clear info struct, so it would contain what was on kernel
stack previously. And because SI_TKILL < 0, precautions in copy_siginfo_to_user
(kernel/signal.c:2154) won't prevent this data from going to userspace. Is it a
bug?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-06  0:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-06  0:20 Does tkill/tgkill leak info from kernel stack? Eugene Kapun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.