Bug 2269949
| Summary: | SELinux is preventing wine-preloader from using the 'execheap' accesses on a process. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hilário Fochi Silveira <hilario> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 38 | CC: | dwalsh, hilario, knazekovan, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:1cb53da229f699b9195cecf3fc3781125cbc9c2d82b66b66d818e35e88df6389;VARIANT_ID=kde; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2024-03-18 08:32:56 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 2022128 [details]
File: os_info
Created attachment 2022129 [details]
File: description
*** This bug has been marked as a duplicate of bug 2247299 *** |
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