rtld: Check __libc_enable_secure before honoring LD_PREFER_MAP_32BIT_EXEC (CVE-2019...
authorMarcin Koƛcielnicki <mwk@0x04.net>
Wed, 20 Nov 2019 23:20:15 +0000 (00:20 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 21 Nov 2019 11:56:44 +0000 (12:56 +0100)
commitd5dfad4326fc683c813df1e37bbf5cf920591c8e
treecaf191d9e8e3dc6f42b0b5e2a04370ecc2858198
parent2a764c6ee848dfe92cb2921ed3b14085f15d9e79
rtld: Check __libc_enable_secure before honoring LD_PREFER_MAP_32BIT_EXEC (CVE-2019-19126) [BZ #25204]

The problem was introduced in glibc 2.23, in commit
b9eb92ab05204df772eb4929eccd018637c9f3e9
("Add Prefer_MAP_32BIT_EXEC to map executable pages with MAP_32BIT").
NEWS
sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h