Bug 1715823 (CVE-2018-12886) - CVE-2018-12886 gcc: spilling of stack protection address in cfgexpand.c and function.c leads to stack-overflow protection bypass
Summary: CVE-2018-12886 gcc: spilling of stack protection address in cfgexpand.c and f...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-12886
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1715824
TreeView+ depends on / blocked
 
Reported: 2019-05-31 11:54 UTC by Marian Rehak
Modified: 2020-02-11 00:43 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-05 12:54:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 85434 0 P3 ASSIGNED Address of stack protector guard spilled to stack on ARM 2020-07-21 10:50:51 UTC

Description Marian Rehak 2019-05-31 11:54:18 UTC
stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU GCC 4.1 through 8 (under certain circumstances) generate instruction sequences when targeting ARM targets that spill the stack protector guard address, which allows bypassing the protection of -fstack-protector, -fstack-protector-all, -fstack-protector-strong, and -fstack-protector-explicit against stack overflow by controlling what the stack canary is compared against.

Upstream Issue:

https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/arm/arm-protos.h?revision=266379&view=markup


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