All of lore.kernel.org
 help / color / mirror / Atom feed
* leaking path in android binder: set_nice
@ 2018-09-25 17:27 ` Tong Zhang
  0 siblings, 0 replies; 8+ 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 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] 8+ messages in thread

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

Thread overview: 8+ 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:27 ` Tong Zhang
2018-09-25 17:38 ` Greg KH
2018-09-25 17:38   ` Greg KH
2018-09-25 17:52 ` Stephen Smalley
2018-09-25 17:52   ` Stephen Smalley
2018-09-26  2:58   ` Theodore Y. Ts'o
2018-09-26  2:58     ` Theodore Y. Ts'o

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.