Description of problem: SELinux is preventing /usr/bin/bash from map_read, map_write access on the bpf /lib64/ld-linux-x86-64.so.2. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that bash should be allowed map_read map_write access on the ld-linux-x86-64.so.2 bpf 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 'selinux-autorel' --raw | audit2allow -M my-selinuxautorel # semodule -X 300 -i my-selinuxautorel.pp Additional Information: Source Context system_u:system_r:selinux_autorelabel_generator_t: s0 Target Context system_u:system_r:init_t:s0 Target Objects /lib64/ld-linux-x86-64.so.2 [ bpf ] Source selinux-autorel Source Path /usr/bin/bash Port <Unknown> Host (removed) Source RPM Packages bash-5.2.26-3.fc40.x86_64 Target RPM Packages glibc-2.39.9000-18.fc41.x86_64 SELinux Policy RPM selinux-policy-targeted-40.18-3.fc41.noarch Local Policy RPM selinux-policy-targeted-40.18-3.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.10.0- 0.rc0.20240516git3c999d1ae3c7.5.fc41.x86_64+debug #1 SMP PREEMPT_DYNAMIC Thu May 16 13:41:37 UTC 2024 x86_64 Alert Count 7 First Seen 2024-05-17 11:52:50 +05 Last Seen 2024-05-17 20:35:23 +05 Local ID 235d0df4-6926-4cec-9b33-7492fc5acc58 Raw Audit Messages type=AVC msg=audit(1715960123.315:499): avc: denied { map_read map_write } for pid=60928 comm="selinux-autorel" scontext=system_u:system_r:selinux_autorelabel_generator_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=bpf permissive=1 type=SYSCALL msg=audit(1715960123.315:499): arch=x86_64 syscall=execve success=yes exit=0 a0=5591f231fb70 a1=7fff734ff2e0 a2=5591f283e3d0 a3=5591f0793280 items=3 ppid=60917 pid=60928 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=selinux-autorel exe=/usr/bin/bash subj=system_u:system_r:selinux_autorelabel_generator_t:s0 key=(null) type=CWD msg=audit(1715960123.315:499): cwd=/ type=PATH msg=audit(1715960123.315:499): item=0 name=/usr/lib/systemd/system-generators/selinux-autorelabel-generator.sh inode=1200348 dev=00:28 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:selinux_autorelabel_generator_exec_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 type=PATH msg=audit(1715960123.315:499): item=1 name=/usr/bin/bash inode=6523 dev=00:28 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:shell_exec_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 type=PATH msg=audit(1715960123.315:499): item=2 name=/lib64/ld-linux-x86-64.so.2 inode=37659 dev=00:28 mode=0100755 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:ld_so_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Hash: selinux-autorel,selinux_autorelabel_generator_t,init_t,bpf,map_read,map_write Version-Release number of selected component: selinux-policy-targeted-40.18-3.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /usr/bin/bash from map_read, map_write access on the bpf /lib64/ld-linux-x86-64.so.2. package: selinux-policy-targeted-40.18-3.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.10.0-0.rc0.20240516git3c999d1ae3c7.5.fc41.x86_64+debug component: selinux-policy
Created attachment 2033716 [details] File: description
Created attachment 2033717 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2280935 ***