Bug 531746
| Summary: | SELinux is preventing /usr/bin/xauth access to a leaked unix_stream_socket file descriptor. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ruben Vermeersch <ruben> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | bugzilla.redhat.com, dwalsh, meyering, mgrepl, mhlavink, ruben, twhite |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:ecb68fa340af2f93f64e26a5c9a0216cdeb1a2bc9cadc2fc5ad62763fd0aa803 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-11-04 13:33:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 532748 | ||
|
Description
Ruben Vermeersch
2009-10-29 11:38:50 UTC
Happens when starting an X forwarded application over SSH. Not sure who is leaking, but will dontaudit. Fixed in selinux-policy-3.6.32-36.fc12.noarch FYI, reproducible when running "f12$ ssh -f rawhide xmessage foo" from an F12 to a rawhide system. I've updated the rawhide system to selinux-policy*-3.6.32-38.fc12.noarch and now it works fine. Actually updated first the F12 system (pretty sure I noticed that that didn't help), then updated the rawhide one, and that solved it. I can reproduce this bug with selinux-policy*-3.6.32-40.fc12:
Summary:
SELinux is preventing /usr/bin/xauth access to a leaked unix_stream_socket file
descriptor.
Additional Information:
Source Context unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023
Target Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
023
Target Objects unix_stream_socket [ unix_stream_socket ]
Source xauth
Source Path /usr/bin/xauth
Port <Unknown>
Host localhost.localdomain
Source RPM Packages xorg-x11-xauth-1.0.2-7.fc12
Target RPM Packages
Policy RPM selinux-policy-3.6.32-40.fc12
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name leaks
Host Name localhost.localdomain
Platform Linux localhost.localdomain
2.6.31.5-112.fc12.x86_64 #1
SMP Tue Nov 3 00:28:52 EST 2009 x86_64 x86_64
Alert Count 6
First Seen Tue 03 Nov 2009 08:37:03 PM CET
Last Seen Tue 03 Nov 2009 08:48:03 PM CET
Local ID 44af8602-3068-4b79-96a9-7e49e33ba886
Line Numbers
Raw Audit Messages
node=localhost.localdomain type=AVC msg=audit(1257277683.686:23302): avc: denied { read write } for pid=2602 comm="xauth" path="socket:[87877]" dev=sockfs ino=87877 scontext=unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket
node=localhost.localdomain type=SYSCALL msg=audit(1257277683.686:23302): arch=c000003e syscall=59 success=yes exit=0 a0=7fff4b421191 a1=12aed60 a2=1260be0 a3=389cc82560 items=0 ppid=2593 pid=2602 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="xauth" exe="/usr/bin/xauth" subj=unconfined_u:unconfined_r:xauth_t:s0-s0:c0.c1023 key=(null)
Fixed in selinux-policy-3.6.32-41.fc12.noarch My fix had a bug in it sorry. |