[Bug dynamic-link/30020] New: segfault in ld-linux after aug 2022

petelomax at ymail dot com sourceware-bugzilla@sourceware.org
Wed Jan 18 12:46:26 GMT 2023


https://sourceware.org/bugzilla/show_bug.cgi?id=30020

            Bug ID: 30020
           Summary: segfault in ld-linux after aug 2022
           Product: glibc
           Version: 2.35
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: petelomax at ymail dot com
  Target Milestone: ---

My manually built elf x64 file started segfaulting somewhere deep inside
ld-linux in August 2022, exact same had been fine for 10 months.
You can download the offending file (a single plain 4MB ELF x64) from
http://phix.x10.mx/p64
Oddly running /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ./p64 works fine,
ie the exact same files but loaded the other way round. 
One user upgraded their Linux kernel to 5.4.0-131-generic, which fixed the
issue, but suspects 5.15.x won’t work. 
I'm still (5 months on) trying to find a fix. Apparently it wasn't the DT_HASH
thing. The ELF headers are as simple as I could make them, should they need
changing I need at the very least some clues.
Let me know if a 1.3K sys_write "It works!" with an easy to read byte-by-byte
300 line listing would help any (no idea why it would), alas not input for
gcc/ld/etc.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list