View Issue Details

IDProjectCategoryView StatusLast Update
0016532CentOS-7selinux-policypublic2019-10-03 20:57
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016532: SELinux is preventing /usr/bin/nvidia-modprobe from 'open' accesses on the file /proc/sys/kernel/modprobe.
DescriptionDescription of problem:
after installing latest kernel my computer is messed up big time... thanks :(
SELinux is preventing /usr/bin/nvidia-modprobe from 'open' accesses on the file /proc/sys/kernel/modprobe.

***** Plugin restorecon_source (99.5 confidence) suggests *****************

If you want to fix the label.
/usr/bin/nvidia-modprobe default label should be xserver_exec_t.
Then you can run restorecon.
# /sbin/restorecon -v /usr/bin/nvidia-modprobe

***** Plugin catchall (1.49 confidence) suggests **************************

If you believe that nvidia-modprobe should be allowed open access on the modprobe file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'nvidia-modprobe' --raw | audit2allow -M my-nvidiamodprobe
# semodule -i my-nvidiamodprobe.pp

Additional Information:
Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context system_u:object_r:usermodehelper_t:s0
Target Objects /proc/sys/kernel/modprobe [ file ]
Source nvidia-modprobe
Source Path /usr/bin/nvidia-modprobe
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-252.el7.1.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-1062.1.2.el7.x86_64 #1 SMP
                              Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64
Alert Count 2
First Seen 2019-10-03 22:41:42 CEST
Last Seen 2019-10-03 22:41:43 CEST
Local ID f73f9727-a0ff-41b1-8c95-feb584079f72

Raw Audit Messages
type=AVC msg=audit(1570135303.137:156): avc: denied { open } for pid=10214 comm="nvidia-modprobe" path="/proc/sys/kernel/modprobe" dev="proc" ino=18988 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usermodehelper_t:s0 tclass=file permissive=0

type=SYSCALL msg=audit(1570135303.137:156): arch=x86_64 syscall=open success=no exit=EACCES a0=4064ad a1=0 a2=1b6 a3=24 items=0 ppid=10166 pid=10214 auid=4294967295 uid=42 gid=42 euid=0 suid=0 fsuid=0 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=nvidia-modprobe exe=/usr/bin/nvidia-modprobe subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: nvidia-modprobe,xdm_t,usermodehelper_t,file,open

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-957.27.2.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-10-03 20:57 jjwikner New Issue