From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 24DA23864C65; Wed, 23 Mar 2022 19:10:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24DA23864C65 From: "jpalus at fastmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/28990] ld.so --verify segfaults on cc1 binary on arm 32bit Date: Wed, 23 Mar 2022 19:10:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.35 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jpalus at fastmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Wed, 23 Mar 2022 19:10:26 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28990 --- Comment #2 from Jan Palus --- It seems to be caused by fixed address 0x10000 used for mmap as seen in str= ace. With kernel 5.16 plenty of space is available: /proc//maps just before mmap (5.16): 76fc4000-76fed000 r-xp 00000000 b3:02 393320 /lib/ld-linux-armhf.so.3 76ffa000-76ffb000 r-xp 00000000 00:00 0 [sigpage] 76ffb000-76ffc000 r--p 00000000 00:00 0 [vvar] 76ffc000-76ffd000 r-xp 00000000 00:00 0 [vdso] 76ffd000-77000000 rw-p 00029000 b3:02 393320 /lib/ld-linux-armhf.so.3 7efdf000-7f000000 rw-p 00000000 00:00 0 [stack] ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors] /proc//maps just before mmap (5.17): 00400000-00429000 r-xp 00000000 b3:02 393320 /lib/ld-linux-armhf.so.3 00439000-0043c000 rw-p 00029000 b3:02 393320 /lib/ld-linux-armhf.so.3 76ffd000-76ffe000 r-xp 00000000 00:00 0 [sigpage] 76ffe000-76fff000 r--p 00000000 00:00 0 [vvar] 76fff000-77000000 r-xp 00000000 00:00 0 [vdso] 7efdf000-7f000000 rw-p 00000000 00:00 0 [stack] ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors] so larger binaries (>4MB) start to overlap with first region under 5.17 and result in SIGSEGV. Not sure who's to blame for this situation though. --=20 You are receiving this mail because: You are on the CC list for the bug.=