Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

security: mate-screensaver unlocks by itself #276

Open
edisno opened this issue Mar 31, 2022 · 5 comments
Open

security: mate-screensaver unlocks by itself #276

edisno opened this issue Mar 31, 2022 · 5 comments

Comments

@edisno
Copy link

edisno commented Mar 31, 2022

Expected behaviour

The screen stays locked even when I leave the computer running alone for a week or two.

Actual behaviour

Recently (for some months?) I have noticed after coming back to a computer after a week or two, that the screen is not locked as it was when I left it, causing certain security implications.

It happens on several computers, at different physical sites, all running the same distro. They are all on 24/7 and act as servers.

Might be related to (from 2018): #155

Another thing I have thought of is the OOM killer, since the servers are sometimes overloaded.

Steps to reproduce the behaviour

Lock the screen and leave.

MATE general version

mate-about: MATE Desktop Environment 1.26.0

Package version

ii mate-screensaver 1.26.0-0ubuntu1 amd64 MATE screen saver and locker

Linux Distribution

Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish

@lukefromdc
Copy link
Member

lukefromdc commented Jun 1, 2022

Is mate-screensaver still running when this happens or has it crashed? If it is still running you should see it in mate-system-monitor's "processes" tab. If you switch VT's and run killall mate-screensaver from console the desktop will be unlocked when you return to it as the mate-screensaver window no longer exists. Since you have to log in with your password/passphrase to do this that's not a security issue but a crash sure as fsck is.

@lukefromdc
Copy link
Member

Also note that as reported elsewhere, MATE does not support Cgroups (yet) so the OOM killer should take out the entire X session, returning the user to the login screen. If Cgroups support is later added we will indeed need to ensure that the screensaver cannot be killed by the out of memory process killer ahead of the overall session

@raveit65
Copy link
Member

raveit65 commented Aug 6, 2022

Is systemd-oomd used?

@davidhedlund
Copy link

@zhuyaliang
Copy link
Member

@edisno Does the issue still exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants