Created attachment 868317 [details]
bash-asan.tar.xz
A version of bash and libreadline compiled and linked wit address sanitizer ...
warning could be dangerous
tar tf bash-asan.tar.xz
bin/bash.asan
lib64/bash/libhistory.so.8
lib64/bash/libhistory.so.8.2
lib64/bash/libreadline.so.8
lib64/bash/libreadline.so.8.2
here it works in a chroot environent ...
noether:~ # mount -t proc proc /abuild/oscbuild/standard/proc
noether:~ # chroot /abuild/oscbuild/standard/ /bin/bash.asan
noether:/ # ll /proc/$$/exe
lrwxrwxrwx 1 root root 0 Jul 19 12:42 /proc/11752/exe -> /usr/bin/bash.asan
noether:/ # exit
noether:~ # umount /abuild/oscbuild/standard/proc
... the problem could be libreadline which might also poison /bin/bash via
runtime linker