Bug 560320 - SELinux is preventing /usr/libexec/cups-pk-helper-mechanism "read" access on /proc/<pid>/cmdline.
Summary: SELinux is preventing /usr/libexec/cups-pk-helper-mechanism "read" access on ...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:d8ba88b96d2...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-01-30 23:56 UTC by zub07513
Modified: 2010-02-11 14:43 UTC (History)
3 users (show)

Fixed In Version: 3.6.32-84.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-02-11 14:43:16 UTC

Attachments (Terms of Use)

Description zub07513 2010-01-30 23:56:32 UTC

SELinux is preventing /usr/libexec/cups-pk-helper-mechanism "read" access on

Detailed Description:

[cups-pk-helper- has a permissive type (cupsd_config_t). This access was not

SELinux denied access requested by cups-pk-helper-. It is not expected that this
access is required by cups-pk-helper- 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.

Allowing Access:

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

Additional Information:

Source Context                system_u:system_r:cupsd_config_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
Target Objects                /proc/<pid>/cmdline [ file ]
Source                        cups-pk-helper-
Source Path                   /usr/libexec/cups-pk-helper-mechanism
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           cups-pk-helper-0.0.4-10.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-73.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) #1 SMP Sat Nov
                              7 21:41:45 EST 2009 i686 athlon
Alert Count                   6
First Seen                    Sat 30 Jan 2010 08:08:12 PM JST
Last Seen                     Sun 31 Jan 2010 07:45:59 AM JST
Local ID                      fdb6a69c-fd00-4a84-84de-ca5541af007d
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1264891559.669:35684): avc:  denied  { read } for  pid=29825 comm="cups-pk-helper-" path="/proc/8778/cmdline" dev=proc ino=61622 scontext=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=file

node=(removed) type=SYSCALL msg=audit(1264891559.669:35684): arch=40000003 syscall=11 success=yes exit=0 a0=9f49588 a1=9f49cc0 a2=9f49008 a3=9f4c1e8 items=0 ppid=29824 pid=29825 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="cups-pk-helper-" exe="/usr/libexec/cups-pk-helper-mechanism" subj=system_u:system_r:cupsd_config_t:s0-s0:c0.c1023 key=(null)

Hash String generated from  selinux-policy-3.6.32-73.fc12,catchall,cups-pk-helper-,cupsd_config_t,unconfined_t,file,read
audit2allow suggests:

#============= cupsd_config_t ==============
allow cupsd_config_t unconfined_t:file read;

Comment 1 Daniel Walsh 2010-02-01 18:46:59 UTC


Comment 2 Miroslav Grepl 2010-02-01 19:34:05 UTC
Added to selinux-policy-3.6.32-80.fc12

Comment 3 Fedora Update System 2010-02-03 23:20:25 UTC
selinux-policy-3.6.32-82.fc12 has been submitted as an update for Fedora 12.

Comment 4 Fedora Update System 2010-02-05 01:45:47 UTC
selinux-policy-3.6.32-84.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-2010-1492

Comment 5 Fedora Update System 2010-02-11 14:38:41 UTC
selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

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