Bug 2260612 - 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: 2024-01-27 07:41 UTC by Michael
Modified: 2024-01-29 11:48 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-01-29 11:48:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.19 KB, text/plain)
2024-01-27 07:41 UTC, Michael
no flags Details
File: os_info (734 bytes, text/plain)
2024-01-27 07:41 UTC, Michael
no flags Details

Description Michael 2024-01-27 07:41:00 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   **************************

If you believe that ModemManager should be allowed execmem access on processes labeled modemmanager_t 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 '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                Unknown [ process ]
Source                        ModemManager
Source Path                   ModemManager
Port                          <Unknown>
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.12-200.fc39.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Jan 18 22:41:48 CET 2024
                              x86_64
Alert Count                   31
First Seen                    2023-12-04 18:46:01 CET
Last Seen                     2024-01-25 13:07:44 CET
Local ID                      e786a0f0-0395-45d1-91c3-6afe1812b9ec

Raw Audit Messages
type=AVC msg=audit(1706184464.969:137): avc:  denied  { execmem } for  pid=1074 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
reason:         SELinux is preventing ModemManager from using the 'execmem' accesses on a process.
package:        selinux-policy-targeted-39.3-1.fc39.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.6.12-200.fc39.x86_64
component:      selinux-policy

Comment 1 Michael 2024-01-27 07:41:03 UTC
Created attachment 2010898 [details]
File: description

Comment 2 Michael 2024-01-27 07:41:05 UTC
Created attachment 2010899 [details]
File: os_info

Comment 3 Zdenek Pytela 2024-01-29 11:48:55 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.