I updated from ubuntu 14.04 to 18.04 and installed a custom (old) application.
When starting the application it stop immediately with this error message:
"glibc detected an invalid stdio handle"
This error message was added by commit [1] "libio: Implement vtable verification [BZ #20191]" to fix a security issue [2].
I tested with several Linux distribution (so different libc version) and the application is working fine with Fedora 30 (Glibc 2.29).
There is an interesting patch [3] from Glibc 2.28 which was backported to Glibc 2.27 [4] "libio: Disable vtable validation in case of interposition [BZ #23313]"
But Ubuntu 18.04 is still using an old Glibc 2.27 version (from 02-2018).
Here is the Glibc version used in 18.04:
$ dpkg -s libc6
[...]
Version: 2.27-3ubuntu1
Looking at the changelog, ubuntu updated Glibc 2.27 the 16 Apr 2018 but there is a lot of fix from upstream Glibc 2.27 stable branch. The one I'm looking for was merged the 07-2018.
It would be great if Ubuntu 18.04 can update Glibc to the latest stable version.
Hi,
I updated from ubuntu 14.04 to 18.04 and installed a custom (old) application.
When starting the application it stop immediately with this error message:
"glibc detected an invalid stdio handle"
This error message was added by commit [1] "libio: Implement vtable verification [BZ #20191]" to fix a security issue [2].
I tested with several Linux distribution (so different libc version) and the application is working fine with Fedora 30 (Glibc 2.29).
There is an interesting patch [3] from Glibc 2.28 which was backported to Glibc 2.27 [4] "libio: Disable vtable validation in case of interposition [BZ #23313]"
But Ubuntu 18.04 is still using an old Glibc 2.27 version (from 02-2018).
Here is the Glibc version used in 18.04:
$ dpkg -s libc6
[...]
Version: 2.27-3ubuntu1
Looking at the changelog, ubuntu updated Glibc 2.27 the 16 Apr 2018 but there is a lot of fix from upstream Glibc 2.27 stable branch. The one I'm looking for was merged the 07-2018.
It would be great if Ubuntu 18.04 can update Glibc to the latest stable version.
Best regards,
Romain
[1] https:/ /sourceware. org/git/ ?p=glibc. git;a=commitdif f;h=db3476aff19 b75c4fdefbe65fc d5f0a90588ba51 /dhavalkapil. com/blogs/ FILE-Structure- Exploitation /sourceware. org/git/ ?p=glibc. git;a=commitdif f;h=c402355dfa7 807b8e0adb27c00 9135a7e2b9f1b0 /sourceware. org/git/ ?p=glibc. git;a=commitdif f;h=3bb74825740 5e94e13de76573a 4e9da1cfd961d0
[2] https:/
[3] https:/
[4] https:/