Bug 2112044
Summary: | lldpad causing AVC messages starting with selinux-policy--targeted 34.1.32 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Matt Lucius <malucius> |
Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9.1 | CC: | guazhang, lvrabec, mmalik, nknazeko |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 9.2 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-34.1.44-1.el9 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-09 08:16:08 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: |
Description
Matt Lucius
2022-07-28 18:13:20 UTC
Nothing changed from lldpad side. Can selinux folks please advise? Caught in enforcing mode: ---- type=PROCTITLE msg=audit(09/14/2022 21:11:41.132:354) : proctitle=/usr/sbin/lldpad -t type=SOCKADDR msg=audit(09/14/2022 21:11:41.132:354) : saddr={ saddr_fam=local path=/com/intel/lldpad/3270 } type=SYSCALL msg=audit(09/14/2022 21:11:41.132:354) : arch=x86_64 syscall=sendto success=no exit=EACCES(Permission denied) a0=0x3 a1=0x5603959e0840 a2=0x4 a3=0x0 items=0 ppid=1 pid=1217 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=lldpad exe=/usr/sbin/lldpad subj=system_u:system_r:lldpad_t:s0 key=(null) type=AVC msg=audit(09/14/2022 21:11:41.132:354) : avc: denied { sendto } for pid=1217 comm=lldpad path=/com/intel/lldpad/3270 scontext=system_u:system_r:lldpad_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_dgram_socket permissive=0 ---- One of reproducers: # service lldpad restart Redirecting to /bin/systemctl restart lldpad.service # lldptool lldptool v1.1.0 Copyright (c) 2007-2010, Intel Corporation Substantially modified from: hostapd_cli v 0.5.7 Copyright (c) 2004-2007, Jouni Malinen <j> and contributors This program is free software. You can distribute it and/or modify it under the terms of the GNU General Public License version 2. timeout Warning: Failed to attach to lldpad. Interactive mode ... Caught in permissive mode: ---- type=PROCTITLE msg=audit(09/14/2022 21:16:30.227:479) : proctitle=/usr/sbin/lldpad -t type=SOCKADDR msg=audit(09/14/2022 21:16:30.227:479) : saddr={ saddr_fam=local path=/com/intel/lldpad/5435 } type=SYSCALL msg=audit(09/14/2022 21:16:30.227:479) : arch=x86_64 syscall=sendto success=yes exit=12 a0=0x3 a1=0x55f1d821aae0 a2=0xc a3=0x0 items=0 ppid=1 pid=4979 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=lldpad exe=/usr/sbin/lldpad subj=system_u:system_r:lldpad_t:s0 key=(null) type=AVC msg=audit(09/14/2022 21:16:30.227:479) : avc: denied { sendto } for pid=4979 comm=lldpad path=/com/intel/lldpad/5435 scontext=system_u:system_r:lldpad_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_dgram_socket permissive=1 ---- The same reproducer: # service lldpad restart Redirecting to /bin/systemctl restart lldpad.service # lldptool lldptool v1.1.0 Copyright (c) 2007-2010, Intel Corporation Substantially modified from: hostapd_cli v 0.5.7 Copyright (c) 2004-2007, Jouni Malinen <j> and contributors This program is free software. You can distribute it and/or modify it under the terms of the GNU General Public License version 2. Interactive mode > *** Bug 2136481 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (selinux-policy bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2483 |