From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00961388A031; Sun, 5 Apr 2020 19:17:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00961388A031 From: "nick.alcock at oracle dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25680] ifuncmain9picstatic and ifuncmain9picstatic crash in IFUNC resolver due to stack canary (--enable-stack-protector=all) Date: Sun, 05 Apr 2020 19:17:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: nick.alcock at oracle dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: everconfirmed cf_reconfirmed_on cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2020 19:17:42 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25680 Nick Alcock changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2020-04-05 CC| |nick.alcock at oracle dot = com Status|UNCONFIRMED |ASSIGNED --- Comment #5 from Nick Alcock --- I can confirm this. IFUNC resolvers should be marked with inhibit_stack_protector: or, at least, when I added --enable-stack-protector=3Dall, I marked all then present in glibc that way= (and nobody said it was a bad idea). I don't see any other way to do it without radical reorganization of ld.so, for more or less no gain. IFUNC resolvers = have lots of obscure requirements on them anyway: this is just another one. I'll submit a patch fixing this in the next few days (probably next weekend, over Easter) -- though the patch is so trivial that anyone else who's alrea= dy got a build-many-glibcs setup that doesn't need major surgery to revive it (unlike me) is welcome to come up with it earlier :) (taken.) --=20 You are receiving this mail because: You are on the CC list for the bug.=