Bug 2187199 - 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: 38
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-04-17 07:32 UTC by Sandro Bonazzola
Modified: 2023-04-18 09:32 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-04-18 09:32:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.26 KB, text/plain)
2023-04-17 07:32 UTC, Sandro Bonazzola
no flags Details
File: os_info (734 bytes, text/plain)
2023-04-17 07:32 UTC, Sandro Bonazzola
no flags Details

Description Sandro Bonazzola 2023-04-17 07:32:29 UTC
Description of problem:
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   **************************

Se ci credi ModemManager dovrebbe essere consentito execmem accesso ai processi etichettati modemmanager_t per impostazione predefinita.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per ora eseguendo:
# ausearch -c 'ModemManager' --raw | audit2allow -M my-$MODULE_NOME
# semodule -X 300 -i miei-ModemManager.pp

Additional Information:
Source Context                system_u:system_r:modemmanager_t:s0
Target Context                system_u:system_r:modemmanager_t:s0
Target Objects                Sconosciuto [ process ]
Source                        ModemManager
Source Path                   ModemManager
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.10-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.10-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.2.11-300.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Apr 13 20:27:09 UTC 2023
                              x86_64
Alert Count                   2
First Seen                    2023-04-17 08:09:03 CEST
Last Seen                     2023-04-17 09:11:55 CEST
Local ID                      c4b616a3-cefd-4346-bc5f-3f4379df965e

Raw Audit Messages
type=AVC msg=audit(1681715515.334:315): avc:  denied  { execmem } for  pid=1863 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-38.10-1.fc38.noarch

Additional info:
reporter:       libreport-2.17.9
reason:         SELinux is preventing ModemManager from using the 'execmem' accesses on a process.
package:        selinux-policy-targeted-38.10-1.fc38.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.2.11-300.fc38.x86_64
component:      selinux-policy

Comment 1 Sandro Bonazzola 2023-04-17 07:32:31 UTC
Created attachment 1957790 [details]
File: description

Comment 2 Sandro Bonazzola 2023-04-17 07:32:35 UTC
Created attachment 1957791 [details]
File: os_info

Comment 3 Zdenek Pytela 2023-04-18 09:32:59 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.