public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* leaking path in android binder: set_nice
@ 2018-09-25 17:27 Tong Zhang
  2018-09-25 17:38 ` Greg KH
  2018-09-25 17:52 ` Stephen Smalley
  0 siblings, 2 replies; 4+ messages in thread
From: Tong Zhang @ 2018-09-25 17:27 UTC (permalink / raw)
  To: gregkh, arve, tkjos, maco
  Cc: devel, linux-kernel, linux-security-module, Wenbo Shen

Kernel Version: 4.18.5

Problem Description:

When setting nice value, it is checked by LSM function security_task_setnice().
see kernel/sched/core.c:3972 SYSCALL_DEFINE1(nice, int, increment)

We discovered a leaking path in android binder which allows using binder’s interface to change 
a process’s nice value. This path is leaked from being monitored by LSM.
see drivers/android/binder.c:1107 binder_set_nice.

- Tong


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

end of thread, other threads:[~2018-09-26  2:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-25 17:27 leaking path in android binder: set_nice Tong Zhang
2018-09-25 17:38 ` Greg KH
2018-09-25 17:52 ` Stephen Smalley
2018-09-26  2:58   ` Theodore Y. Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox