RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1336394 - AVC denial when winbind is used
Summary: AVC denial when winbind is used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.9
Hardware: All
OS: Linux
high
unspecified
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 1343211
TreeView+ depends on / blocked
 
Reported: 2016-05-16 10:48 UTC by Robin Hack
Modified: 2020-02-24 09:19 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-3.7.19-293.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 09:46:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0627 0 normal SHIPPED_LIVE selinux-policy bug fix update 2017-03-21 12:29:23 UTC

Description Robin Hack 2016-05-16 10:48:45 UTC
Description of problem:
Hello. I received AVC during after badlock samba testing.

Version-Release number of selected component (if applicable):
selinux-policy-3.7.19-292.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. set: valid users = @Internal
Where: Internal is AD group.
2. Try to connect via smbclient


Actual results:
----
type=SYSCALL msg=audit(05/16/2016 18:27:03.481:245) : arch=x86_64 syscall=capget success=no exit=-13(Permission denied) a0=0x7f699c733234 a1=0x0 a2=0x7f699c733230 a3=0x7ffd7e8b9640 items=0 ppid=1 pid=4400 auid=root uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=4 comm=winbindd exe=/usr/sbin/winbindd subj=unconfined_u:system_r:winbind_t:s0 key=(null) 
type=AVC msg=audit(05/16/2016 18:27:03.481:245) : avc:  denied  { getcap } for  pid=4400 comm=winbindd scontext=unconfined_u:system_r:winbind_t:s0 tcontext=unconfined_u:system_r:winbind_t:s0 tclass=process 
----
type=SYSCALL msg=audit(05/16/2016 18:27:03.481:246) : arch=x86_64 syscall=capget success=no exit=-13(Permission denied) a0=0x7f699c733234 a1=0x7f699c73323c a2=0xd a3=0x7ffd7e8b9640 items=0 ppid=1 pid=4400 auid=root uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=4 comm=winbindd exe=/usr/sbin/winbindd subj=unconfined_u:system_r:winbind_t:s0 key=(null) 
type=AVC msg=audit(05/16/2016 18:27:03.481:246) : avc:  denied  { getcap } for  pid=4400 comm=winbindd scontext=unconfined_u:system_r:winbind_t:s0 tcontext=unconfined_u:system_r:winbind_t:s0 tclass=process 
----
type=SYSCALL msg=audit(05/16/2016 18:27:03.482:247) : arch=x86_64 syscall=capget success=no exit=-13(Permission denied) a0=0x7f699c733074 a1=0x0 a2=0x7f699c733070 a3=0x24 items=0 ppid=1 pid=4400 auid=root uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=4 comm=winbindd exe=/usr/sbin/winbindd subj=unconfined_u:system_r:winbind_t:s0 key=(null) 
type=AVC msg=audit(05/16/2016 18:27:03.482:247) : avc:  denied  { getcap } for  pid=4400 comm=winbindd scontext=unconfined_u:system_r:winbind_t:s0 tcontext=unconfined_u:system_r:winbind_t:s0 tclass=process 
----
type=SYSCALL msg=audit(05/16/2016 18:27:03.482:248) : arch=x86_64 syscall=capget success=no exit=-13(Permission denied) a0=0x7f699c733074 a1=0x7f699c73307c a2=0xd a3=0x24 items=0 ppid=1 pid=4400 auid=root uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=4 comm=winbindd exe=/usr/sbin/winbindd subj=unconfined_u:system_r:winbind_t:s0 key=(null) 
type=AVC msg=audit(05/16/2016 18:27:03.482:248) : avc:  denied  { getcap } for  pid=4400 comm=winbindd scontext=unconfined_u:system_r:winbind_t:s0 tcontext=unconfined_u:system_r:winbind_t:s0 tclass=process 
----
type=SYSCALL msg=audit(05/16/2016 18:27:03.483:249) : arch=x86_64 syscall=setgid success=yes exit=0 a0=root a1=0x0 a2=0xca a3=0x7ffd7e8b9670 items=0 ppid=4400 pid=4403 auid=root uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=4 comm=winbindd exe=/usr/sbin/winbindd subj=unconfined_u:system_r:winbind_t:s0 key=(null) 
type=AVC msg=audit(05/16/2016 18:27:03.483:249) : avc:  denied  { setgid } for  pid=4403 comm=winbindd capability=setgid  scontext=unconfined_u:system_r:winbind_t:s0 tcontext=unconfined_u:system_r:winbind_t:s0 tclass=capability 
----
type=SYSCALL msg=audit(05/16/2016 18:27:03.484:250) : arch=x86_64 syscall=setgid success=yes exit=0 a0=root a1=0x0 a2=0x7f699aa74188 a3=0x7ffd7e8b9670 items=0 ppid=4400 pid=4403 auid=root uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=4 comm=winbindd exe=/usr/sbin/winbindd subj=unconfined_u:system_r:winbind_t:s0 key=(null) 
type=AVC msg=audit(05/16/2016 18:27:03.484:250) : avc:  denied  { setgid } for  pid=4403 comm=winbindd capability=setgid  scontext=unconfined_u:system_r:winbind_t:s0 tcontext=unconfined_u:system_r:winbind_t:s0 tclass=capability 



Expected results:


Additional info:

Comment 4 Milos Malik 2016-10-05 06:37:11 UTC
Please provide also NVRs of samba* packages.

Comment 5 Robin Hack 2016-11-07 06:18:36 UTC
Hi. I don't remember :(. I think that actual versions in rhel6.8 are affected by same AVC.

Comment 9 errata-xmlrpc 2017-03-21 09:46:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0627.html


Note You need to log in before you can comment on or make changes to this bug.