Bug 2190146 - SELinux error message while updating the system via dnf. During the update of kmod-VirtualBox-6.2.8-100.fc36.x86_64-7.0.6-1.fc36.x86_64 I revceived this error message: SELinux is preventing ModemManager from using the 'execmem' accesses on a process.
Summary: SELinux error message while updating the system via dnf. During the update of...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ModemManager
Version: 37
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Davide Cavalca
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-27 09:45 UTC by lukas.ebner
Modified: 2023-07-30 23:42 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-30 23:42:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description lukas.ebner 2023-04-27 09:45:30 UTC
SELinux is preventing ModemManager from using the 'execmem' accesses on a process.

*****  Plugin allow_execmem (91.4 confidence) suggests   *********************

If this issue occurred during normal system operation.
Then this alert could be a serious issue and your system could be compromised.
Do
contact your security administrator and report this issue

*****  Plugin catchall (9.59 confidence) suggests   **************************

Wenn Sie denken, dass es ModemManager standardmäßig erlaubt sein sollte, execmem Zugriff auf modemmanager_t Prozesse zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# ausearch -c 'ModemManager' --raw | audit2allow -M my-ModemManager
# semodule -X 300 -i my-ModemManager.pp

Additional Information:
Source Context                system_u:system_r:modemmanager_t:s0
Target Context                system_u:system_r:modemmanager_t:s0
Target Objects                Unbekannt [ process ]
Source                        ModemManager
Source Path                   ModemManager
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-37.19-1.fc37.noarch
Local Policy RPM              selinux-policy-targeted-37.19-1.fc37.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.2.9-200.fc37.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Mar 30 22:31:57 UTC 2023
                              x86_64 x86_64
Alert Count                   7
First Seen                    2023-03-30 13:02:19 CEST
Last Seen                     2023-04-27 10:43:46 CEST
Local ID                      1c8903b8-8868-43a2-bf3d-0fb12b0bd260

Raw Audit Messages
type=AVC msg=audit(1682585026.655:3702): avc:  denied  { execmem } for  pid=439854 comm="ModemManager" scontext=system_u:system_r:modemmanager_t:s0 tcontext=system_u:system_r:modemmanager_t:s0 tclass=process permissive=0


Hash: ModemManager,modemmanager_t,modemmanager_t,process,execmem


Reproducible: Didn't try


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