[Bug libc/33112] Hardened ldconfig crashes when running on Google Axion (arm64)
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Mon Jun 30 13:20:32 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=33112
--- Comment #10 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Wilco Dijkstra <wilco@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=681a24ae4d0cb8ed92de98b4da660308840b09ba
commit 681a24ae4d0cb8ed92de98b4da660308840b09ba
Author: Wilco Dijkstra <wilco.dijkstra@arm.com>
Date: Fri Jun 27 14:10:55 2025 +0000
AArch64: Avoid memset ifunc in cpu-features.c [BZ #33112]
During early startup memcpy or memset must not be called since many targets
use ifuncs for them which won't be initialized yet. Security hardening may
use -ftrivial-auto-var-init=zero which inserts calls to memset. Redirect
memset to memset_generic by including dl-symbol-redir-ifunc.h in
cpu-features.c.
This fixes BZ #33112.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list