Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: prelink (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850861
Title:
FWIW: On Ubuntu 18.04 no problem:
sander@brixit:~$ execstack -s /tmp/ls
sander@brixit:~$
sander@brixit:~$ execstack -q /tmp/ls
X /tmp/ls
So it seems Ubuntu 20.04 specific?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
On Ubuntu 20.04, I have the same problem:
$ execstack -s hello
execstack: dso.c:877: reopen_dso: Assertion `dso->shdr[j].sh_size == 0' failed.
Aborted (core dumped)
sander@witte2004:~/hello-world$ gcc -o hello hello.c
sander@witte2004:~/hello-world$ ./hello
Hello, world!
And same same with /usr/bin/ls :
sander@witte2004:~/hello-world$ cp /usr/bin/ls /tmp/
sander@witte2004:~/hello-world$ ll /tmp/ls
-rwxr-xr-x 1 sander sander 142144 jun 8 20:43 /tmp/ls*
sander@witte2004:~/hello-world$ execstack -s /tmp/ls
execstack: dso.c:877: reopen_dso: Assertion
$ hardening-check /tmp/ls
/tmp/ls:
Position Independent Executable: yes
Stack protected: yes
Fortify Source functions: yes (some protected functions found)
Read-only relocations: yes
Immediate binding: yes
Stack clash protection: yes
Control flow integrity: yes
On older releases, we can