Bug 2300243
| 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-07-29 14:18:04 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 2040646 [details]
File: description
Created attachment 2040647 [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.11-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.11-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.10.0-d67978318827-with-static- branch-enable-patch+ #29 SMP PREEMPT_DYNAMIC Fri Jul 26 23:39:57 +05 2024 x86_64 Alert Count 296 First Seen 2024-07-24 10:56:54 +05 Last Seen 2024-07-28 13:27:09 +05 Local ID 0b29c744-e6c9-43c6-99ff-25a4e6c2c221 Raw Audit Messages type=AVC msg=audit(1722155229.973:658): avc: denied { execheap } for pid=158410 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(1722155229.973:658): arch=i386 syscall=capget success=yes exit=0 a0=7ffff000 a1=1000 a2=5 a3=7ffff000 items=0 ppid=158286 pid=158410 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.11-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.11-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.10.0-d67978318827-with-static-branch-enable-patch+ component: selinux-policy