All of lore.kernel.org
 help / color / mirror / Atom feed
* Leaking path for set_task_comm
@ 2018-09-25 17:27 ` Tong Zhang
  0 siblings, 0 replies; 10+ messages in thread
From: Tong Zhang @ 2018-09-25 17:27 UTC (permalink / raw)
  To: linux-security-module

Kernel Version: 4.18.5

Problem Description:

When using prctl(PR_SET_NAME) to set the thread name, it is checked by security_task_prctl.

We discovered a leaking path that can also use method implemented in 
fs/proc/base.c:1526 comm_write(), to do similar thing without asking LSM?s decision.

- Tong

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-09-28 14:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-25 17:27 Leaking path for set_task_comm Tong Zhang
2018-09-25 17:27 ` Tong Zhang
2018-09-25 18:39 ` Cyrill Gorcunov
2018-09-25 18:39   ` Cyrill Gorcunov
2018-09-26  0:44   ` TongZhang
2018-09-26  0:44     ` TongZhang
2018-09-26  3:16     ` Theodore Y. Ts'o
2018-09-26  3:16       ` Theodore Y. Ts'o
2018-09-26 22:39       ` Alan Cox
2018-09-26 22:39         ` Alan Cox

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.