Bug 572336 - SELinux is preventing /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java "read" access on ipv6_route.
Summary: SELinux is preventing /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:428fa598ad9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-10 21:45 UTC by Iván Jiménez
Modified: 2010-03-20 03:32 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.6.32-103.fc12
Clone Of:
Environment:
Last Closed: 2010-03-20 03:32:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Iván Jiménez 2010-03-10 21:45:24 UTC
Summary:

SELinux is preventing
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java "read" access on
ipv6_route.

Detailed Description:

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

Additional Information:

Source Context                xguest_u:xguest_r:xguest_java_t:s0
Target Context                system_u:object_r:proc_net_t:s0
Target Objects                ipv6_route [ file ]
Source                        java
Source Path                   /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
                              /bin/java
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           java-1.6.0-openjdk-1.6.0.0-33.b16.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-92.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux endeavour.local 2.6.32.9-70.fc12.x86_64 #1
                              SMP Wed Mar 3 04:40:41 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Wed 10 Mar 2010 12:34:04 PM COT
Last Seen                     Wed 10 Mar 2010 12:34:04 PM COT
Local ID                      1e7de2d6-e373-46a6-b7f7-78b1a07fe5f1
Line Numbers                  

Raw Audit Messages            

node=endeavour.local type=AVC msg=audit(1268242444.354:18): avc:  denied  { read } for  pid=1900 comm="java" name="ipv6_route" dev=proc ino=4026532211 scontext=xguest_u:xguest_r:xguest_java_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file

node=endeavour.local type=SYSCALL msg=audit(1268242444.354:18): arch=c000003e syscall=2 success=no exit=-13 a0=7fee225bd939 a1=0 a2=1b6 a3=0 items=0 ppid=1893 pid=1900 auid=511 uid=511 gid=511 euid=511 suid=511 fsuid=511 egid=511 sgid=511 fsgid=511 tty=(none) ses=1 comm="java" exe="/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java" subj=xguest_u:xguest_r:xguest_java_t:s0 key=(null)



Hash String generated from  catchall,java,xguest_java_t,proc_net_t,file,read
audit2allow suggests:

#============= xguest_java_t ==============
allow xguest_java_t proc_net_t:file read;

Comment 1 Daniel Walsh 2010-03-11 14:15:51 UTC
Miroslav please add

		kernel_read_network_state(xguest_usertype)
to xguest.te 
under xgues_connect_network

Comment 2 Miroslav Grepl 2010-03-15 09:36:43 UTC
Fixed in selinux-policy-3.6.32-102.fc12

Comment 3 Fedora Update System 2010-03-15 22:18:08 UTC
selinux-policy-3.6.32-103.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-103.fc12

Comment 4 Fedora Update System 2010-03-16 23:24:20 UTC
selinux-policy-3.6.32-103.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/selinux-policy-3.6.32-103.fc12

Comment 5 Fedora Update System 2010-03-20 03:30:19 UTC
selinux-policy-3.6.32-103.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.