Bug 1800946

Summary: Security: Segfault after resuming from sleep
Product: [Fedora] Fedora Reporter: Marcel Haerry <mh>
Component: swayAssignee: Till Hofmann <thofmann>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 31CC: me, plautrba, sway-sig, thofmann, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sway-rolling-3020200209132425.a5b0195c sway-rolling-3120200209132425.f636be4b Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-18 00:21:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcel Haerry 2020-02-09 09:39:08 UTC
Currently it can happen, that sway / swaylock or swaybar segfault after resume from sleep.

This makes the systems unlocked, although it should be locked by swaylock. which is a severe security issue, as it might allow access to your system to unauthorized people.

This seems to be fixed upstream: https://github.com/swaywm/sway/issues/4599 (and multiple other reports).

Version installed:


$ rpm -qi sway
Name        : sway
Version     : 1.2
Release     : 2.module_f31+6717+05a4cb47
Architecture: x86_64
Install Date: Sat 16 Nov 2019 12:54:08 PM CET
Group       : Unspecified
Size        : 5861090
License     : MIT
Signature   : RSA/SHA256, Tue 01 Oct 2019 02:16:23 PM CEST, Key ID 50cb390b3c3359c4
Source RPM  : sway-1.2-2.module_f31+6717+05a4cb47.src.rpm
Build Date  : Tue 01 Oct 2019 01:32:27 PM CEST
Build Host  : buildvm-29.phx2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://github.com/swaywm/sway
Bug URL     : https://bugz.fedoraproject.org/sway
Summary     : i3-compatible window manager for Wayland
Description :
Sway is a tiling window manager supporting Wayland compositor protocol and
i3-compatible configuration.

Comment 1 Till Hofmann 2020-02-09 11:27:38 UTC
This will be fixed in 1.4, I'll try to backport the fix to older releases.

Comment 2 Fedora Update System 2020-02-09 13:23:51 UTC
FEDORA-2020-f49a5b4422 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f49a5b4422

Comment 3 Fedora Update System 2020-02-09 14:13:06 UTC
FEDORA-MODULAR-2020-a2fda48771 has been submitted as an update to Fedora 30 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-a2fda48771

Comment 4 Fedora Update System 2020-02-09 14:13:07 UTC
FEDORA-MODULAR-2020-6d36038b2c has been submitted as an update to Fedora 31 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-6d36038b2c

Comment 5 Fedora Update System 2020-02-10 01:00:04 UTC
sway-rolling-3020200209132425.a5b0195c has been pushed to the Fedora 30 Modular testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-a2fda48771

Comment 6 Fedora Update System 2020-02-10 01:27:05 UTC
sway-1.1.1-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f49a5b4422

Comment 7 Fedora Update System 2020-02-10 01:44:09 UTC
sway-rolling-3120200209132425.f636be4b has been pushed to the Fedora 31 Modular testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2020-6d36038b2c

Comment 8 Fedora Update System 2020-02-18 00:21:40 UTC
sway-rolling-3020200209132425.a5b0195c has been pushed to the Fedora 30 Modular stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-02-18 01:02:45 UTC
sway-rolling-3120200209132425.f636be4b has been pushed to the Fedora 31 Modular stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-02-18 01:46:05 UTC
sway-1.1.1-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.