Bug 1705360
| Summary: | netlink_tcpdiag_socket permissive=0 for ss | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kees de Jong <keesdejong+dev> |
| Component: | psad | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 30 | CC: | admiller, dominik |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | psad-2.4.6-5.fc31 psad-2.4.6-4.fc30 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-12-15 01:17:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
FEDORA-2019-43f271bf0d has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-43f271bf0d psad-2.4.6-4.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-aaac87ee6b psad-2.4.6-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-43f271bf0d psad-2.4.6-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. psad-2.4.6-4.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: PSAD triggers an SELinux alert. Version-Release number of selected component (if applicable): psad-2.4.6-3.fc30.noarch How reproducible: When PSAD runs in the background it triggers the alert regularly. Additional info: SELinux is preventing ss from create access on the netlink_tcpdiag_socket labeled psad_t. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ss should be allowed create access on netlink_tcpdiag_socket labeled psad_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 'ss' --raw | audit2allow -M my-ss # semodule -X 300 -i my-ss.pp Additional Information: Source Context system_u:system_r:psad_t:s0 Target Context system_u:system_r:psad_t:s0 Target Objects Unknown [ netlink_tcpdiag_socket ] Source ss Source Path ss Port <Unknown> Host defiant Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.3-32.fc30.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name defiant Platform Linux defiant 5.0.9-301.fc30.x86_64 #1 SMP Tue Apr 23 23:57:35 UTC 2019 x86_64 x86_64 Alert Count 36 First Seen 2019-05-01 22:55:41 CEST Last Seen 2019-05-02 09:40:29 CEST Local ID 78617eac-32ab-4045-b2f2-d9a6886ece0e Raw Audit Messages type=AVC msg=audit(1556782829.477:313): avc: denied { create } for pid=12700 comm="ss" scontext=system_u:system_r:psad_t:s0 tcontext=system_u:system_r:psad_t:s0 tclass=netlink_tcpdiag_socket permissive=0 Hash: ss,psad_t,psad_t,netlink_tcpdiag_socket,create