Bug 733419

Summary: /sbin/ip tried to load a kernel module
Product: Red Hat Enterprise Linux 6 Reporter: Matthew Mosesohn <mmosesoh>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1CC: dwalsh, ksrot, mmalik, msanders
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-26 13:53:55 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:
Attachments:
Description Flags
selinux alert message
none
yum recent log, one of these packages causes this issue none

Description Matthew Mosesohn 2011-08-25 16:35:46 UTC
Description of problem:
This is occurring on many RHEL 6 systems:
SELinux has prevented ip from loading a kernel module. All confined programs
that need to load kernel modules should have already had policy written for
them. If a compromised application tries to modify the kernel this AVC will be
generated. This is a serious issue. Your system may very well be compromised.


Version-Release number of selected component (if applicable):
iproute-2.6.32-16.el6.x86_64
kernel-2.6.32-131.4.1.el6.x86_64
selinux-policy-3.7.19-93.el6_1.2.noarch

How reproducible:
Often, several times per day

Steps to Reproduce:
1. Try to connect to a VPN connection with NetworkManager
2.
3.
  
Actual results:
The connection fails

Expected results:
The connection should work

Additional info:
This happened only as a result of recent software updates in the past week.  This should be marked a regression.

Comment 1 Matthew Mosesohn 2011-08-25 16:36:55 UTC
Created attachment 519924 [details]
selinux alert message

Comment 2 Matthew Mosesohn 2011-08-25 16:37:28 UTC
Created attachment 519925 [details]
yum recent log, one of these packages causes this issue

Comment 4 Daniel Walsh 2011-08-25 18:51:18 UTC
Yes this is a kernel userspace issue that we will be covering up in 

selinux-policy-3.7.19-107.el6

Nothing was actually blocked.

If you want to try out the policy you can grab it from 

http://people.redhat.com/dwalsh/SELinux/RHEL6

Comment 6 Matthew Mosesohn 2011-08-25 18:55:37 UTC
What wonderful heroism, Dan.  Thanks for saving the day.

Comment 7 Karel Srot 2011-08-26 06:48:13 UTC
Seems to be a duplicete of 726339? Can we close it?

Comment 8 Matthew Mosesohn 2011-08-26 12:08:12 UTC
go ahead