Bug 1492007

Summary: gnome-shell: Use-after-free due to icon remapping
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dkholia, fmuellner, gnome-sig, otaylor, walters
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the way gnome-shell handled mapping and unmapping of tray icons. A malicious or misbehaving local application could potentially use this flaw to crash the gnome-shell process.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-11 10:53:34 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: 1492008, 1500589    
Bug Blocks: 1492009    

Description Andrej Nemec 2017-09-15 09:21:22 UTC
If a tray icon gets a mapped and unmapped and the mapped again in quick succession, we can end up with multiple handlers listening for window creation events. An attacker could use this to crash gnome-shell.

Comment 1 Andrej Nemec 2017-09-15 09:21:44 UTC
Created gnome-shell tracking bugs for this issue:

Affects: fedora-all [bug 1492008]

Comment 7 Fedora Update System 2017-11-01 16:38:28 UTC
gnome-shell-3.22.3-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.