Bug 547612 - SELinux is preventing /usr/bin/iceauth "read" access on /proc/<pid>/status.
Summary: SELinux is preventing /usr/bin/iceauth "read" access on /proc/<pid>/status.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:d19b95a46d8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-15 06:29 UTC by vincent972
Modified: 2009-12-22 20:42 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-22 20:42:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description vincent972 2009-12-15 06:29:16 UTC
Résumé:

SELinux is preventing /usr/bin/iceauth "read" access on /proc//status.

Description détaillée:

[iceauth a un type permissif (iceauth_t). Cet accès n'a pas été refusé.]

SELinux denied access requested by iceauth. It is not expected that this access
is required by iceauth and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Autoriser l'accès:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Informations complémentaires:

Contexte source               unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023
Contexte cible                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Objets du contexte            /proc/<pid>/status [ file ]
source                        iceauth
Chemin de la source           /usr/bin/iceauth
Port                          <Inconnu>
Hôte                         (removed)
Paquetages RPM source         xorg-x11-server-utils-7.4-13.fc12
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.32-56.fc12
Selinux activé               True
Type de politique             targeted
Mode strict                   Enforcing
Nom du plugin                 catchall
Nom de l'hôte                (removed)
Plateforme                    Linux (removed) 2.6.31.6-166.fc12.i686.PAE #1 SMP Wed
                              Dec 9 11:00:30 EST 2009 i686 athlon
Compteur d'alertes            60
Première alerte              mar. 15 déc. 2009 07:27:02 CET
Dernière alerte              mar. 15 déc. 2009 07:27:02 CET
ID local                      042ea7eb-87a2-4ced-a1f6-81fb6f002dea
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read } for  pid=8372 comm="iceauth" path="/proc/3143/status" dev=proc ino=13523 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read } for  pid=8372 comm="iceauth" path="/proc/3143/status" dev=proc ino=13523 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidiactl" dev=tmpfs ino=12142 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia1" dev=tmpfs ino=12144 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia1" dev=tmpfs ino=12144 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia0" dev=tmpfs ino=12162 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia0" dev=tmpfs ino=12162 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia1" dev=tmpfs ino=12144 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia1" dev=tmpfs ino=12144 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="socket:[15218]" dev=sockfs ino=15218 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidiactl" dev=tmpfs ino=12142 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="socket:[15047]" dev=sockfs ino=15047 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia1" dev=tmpfs ino=12144 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia1" dev=tmpfs ino=12144 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia0" dev=tmpfs ino=12162 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia0" dev=tmpfs ino=12162 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia1" dev=tmpfs ino=12144 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/dev/nvidia1" dev=tmpfs ino=12144 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="socket:[86443]" dev=sockfs ino=86443 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { write } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/.parentlock" dev=dm-0 ino=405517 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="socket:[86471]" dev=sockfs ino=86471 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read } for  pid=8372 comm="iceauth" path="/dev/urandom" dev=tmpfs ino=2971 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read } for  pid=8372 comm="iceauth" path="inotify" dev=inotifyfs ino=1 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=system_u:object_r:inotifyfs_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/extensions/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}/chrome/adblockplus.jar" dev=dm-0 ino=533682 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/XUL.mfasl" dev=dm-0 ino=397610 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/extensions/FasterFox_Lite@BigRedBrent/chrome/fasterfoxlite.jar" dev=dm-0 ino=532076 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/XPC.mfasl" dev=dm-0 ino=394303 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/Cache/_CACHE_MAP_" dev=dm-0 ino=1315014 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/Cache/_CACHE_001_" dev=dm-0 ino=1315033 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/Cache/_CACHE_002_" dev=dm-0 ino=1315926 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1260858422.677:27): avc:  denied  { read write } for  pid=8372 comm="iceauth" path="/home/Vincent/.mozilla/firefox/7hag3l4t.default/Cache/_CACHE_003_" dev=dm-0 ino=1315933 scontext=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:mozilla_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1260858422.677:27): arch=40000003 syscall=11 success=yes exit=0 a0=8b72408 a1=8b72700 a2=8b70e68 a3=8b72700 items=0 ppid=8371 pid=8372 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="iceauth" exe="/usr/bin/iceauth" subj=unconfined_u:unconfined_r:iceauth_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-56.fc12,catchall,iceauth,iceauth_t,unconfined_t,file,read
audit2allow suggests:

#============= iceauth_t ==============
allow iceauth_t device_t:chr_file { read write };
allow iceauth_t inotifyfs_t:dir read;
allow iceauth_t mozilla_home_t:file { write read };
allow iceauth_t unconfined_t:file read;
allow iceauth_t unconfined_t:unix_stream_socket { read write };
allow iceauth_t urandom_device_t:chr_file read;

Comment 1 Daniel Walsh 2009-12-15 14:22:06 UTC
You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.6.32-59.fc12.noarch

Comment 2 Fedora Update System 2009-12-16 13:56:30 UTC
selinux-policy-3.6.32-59.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-59.fc12

Comment 3 Fedora Update System 2009-12-18 04:44:32 UTC
selinux-policy-3.6.32-59.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13384


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