Bug 2269949 - SELinux is preventing wine-preloader from using the 'execheap' accesses on a process.
Summary: SELinux is preventing wine-preloader from using the 'execheap' accesses on a ...
Keywords:
Status: CLOSED DUPLICATE of bug 2247299
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:1cb53da229f699b9195cecf3fc3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-17 14:37 UTC by Hilário Fochi Silveira
Modified: 2024-03-18 08:32 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-18 08:32:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (699 bytes, text/plain)
2024-03-17 14:37 UTC, Hilário Fochi Silveira
no flags Details
File: description (2.63 KB, text/plain)
2024-03-17 14:38 UTC, Hilário Fochi Silveira
no flags Details

Description Hilário Fochi Silveira 2024-03-17 14:37:56 UTC
Description of problem:
I installed sumatrapdf using Wine. I can't use sumatrapdfreader
SELinux is preventing wine-preloader from using the 'execheap' accesses on a process.

*****  Plugin allow_execheap (53.1 confidence) suggests   ********************

Se você não acha $SOURCEO _PATH deve mapear a memória heap que é gravável e executável.
Then você precisa reportar um erro. Este é um acesso muito perigoso.
Do
contate seu administrador de segurança e reporte este problema.

*****  Plugin catchall_boolean (42.6 confidence) suggests   ******************

Se você quiser allow selinuxuser to execheap
Then você deve informar o SELinux sobre isso habilitando o booleano 'selinuxuser_execheap'.

Do
setsebool -P selinuxuser_execheap 1

*****  Plugin catchall (5.76 confidence) suggests   **************************

Se você acredita nisso wine-preloader deve ser permitido execheap acesso em processos rotulados unconfined_t por padrão.
Then você deve informar que este é um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso por agora executando:
# ausearch -c 'wine-preloader' --raw | audit2allow -M my-winepreloader
# semodule -X 300 -i my-winepreloader.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-
                              s0:c0.c1023
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-
                              s0:c0.c1023
Target Objects                Unknown [ process ]
Source                        wine-preloader
Source Path                   wine-preloader
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-38.32-1.fc38.noarch
Local Policy RPM              selinux-policy-targeted-38.32-1.fc38.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.7.9-100.fc38.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Mar 6 19:31:16 UTC 2024 x86_64
Alert Count                   13
First Seen                    2024-02-24 17:37:46 -03
Last Seen                     2024-03-17 11:34:06 -03
Local ID                      8cabbccc-97b6-4b5a-babd-ec0b1be66214

Raw Audit Messages
type=AVC msg=audit(1710686046.25:241): avc:  denied  { execheap } for  pid=9890 comm="wine-preloader" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process permissive=0


Hash: wine-preloader,unconfined_t,unconfined_t,process,execheap

Version-Release number of selected component:
selinux-policy-targeted-38.32-1.fc38.noarch

Additional info:
reporter:       libreport-2.17.11
comment:        I installed sumatrapdf using Wine. I can't use sumatrapdfreader
reason:         SELinux is preventing wine-preloader from using the 'execheap' accesses on a process.
type:           libreport
kernel:         6.7.9-100.fc38.x86_64
component:      selinux-policy
package:        selinux-policy-targeted-38.32-1.fc38.noarch
hashmarkername: setroubleshoot
component:      selinux-policy

Comment 1 Hilário Fochi Silveira 2024-03-17 14:37:59 UTC
Created attachment 2022128 [details]
File: os_info

Comment 2 Hilário Fochi Silveira 2024-03-17 14:38:00 UTC
Created attachment 2022129 [details]
File: description

Comment 3 Zdenek Pytela 2024-03-18 08:32:56 UTC

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


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