[Bug libc/22667] New: makecontext lacks stack alignment on i386

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jan 3 22:08:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=22667

            Bug ID: 22667
           Summary: makecontext lacks stack alignment on i386
           Product: glibc
           Version: 2.27
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
            Target: i386
             Flags: security-

The call to exit in the i386 implementation of makecontext fails to take stack
alignment into account.  As a result, __run_exit_handlers is executed with an
unaligned stack, and GCC 8 uses vector instructions for a stack access,
resulting in an alignment trap.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list