libXfont issueshttps://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues2019-07-10T15:11:08Zhttps://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues/2Xorg server segfault in FontFileOpenFont2019-07-10T15:11:08ZBugzilla Migration UserXorg server segfault in FontFileOpenFont## Submitted by Andreas Resch
Assigned to **Xorg Project Team**
**[Link to original bug (#15671)](https://bugs.freedesktop.org/show_bug.cgi?id=15671)**
## Description
Hallo!
The next lines show the report in the logfile kdm.log.
...## Submitted by Andreas Resch
Assigned to **Xorg Project Team**
**[Link to original bug (#15671)](https://bugs.freedesktop.org/show_bug.cgi?id=15671)**
## Description
Hallo!
The next lines show the report in the logfile kdm.log.
The Error occures 3 to 4 times a week.
What goeas wrong? Can you help?
Please contact me under andi.resch@web.de for more information.
====================================================================
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.4.32 i686
Current Operating System: Linux xtkasse2 2.4.35 #3 Mon Aug 27 14:10:01 CEST 2007 i686
Build Date: 04 October 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/usr/local/var/log/Xorg.0.log", Time: Wed Apr 23 07:52:00 2008
(==) Using config file: "/etc/X11/XF86Config"
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "Keyboard" (module does not exist, 0)
(EE) GARTInit: Unable to open /dev/agpgart (No such device)
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/kwintv, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
Backtrace:
0: /usr/X11R6/bin/X(xf86SigHandler+0x76) [0x80c9216]
1: /lib/libpthread.so.0 [0x402b7895]
2: /lib/libc.so.6 [0x401905c8]
3: /usr/X11R6/lib/libXfont.so.1 [0x4008e0d1]
4: /usr/X11R6/lib/libXfont.so.1 [0x4008fc55]
5: /usr/X11R6/lib/libXfont.so.1 [0x4009029b]
6: /usr/X11R6/lib/libXfont.so.1(FontFileOpenFont+0x49a) [0x4004bd0a]
7: /usr/X11R6/bin/X [0x8086171]
8: /usr/X11R6/bin/X(OpenFont+0x11c) [0x808655c]
9: /usr/X11R6/bin/X(ProcOpenFont+0x7c) [0x8080b4c]
10: /usr/X11R6/bin/X [0x8130dca]
11: /usr/X11R6/bin/X(Dispatch+0x18f) [0x807f2ef]
12: /usr/X11R6/bin/X(main+0x46c) [0x806e44c]
13: /lib/libc.so.6(__libc_start_main+0xce) [0x4017c8ae]
14: /usr/X11R6/bin/X(strcpy+0x31) [0x806df01]
Fatal server error:
Caught signal 11. Server aborting
Version: 7.2 (2007.02)https://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues/7libXfont2-2.0.3 will not process font files via symlinks2019-08-03T18:06:34ZBugzilla Migration UserlibXfont2-2.0.3 will not process font files via symlinks## Submitted by joh..@..ok.com
Assigned to **Xorg Project Team**
**[Link to original bug (#105882)](https://bugs.freedesktop.org/show_bug.cgi?id=105882)**
## Description
After upgrading from libXfont2-2.0.1 -> 2.0.3, libXfont2 wil...## Submitted by joh..@..ok.com
Assigned to **Xorg Project Team**
**[Link to original bug (#105882)](https://bugs.freedesktop.org/show_bug.cgi?id=105882)**
## Description
After upgrading from libXfont2-2.0.1 -> 2.0.3, libXfont2 will no longer process font files.
tinycorelinux has a package system that uses squashfs packages loop mounted and symlinked to the root filesystem. If I overwrite the symlinks with the actual font files then things work as expected.
It appears that this broke things?
Open files with O_NOFOLLOW. (CVE-2017-16611)
A non-privileged X client can instruct X server running under root to open any file by creating own directory with "fonts.dir", "fonts.alias" or any font file being a symbolic link to any other file in the system. X server will then open it. This can be issue with special files such as /dev/watchdog.