public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/27008] New: ld.so.cache should have endianness markup
@ 2020-12-03 22:32 fweimer at redhat dot com
  2020-12-03 22:32 ` [Bug dynamic-link/27008] " fweimer at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-12-03 22:32 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27008
           Summary: ld.so.cache should have endianness markup
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

With qemu-user, it's common that a process of the wrong endianness tries to
parse ld.so.cache. For performance reasons, the consistency checks are somewhat
limited, so crashes can be the result.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/27008] ld.so.cache should have endianness markup
  2020-12-03 22:32 [Bug dynamic-link/27008] New: ld.so.cache should have endianness markup fweimer at redhat dot com
@ 2020-12-03 22:32 ` fweimer at redhat dot com
  2020-12-03 22:35 ` fweimer at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-12-03 22:32 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |fweimer at redhat dot com
           See Also|                            |https://launchpad.net/bugs/
                   |                            |1906250
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/27008] ld.so.cache should have endianness markup
  2020-12-03 22:32 [Bug dynamic-link/27008] New: ld.so.cache should have endianness markup fweimer at redhat dot com
  2020-12-03 22:32 ` [Bug dynamic-link/27008] " fweimer at redhat dot com
@ 2020-12-03 22:35 ` fweimer at redhat dot com
  2020-12-04  8:46 ` fweimer at redhat dot com
  2020-12-04  8:51 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-12-03 22:35 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Patch: https://sourceware.org/pipermail/libc-alpha/2020-November/119447.html

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/27008] ld.so.cache should have endianness markup
  2020-12-03 22:32 [Bug dynamic-link/27008] New: ld.so.cache should have endianness markup fweimer at redhat dot com
  2020-12-03 22:32 ` [Bug dynamic-link/27008] " fweimer at redhat dot com
  2020-12-03 22:35 ` fweimer at redhat dot com
@ 2020-12-04  8:46 ` fweimer at redhat dot com
  2020-12-04  8:51 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-12-04  8:46 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.33

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for glibc 2.33 via:

commit 84ba719b260551918965d0a433914de683087645
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Dec 4 09:13:43 2020 +0100

    elf: Add endianness markup to ld.so.cache (bug 27008)

    Use a reserved byte in the new format cache header to indicate whether
    the file is in little endian or big endian format.  Eventually, this
    information could be used to provide a unified cache for qemu-user
    and similiar scenarios.

    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/27008] ld.so.cache should have endianness markup
  2020-12-03 22:32 [Bug dynamic-link/27008] New: ld.so.cache should have endianness markup fweimer at redhat dot com
                   ` (2 preceding siblings ...)
  2020-12-04  8:46 ` fweimer at redhat dot com
@ 2020-12-04  8:51 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-12-04  8:51 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=22825

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-04  8:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 22:32 [Bug dynamic-link/27008] New: ld.so.cache should have endianness markup fweimer at redhat dot com
2020-12-03 22:32 ` [Bug dynamic-link/27008] " fweimer at redhat dot com
2020-12-03 22:35 ` fweimer at redhat dot com
2020-12-04  8:46 ` fweimer at redhat dot com
2020-12-04  8:51 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).