Bug 431023 - SELinux is preventing /usr/bin/Xorg (xdm_t) "mmap_zero" access to <Unknown> (xdm_t).
Summary: SELinux is preventing /usr/bin/Xorg (xdm_t) "mmap_zero" access to <Unknown> (...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy-targeted
Version: 5.2
Hardware: All
OS: Linux
high
urgent
Target Milestone: beta
: ---
Assignee: Daniel Walsh
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
: 433687 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-31 06:54 UTC by Jay Turner
Modified: 2015-01-08 00:16 UTC (History)
6 users (show)

Fixed In Version: RHBA-2008-0465
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-21 16:06:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
sealert output for failure (2.48 KB, text/plain)
2008-01-31 06:54 UTC, Jay Turner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0465 0 normal SHIPPED_LIVE selinux-policy bug fix update 2008-05-20 14:36:31 UTC

Description Jay Turner 2008-01-31 06:54:10 UTC
Description of problem:
Getting the following attempting to start Xorg under the 2.6.18-76.el5.i686
kernel with selinux-policy-2.4.6-114.el5.

Attaching the sealert output.

I'll try the latest policy package (-117.el5) but doesn't appear this problem
has been addressed there.  Problem does not manifest on -75.el5 kernel, so I
suspect this is a side-effect of:

- [selinux] harden against null ptr dereference bugs (Eric Paris ) [233021]

Comment 1 Jay Turner 2008-01-31 06:54:10 UTC
Created attachment 293552 [details]
sealert output for failure

Comment 2 Jay Turner 2008-01-31 06:57:08 UTC
Proposing as beta blocker, mostly because I'm not sure if we're considering
putting -76.el5 into the beta.  QE ack for fixing this in 5.2.

Comment 3 Jay Turner 2008-01-31 11:01:19 UTC
selinux-policy-2.4.6-117.el5 doesn't change anything.  And I should have noted
this is being seen with xorg-x11-server-1.1.1-48.34.el5.

Comment 4 Steve Grubb 2008-01-31 11:17:00 UTC
Eric, wasn't the new kernel patch supposed to allow a CAP_RAW loophole?

Comment 5 Eric Paris 2008-01-31 13:19:30 UTC
CAP_RAW only takes effect if selinux=0.

this is a policy bug which i thought had been fixed back in 5.1 (even though we
didn't implement the kernel part)  I know dan has this in rawhide.

Comment 7 Daniel Walsh 2008-01-31 16:11:22 UTC
Fixed in selinux-policy-2.4.6-118

Comment 8 Jay Turner 2008-02-01 08:46:01 UTC
Fix confirmed with 2.4.6-118.  Will move to Verified once the package is
incorporated into a tree.

Comment 11 Dave Airlie 2008-02-21 03:46:11 UTC
*** Bug 433687 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2008-05-21 16:06:47 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0465.html



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