ExecutableStacks

Differences between revisions 2 and 10 (spanning 8 versions)
Revision 2 as of 2009-08-03 15:26:18
Size: 1803
Editor: 89
Comment:
Revision 10 as of 2009-08-03 17:10:28
Size: 1991
Editor: 89
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
  * check an ELF binary: "readelf -l $BIN | grep GNU_STACK" shows with "E" flag.   * check an ELF binary: "readelf -lW $BIN | grep GNU_STACK" shows with "E" flag.
Line 5: Line 5:
  * -Wl,-z,noexecstack will change the behavior of asm without stack markings.
Line 6: Line 7:
= Main/Restricted Packages =
Line 8: Line 10:
== Fixed ==
 * zip
 * bogl
Line 9: Line 15:
Uses [[http://grub.enbug.org/NestedFunctions|Nested Functions]] which compiler generates as trampolines on the stack.    * bogl [[http://cvs.fedoraproject.org/viewvc//devel/bogl/bogl-0.1.18-noexecstack.patch?view=markup|patch]] Uses [[http://grub.enbug.org/NestedFunctions|Nested Functions]] which compiler generates as trampolines on the stack.
Line 12: Line 17:
 * grub2  * grub2 [[http://savannah.gnu.org/bugs/?25220|upstream bug]]

== Stack Trampolines ==
 * klibc (setjmp implementation)
 * kexec-tools (statically linked against klibc)

== Shipped Precompiled Binary ==
 * fglrx-installer
 * nvidia-graphics-drivers-173
 * nvidia-graphics-drivers-180
 * nvidia-graphics-drivers-71
 * nvidia-graphics-drivers-96
Line 15: Line 31:
 * fglrx-installer
Line 22: Line 37:
 * nvidia-graphics-drivers-173
 * nvidia-graphics-drivers-180
 * nvidia-graphics-drivers-71
 * nvidia-graphics-drivers-96
Line 27: Line 38:

== Harmless ==
 * kexec-tools
 * klibc

There are still some programs that have executable stack regions.

Main/Restricted Packages

Originally generated from the ELF files with executable stacks in Karmic main.

Fixed

  • zip
  • bogl

Nested Functions

Uses Nested Functions which compiler generates as trampolines on the stack.

Stack Trampolines

  • klibc (setjmp implementation)
  • kexec-tools (statically linked against klibc)

Shipped Precompiled Binary

  • fglrx-installer
  • nvidia-graphics-drivers-173
  • nvidia-graphics-drivers-180
  • nvidia-graphics-drivers-71
  • nvidia-graphics-drivers-96

Unclassified

  • icon
  • john
  • link-grammar
  • mbr
  • memtest86+
  • mono
  • openjdk-6

Fedora Patches

SecurityTeam/Roadmap/ExecutableStacks (last edited 2017-08-22 14:25:31 by jdstrand)