Bug 1496318 - SELinux is preventing insmod-pax from 'recvfrom' accesses on the unix_stream_socket unix_stream_socket.
Summary: SELinux is preventing insmod-pax from 'recvfrom' accesses on the unix_stream_...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 26
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:633e162d69a896928d7b378f7f0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-27 04:12 UTC by Sean Davis
Modified: 2017-11-15 20:10 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.13.1-260.14.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-15 20:10:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sean Davis 2017-09-27 04:12:06 UTC
Description of problem:
I'm not entirely sure, however I suspect it's due to having Intel Studio installed. It happens reliably every time the system is rebooted, and is probably connected to an insmod error I see on bootup as well (which may not be included; I can reproduce that if desired)
SELinux is preventing insmod-pax from 'recvfrom' accesses on the unix_stream_socket unix_stream_socket.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that insmod-pax should be allowed recvfrom access on the unix_stream_socket unix_stream_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'insmod-pax' --raw | audit2allow -M my-insmodpax
# semodule -X 300 -i my-insmodpax.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:system_r:init_t:s0
Target Objects                unix_stream_socket [ unix_stream_socket ]
Source                        insmod-pax
Source Path                   insmod-pax
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.8.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.12.11-300.fc26.x86_64 #1 SMP Thu
                              Sep 7 18:32:12 UTC 2017 x86_64 x86_64
Alert Count                   392
First Seen                    2017-06-24 23:40:13 CDT
Last Seen                     2017-09-22 14:18:08 CDT
Local ID                      224f2f70-1562-42bd-9a62-4d1074ab70cf

Raw Audit Messages
type=AVC msg=audit(1506107888.462:148): avc:  denied  { recvfrom } for  pid=1319 comm="insmod-pax" path="socket:[26480]" dev="sockfs" ino=26480 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket permissive=0


Hash: insmod-pax,init_t,init_t,unix_stream_socket,recvfrom

Version-Release number of selected component:
selinux-policy-3.13.1-260.8.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.12.11-300.fc26.x86_64
type:           libreport

Comment 1 Fedora Update System 2017-10-26 12:31:12 UTC
selinux-policy-3.13.1-260.14.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d312739a4e

Comment 2 Fedora Update System 2017-11-15 20:10:27 UTC
selinux-policy-3.13.1-260.14.fc26 has been pushed to the Fedora 26 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.