Bug 2255567 - SELinux is preventing ModemManager from using the 'execmem' accesses on a process.
Summary: SELinux is preventing ModemManager from using the 'execmem' accesses on a pro...
Keywords:
Status: CLOSED DUPLICATE of bug 2149946
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:cc05a8e954c212f834ad04b3e80...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-21 22:56 UTC by Alex Villacís Lasso
Modified: 2023-12-22 08:17 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-12-22 08:17:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.24 KB, text/plain)
2023-12-21 22:56 UTC, Alex Villacís Lasso
no flags Details
File: os_info (734 bytes, text/plain)
2023-12-21 22:56 UTC, Alex Villacís Lasso
no flags Details

Description Alex Villacís Lasso 2023-12-21 22:56:09 UTC
Description of problem:
Plugged a Samsung 3G phone with an USB cable into USB port of computer
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   **************************

Si cree que de manera predeterminada se debería permitir a ModemManager el acceso execmem sobre procesos etiquetados como modemmanager_t.
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'ModemManager' --raw | audit2allow -M mi-ModemManager
# semodule -X 300 -i mi-ModemManager.pp

Additional Information:
Source Context                system_u:system_r:modemmanager_t:s0
Target Context                system_u:system_r:modemmanager_t:s0
Target Objects                Desconocido [ process ]
Source                        ModemManager
Source Path                   ModemManager
Port                          <Desconocido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-39.3-1.fc39.noarch
Local Policy RPM              selinux-policy-targeted-39.3-1.fc39.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.6.6-200.fc39.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Dec 11 17:29:08 UTC 2023
                              x86_64
Alert Count                   9
First Seen                    2023-06-26 14:22:13 -05
Last Seen                     2023-12-21 17:54:03 -05
Local ID                      f35bab7e-df07-49e3-a9ef-f137fb9e414f

Raw Audit Messages
type=AVC msg=audit(1703199243.800:508): avc:  denied  { execmem } for  pid=1178 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

Version-Release number of selected component:
selinux-policy-targeted-39.3-1.fc39.noarch

Additional info:
reporter:       libreport-2.17.11
hashmarkername: setroubleshoot
reason:         SELinux is preventing ModemManager from using the 'execmem' accesses on a process.
component:      selinux-policy
comment:        Plugged a Samsung 3G phone with an USB cable into USB port of computer
kernel:         6.6.6-200.fc39.x86_64
type:           libreport
package:        selinux-policy-targeted-39.3-1.fc39.noarch
component:      selinux-policy

Comment 1 Alex Villacís Lasso 2023-12-21 22:56:11 UTC
Created attachment 2005332 [details]
File: description

Comment 2 Alex Villacís Lasso 2023-12-21 22:56:13 UTC
Created attachment 2005333 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-12-22 08:17:22 UTC

*** This bug has been marked as a duplicate of bug 2149946 ***


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