Bug 1802692 - Shadow stack isn't unwound properly through signal handler
Summary: Shadow stack isn't unwound properly through signal handler
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 33
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1802674
TreeView+ depends on / blocked
 
Reported: 2020-02-13 17:53 UTC by H.J. Lu
Modified: 2020-12-23 15:48 UTC (History)
11 users (show)

Fixed In Version: 10.2
Clone Of:
Environment:
Last Closed: 2020-12-23 15:48:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 85334 0 P3 RESOLVED Shadow stack isn't unwound properly through signal handler 2020-12-23 15:47:57 UTC

Description H.J. Lu 2020-02-13 17:53:46 UTC
I got

FAIL: g++.dg/eh/sighandle.C

with -m32 on Tiger Lake  There is a restore token on shadow stack for
signal handler.  The restore token is 8 byte and aligned to 8 bytes for both
i386 and x86-64.  We need to handle the i386 case carefully.   This bug
has been fixed for GCC 10 and on GCC 9 branch.

Comment 1 Ben Cotton 2020-08-11 15:26:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 2 H.J. Lu 2020-12-23 15:48:14 UTC
Fixed as of GCC 10.2.


Note You need to log in before you can comment on or make changes to this bug.