Bug 2303959
| Summary: | SELinux is preventing /opt/google/chrome-unstable/chrome from using the 'execheap' accesses on a process. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||||
| 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: | rawhide | CC: | dwalsh, lvrabec, mikhail.v.gavrilov, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:cd19c2bf87c5a4f706181323404192bb7b6d8430cd9d3a16567484db9d2acbb1;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2024-08-12 07:56:20 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 2043864 [details]
File: description
Created attachment 2043865 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2254434 *** |
Description of problem: SELinux is preventing /opt/google/chrome-unstable/chrome from using the 'execheap' accesses on a process. ***** Plugin allow_execheap (53.1 confidence) suggests ******************** If you do not think /opt/google/chrome-unstable/chrome should need to map heap memory that is both writable and executable. Then you need to report a bug. This is a potentially dangerous access. Do contact your security administrator and report this issue. ***** Plugin catchall_boolean (42.6 confidence) suggests ****************** If you want to allow selinuxuser to execheap Then you must tell SELinux about this by enabling the 'selinuxuser_execheap' boolean. Do setsebool -P selinuxuser_execheap 1 ***** Plugin catchall (5.76 confidence) suggests ************************** If you believe that chrome should be allowed execheap access on processes labeled unconfined_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 'chrome' --raw | audit2allow -M my-chrome # semodule -X 300 -i my-chrome.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 chrome Source Path /opt/google/chrome-unstable/chrome Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.13-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.13-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.11.0- 0.rc2.20240809gitee9a43b7cfe2.27.fc41.x86_64+debug #1 SMP PREEMPT_DYNAMIC Fri Aug 9 18:13:51 UTC 2024 x86_64 Alert Count 231 First Seen 2024-08-08 00:45:54 +05 Last Seen 2024-08-10 22:31:03 +05 Local ID 416083e4-604c-499e-92ab-e3fc39f28af7 Raw Audit Messages type=AVC msg=audit(1723311063.330:308): avc: denied { execheap } for pid=9952 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=1 type=SYSCALL msg=audit(1723311063.330:308): arch=i386 syscall=capget success=yes exit=0 a0=7ffff000 a1=1000 a2=5 a3=7ffff000 items=0 ppid=9951 pid=9952 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm=wine-preloader exe=/home/mikhail/.local/share/Steam/steamapps/common/Proton - Experimental/files/bin/wine-preloader subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) Hash: chrome,unconfined_t,unconfined_t,process,execheap Version-Release number of selected component: selinux-policy-targeted-41.13-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /opt/google/chrome-unstable/chrome from using the 'execheap' accesses on a process. package: selinux-policy-targeted-41.13-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.11.0-0.rc2.20240809gitee9a43b7cfe2.27.fc41.x86_64+debug component: selinux-policy