Bug 2012820
| Summary: | SELinux is preventing pcscd from 'sys_ptrace' accesses on the cap_userns labeled pcscd_t. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kamil Páral (Red Hat) <kparal> |
| 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: | 35 | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, nixuser, omosnace, paul, ttomasz, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:836512034e768ae59957820214125c8348aa43ddda22f223655453b5ea38973a;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-01-06 07:59:44 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: | |||
Similar problem has been detected: Started Firefox. hashmarkername: setroubleshoot kernel: 5.15.11-200.fc35.x86_64 package: selinux-policy-targeted-35.7-1.fc35.noarch reason: SELinux is preventing pcscd from 'sys_ptrace' accesses on the cap_userns labeled pcscd_t. type: libreport I've got this too. Happened just after update.
Additional Information:
Source Context system_u:system_r:pcscd_t:s0
Target Context system_u:system_r:pcscd_t:s0
Target Objects Unknown [ cap_userns ]
Source pcscd
Source Path pcscd
Port <Unknown>
Host eiffel.lan
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-35.7-1.fc35.noarch
Local Policy RPM selinux-policy-targeted-35.7-1.fc35.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Permissive
Host Name eiffel.lan
Platform Linux eiffel.lan 5.15.11-200.fc35.x86_64 #1 SMP
Wed Dec 22 15:41:11 UTC 2021 x86_64 x86_64
Alert Count 1
First Seen 2022-01-05 15:19:55 GMT
Last Seen 2022-01-05 15:19:55 GMT
Local ID 5428116c-18d2-448d-a8c4-554fa56d4003
Raw Audit Messages
type=AVC msg=audit(1641395995.768:421): avc: denied { sys_ptrace } for pid=2072 comm="pcscd" capability=19 scontext=system_u:system_r:pcscd_t:s0 tcontext=system_u:system_r:pcscd_t:s0 tclass=cap_userns permissive=1
Hash: pcscd,pcscd_t,pcscd_t,cap_userns,sys_ptrace
Seems to be a reversion of #1773641 *** This bug has been marked as a duplicate of bug 1985823 *** |
Description of problem: I have no idea what happened, it just popped up. SELinux is preventing pcscd from 'sys_ptrace' accesses on the cap_userns labeled pcscd_t. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that pcscd should be allowed sys_ptrace access on cap_userns labeled pcscd_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 'pcscd' --raw | audit2allow -M my-pcscd # semodule -X 300 -i my-pcscd.pp Additional Information: Source Context system_u:system_r:pcscd_t:s0 Target Context system_u:system_r:pcscd_t:s0 Target Objects Unknown [ cap_userns ] Source pcscd Source Path pcscd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-35.1-1.fc35.noarch Local Policy RPM selinux-policy-targeted-35.1-1.fc35.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.14.10-300.fc35.x86_64 #1 SMP Thu Oct 7 20:48:44 UTC 2021 x86_64 x86_64 Alert Count 1 First Seen 2021-10-11 13:22:37 CEST Last Seen 2021-10-11 13:22:37 CEST Local ID f7e6d767-b698-4943-9518-66dd809f2d1d Raw Audit Messages type=AVC msg=audit(1633951357.251:1077): avc: denied { sys_ptrace } for pid=1631 comm="pcscd" capability=19 scontext=system_u:system_r:pcscd_t:s0 tcontext=system_u:system_r:pcscd_t:s0 tclass=cap_userns permissive=1 Hash: pcscd,pcscd_t,pcscd_t,cap_userns,sys_ptrace Version-Release number of selected component: selinux-policy-targeted-35.1-1.fc35.noarch Additional info: component: selinux-policy reporter: libreport-2.15.2 hashmarkername: setroubleshoot kernel: 5.14.10-300.fc35.x86_64 type: libreport Potential duplicate: bug 1985823