Lintian ReportsBETA

executable-stack-in-shared-library

The listed shared library declares the stack as executable.

Executable stack is usually an error as it is only needed if the code contains GCC trampolines or similar constructs which uses code on the stack. One possible source for false positives are object files built from assembler files which don't define a proper .note.GNU-stack section.

To see the permissions on the stack, run readelf -l on the shared library and look for the program header of type GNU_STACK. In the flag column, there should not be an E flag set.

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.114.0 release tag in our Git repository.

You can find the detection logic for this version at commit ea05801. For merge requests, please use the latest version in the Lintian check libraries/shared/stack.

Visibility: warning

Renamed from:
  • shlib-with-executable-stack

The following 21 source packages in the archive triggered the tag 1408 times (in any Lintian version).

We found 4 overrides. The tag performed 100% of the time.