test-glibc-security failed due to LD_AUDIT issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
New
|
Undecided
|
Unassigned |
Bug Description
I tried to run test-glibc-
--------------- Begin of the console output ---------------
...
Running test: './test-
...
=======
FAIL: test_70_
Ensure environment vars passed through to non-setuid progs
-------
Traceback (most recent call last):
File "./test-
self.
File "./test-
self.
File "/root/
self.
AssertionError: Got exit code -11, expected 0
Command: 'su', '-c', './env-is-defined LD_AUDIT', 'testuser'
Output:
=======
FAIL: test_71_
Ensure environment vars filtered for setuid progs
-------
Traceback (most recent call last):
File "./test-
self.
File "./test-
self.
File "/root/
self.
AssertionError: Got exit code -11, expected 1
Command: 'su', '-c', './env-
Output:
---------------- End of the console output ----------------
However, the reason for the test to fail is the LD_AUDIT issue. For example, I ran the following command and got a SIGSEGV:
--------------- Begin of the console output ---------------
# LD_AUDIT=
Segmentation fault
---------------- End of the console output ----------------
On the other hand, the "LD_PRELOAD=
Moreover, the attempt to run the library /lib/x86_
--------------- Begin of the console output ---------------
# cp /lib/x86_
# chmod 755 /root/libmemusa
# /root/libmemusa
Segmentation fault
---------------- End of the console output ----------------
The following information about the library's version:
--------------- Begin of the console output ---------------
# dpkg -S /lib/x86_
libc6:amd64: /lib/x86_
# dpkg -s libc6
Package: libc6
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 11886
Maintainer: Ubuntu Developers <<email address hidden>>
Architecture: amd64
Multi-Arch: same
Source: glibc
Version: 2.27-3ubuntu1.6
Replaces: libc6-amd64
Depends: libgcc1
Suggests: glibc-doc, debconf | debconf-2.0, locales
Breaks: hurd (<< 1:0.5.git201402
Conflicts: openrc (<< 0.27-2~)
Conffiles:
/etc/ld.
Description: GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
Homepage: https:/
Original-
Original-
Original-Vcs-Git: https:/
---------------- End of the console output ----------------
I faced the aforementioned issue with libmemusage.so not only on the glibc 2.27 version but also on the glibc 2.35 version.