Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#43883 - [paxd] kscreenlocker_greet crashes when trying to lock screen due to mprotect
Attached to Project:
Community Packages
Opened by Adam Fontenot (amfontenot) - Thursday, 19 February 2015, 05:30 GMT
Last edited by Daniel Micay (thestinger) - Thursday, 19 February 2015, 11:04 GMT
Opened by Adam Fontenot (amfontenot) - Thursday, 19 February 2015, 05:30 GMT
Last edited by Daniel Micay (thestinger) - Thursday, 19 February 2015, 11:04 GMT
|
DetailsDescription:
A PAX exception for kscreenlocker_greet exists in /etc/paxd.conf, but the path specified is for the old KDE4 version of kscreenlocker. I receive an MPROTECT error when the session tries to lock (as shown below). This locks up KDE, forcing me to kill it from a vterm. The current location of kscreenlocker_greet is /usr/lib/kscreenlocker_greet. Feb 18 22:03:49 serenity kernel: grsec: denied RWX mprotect of <anonymous mapping> by /usr/lib/kscreenlocker_greet[kscreenlocker_g:1140] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/kdeinit5[ksmserver:655] uid/euid:1000/1000 gid/egid:1000/1000 Feb 18 22:03:49 serenity kernel: grsec: denied RWX mprotect of <anonymous mapping> by /usr/lib/kscreenlocker_greet[kscreenlocker_g:1140] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/kdeinit5[ksmserver:655] uid/euid:1000/1000 gid/egid:1000/1000 Feb 18 22:03:49 serenity kernel: grsec: denied RWX mprotect of <anonymous mapping> by /usr/lib/kscreenlocker_greet[kscreenlocker_g:1140] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/kdeinit5[ksmserver:655] uid/euid:1000/1000 gid/egid:1000/1000 Feb 18 22:03:49 serenity kernel: PAX: execution attempt in: <anonymous mapping>, 2c2f1e6c000-2c2f1e8e000 2c2f1e6c000 Feb 18 22:03:49 serenity kernel: PAX: terminating task: /usr/lib/kscreenlocker_greet(kscreenlocker_g):1140, uid/euid: 1000/1000, PC: 000002c2f1e6c000, SP: 000003d69d8d6c08 Feb 18 22:03:49 serenity kernel: PAX: bytes at PC: 55 48 89 e5 48 83 ec 40 4c 89 65 f8 4c 89 75 f0 49 89 fe 4d Feb 18 22:03:49 serenity kernel: PAX: bytes at SP-8: 0000000000000000 000002c2f03231fb 000003d69d8d6ba8 0000000000000000 0000000000000000 004a1a58ffffffff 000003d69d8d6c98 00000000013bd870 000002c2eef311e0 000003d69d8d6c70 000002c2d5186000 Additional info: * using latest versions of all packages Solution: Disabling MPROTECT for kscreenlocker_greet fixes the problem for me. |
This task depends upon
Closed by Daniel Micay (thestinger)
Thursday, 19 February 2015, 11:04 GMT
Reason for closing: Fixed
Additional comments about closing: paxd-26-1
Thursday, 19 February 2015, 11:04 GMT
Reason for closing: Fixed
Additional comments about closing: paxd-26-1