Bug 2122381

Summary: gcc: Segmentation fault via crafted input in ipcp_store_vr_results function in gcc/ipa-cp.c
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ahajkova, ailan, aoliva, dmalcolm, fweimer, jakub, jason, jwakely, law, mcermak, meissner, mpolacek, msebor, nickc, ohudlick, rjones, sipoyare, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-06 18:02:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2122385    

Description Pedro Sampaio 2022-08-29 22:15:19 UTC
In gcc, a crafted input source file could cause g++ to crash during compilation when provided certain optimization flags. The problem resides in the ipcp_store_vr_results function in gcc/ipa-cp.c

Upstream bug:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93015

Comment 1 Marcus Meissner 2022-08-30 13:16:56 UTC
how is this a security issue?

Comment 3 Siddhesh Poyarekar 2022-09-06 18:02:55 UTC
Not a valid security issue.