[lkml]   [2018]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[GIT PULL] SELinux fixes for v4.17 (#2)
Hi Linus,

One more small fix for SELinux: a small string length fix found by
KASAN. I dislike sending patches this late in the release cycle, but
this patch fixes a legitimate problem, is very small, limited in
scope, and well understood. There are two threads with more
information on the problem, the latest is linked below:


If you're hesitant to pull this into v4.17 at such a late stage, it
probably isn't going to cause major problems as Stephen points out in
the thread linked above:

"Such a setxattr() call can only be performed by a process
with CAP_MAC_ADMIN that is also allowed mac_admin permission
in SELinux policy. Consequently, this is never possible on
Android (no process is allowed mac_admin permission, always
enforcing) and is only possible in Fedora/RHEL for a few
domains (if enforcing)."


The following changes since commit 4152dc91b5932e7fe49a5afed62a068b2f31d196:

selinux: correctly handle sa_family cases in selinux_sctp_bind_connect()
(2018-05-14 15:20:59 -0400)

are available in the Git repository at:


for you to fetch changes up to efe3de79e0b52ca281ef6691480c8c68c82a4657:

selinux: KASAN: slab-out-of-bounds in xattr_getsecurity
(2018-05-29 20:11:19 -0400)

selinux/stable-4.17 PR 20180530

Sachin Grover (1):
selinux: KASAN: slab-out-of-bounds in xattr_getsecurity

security/selinux/ss/services.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

paul moore

 \ /
  Last update: 2018-05-30 18:28    [W:0.033 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site