grsec: Xorg crash on K6-2 based hardware
When an X application using any libraries other than libX11 is launched on any X server running on AMD K6-2 based hardware , grsec tries to prevent a resource overstep, crashing Xorg and any of it’s attached applications.
dmesg log:
[ 1776.998309] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/Xorg[X:2289] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/xinit[xinit:2288] uid/euid:0/0 gid/egid:0/0console grsec output:
Assertion failed: key->initialized (../include/privates.h: dixGetPrivateAddr: 122)
>
This includes applications such as st, openbox and Dillo. twm, a libX11-only application, doesn’t seem to cause this problem.
Tested on a Compaq Presario 1260 with VESA framebuffer (apk repository does not offer xf86-video-neomagic. However, I manually compiled a neomagic server and this problem still persists. So the issue is not the video renderer, but likely the core code.)
(from redmine: issue id 5906, created on 2016-07-14, closed on 2016-09-23)
- Relations:
- relates #4425 (closed)
- Changesets:
- Revision 3d3ba8f5 by Natanael Copa on 2016-09-05T10:05:21Z:
main/xorg-server: disable wfb module in default config
it seems to create more problems that it solves.
fixes #5906
fixes #5422