Bug 520728
| Summary: | SELinux has prevented iw from loading a kernel module | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | R. Jobe <rkjobe> |
| Component: | selinux-policy | Assignee: | Eric Paris <eparis> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | bugzilla, dwalsh, jkubin, jmorris, mgrepl, sebastianocossu, seventhguardian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:ef16c28be48e43931165551f8a908269119559d26e830c7ddbe575af46eb9a48 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-09-16 20:01:51 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: | |||
the kernel changes to stop this type of denial aren't scheduled to go into mainline until 2.6.32. James, do you see any reason I shouldn't push them to rawhide kernels now? (In reply to comment #1) > the kernel changes to stop this type of denial aren't scheduled to go into > mainline until 2.6.32. James, do you see any reason I shouldn't push them to > rawhide kernels now? No, *** Bug 522962 has been marked as a duplicate of this bug. *** *** Bug 481618 has been marked as a duplicate of this bug. *** A Fix has been commited in CVS for the next fedora 12 kernel build. It should be in kernels kernel-2.6.31-24.fc12 or newer whenever they get built. |
The following was filed automatically by setroubleshoot: Summary: Your system may be seriously compromised! Detailed Description: SELinux has prevented iw 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. Allowing Access: Contact your security administrator and report this issue. Additional Information: Source Context system_u:system_r:udev_t:s0-s0:c0.c1023 Target Context system_u:system_r:udev_t:s0-s0:c0.c1023 Target Objects None [ capability ] Source iw Source Path /usr/bin/iw Port <Unknown> Host (removed) Source RPM Packages iw-0.9.16-1.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.28-9.fc12 Selinux Enabled True Policy Type targeted MLS Enabled True Enforcing Mode Enforcing Plugin Name sys_module Host Name (removed) Platform Linux (removed) 2.6.31-0.190.rc8.fc12.i686.PAE #1 SMP Fri Aug 28 18:51:47 EDT 2009 i686 i686 Alert Count 2 First Seen Sun 30 Aug 2009 10:25:55 PM EDT Last Seen Tue 01 Sep 2009 06:12:26 PM EDT Local ID aa49ace2-2a83-46f4-8745-a2d454a124cc Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1251843146.759:51): avc: denied { sys_module } for pid=1735 comm="iw" capability=16 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tclass=capability node=(removed) type=SYSCALL msg=audit(1251843146.759:51): arch=40000003 syscall=54 success=no exit=-19 a0=4 a1=8933 a2=bf8171dc a3=4 items=0 ppid=1722 pid=1735 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iw" exe="/usr/bin/iw" subj=system_u:system_r:udev_t:s0-s0:c0.c1023 key=(null) audit2allow suggests: #============= udev_t ============== allow udev_t self:capability sys_module;