[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#822489: marked as done (armhf ABI detection crashing ldconfig on arm64)



Your message dated Wed, 11 May 2016 22:29:02 +0000
with message-id <E1b0cco-00079g-Gs@franck.debian.org>
and subject line Bug#822489: fixed in glibc 2.22-8
has caused the Debian Bug report #822489,
regarding armhf ABI detection crashing ldconfig on arm64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
822489: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822489
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-bin
Severity: serious
Version: 2.22-7
Tags: patch

Hi folks,

Steev has reported some crashing using ldconfig on arm64 systems with
armhf added as a secondary architecture - he's using this config in
Kali, for example.

Working through the problem with him on #debian-arm, I can see that
it's a problem with our/my patch for ARM ABI detection. On older
binaries that predate the new ABI flags in the ELF header, we're still
parsing the ARM attributes. That works fine on armel/armhf, but on
arm64 this code is being built wrongly using native (ELF64)
types. This patch is the obvious fix - enforce using ELF32 types for
all arches.

It seems that we still have some older packages without the ABI flags
attached - libshout3 is one such. :-(

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"I can't ever sleep on planes ... call it irrational if you like, but I'm
 afraid I'll miss my stop" -- Vivek Das Mohapatra
--- debian/patches/arm/unsubmitted-ldconfig-cache-abi.diff~	2016-04-19 09:49:50.000000000 +0000
+++ debian/patches/arm/unsubmitted-ldconfig-cache-abi.diff	2016-04-24 23:12:33.808037225 +0000
@@ -40,8 +40,8 @@
 +static int is_library_hf(const char *file_name, void *file_contents, size_t file_length)
 +{
 +  unsigned int i;
-+  ElfW(Ehdr) *ehdr = (ElfW(Ehdr) *) file_contents;
-+  ElfW(Shdr) *shdrs;
++  Elf32_Ehdr *ehdr = (Elf32_Ehdr *) file_contents;
++  Elf32_Shdr *shdrs;
 +
 +  shdrs = file_contents + ehdr->e_shoff;
 +  for (i = 0; i < ehdr->e_shnum; i++)

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.22-8

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 822489@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 11 May 2016 23:39:05 +0200
Source: glibc
Binary: libc-bin libc-dev-bin libc-l10n glibc-doc glibc-source locales locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc libc6-dev-sparc libc6-sparc64 libc6-dev-sparc64 libc6-s390 libc6-dev-s390 libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mips32 libc6-dev-mips32 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-x32 libc6-dev-x32 libc6-xen libc6.1-alphaev67
Architecture: source
Version: 2.22-8
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description:
 glibc-doc  - GNU C Library: Documentation
 glibc-source - GNU C Library: sources
 libc-bin   - GNU C Library: Binaries
 libc-dev-bin - GNU C Library: Development binaries
 libc-l10n  - GNU C Library: localization files
 libc0.1    - GNU C Library: Shared libraries
 libc0.1-dbg - GNU C Library: detached debugging symbols
 libc0.1-dev - GNU C Library: Development Libraries and Header Files
 libc0.1-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc0.1-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc0.1-pic - GNU C Library: PIC archive library
 libc0.1-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc0.3    - GNU C Library: Shared libraries
 libc0.3-dbg - GNU C Library: detached debugging symbols
 libc0.3-dev - GNU C Library: Development Libraries and Header Files
 libc0.3-pic - GNU C Library: PIC archive library
 libc0.3-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc6      - GNU C Library: Shared libraries
 libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - GNU C Library: detached debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
 libc6-dev-i386 - GNU C Library: 32-bit development libraries for AMD64
 libc6-dev-mips32 - GNU C Library: o32 Development Libraries for MIPS
 libc6-dev-mips64 - GNU C Library: 64bit Development Libraries for MIPS64
 libc6-dev-mipsn32 - GNU C Library: n32 Development Libraries for MIPS64
 libc6-dev-powerpc - GNU C Library: 32bit powerpc development libraries for ppc64
 libc6-dev-ppc64 - GNU C Library: 64bit Development Libraries for PowerPC64
 libc6-dev-s390 - GNU C Library: 32bit Development Libraries for IBM zSeries
 libc6-dev-sparc - GNU C Library: 32bit Development Libraries for SPARC
 libc6-dev-sparc64 - GNU C Library: 64bit Development Libraries for UltraSPARC
 libc6-dev-x32 - GNU C Library: X32 ABI Development Libraries for AMD64
 libc6-i386 - GNU C Library: 32-bit shared libraries for AMD64
 libc6-mips32 - GNU C Library: o32 Shared libraries for MIPS
 libc6-mips64 - GNU C Library: 64bit Shared libraries for MIPS64
 libc6-mipsn32 - GNU C Library: n32 Shared libraries for MIPS64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-powerpc - GNU C Library: 32bit powerpc shared libraries for ppc64
 libc6-ppc64 - GNU C Library: 64bit Shared libraries for PowerPC64
 libc6-s390 - GNU C Library: 32bit Shared libraries for IBM zSeries
 libc6-sparc - GNU C Library: 32bit Shared libraries for SPARC
 libc6-sparc64 - GNU C Library: 64bit Shared libraries for UltraSPARC
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc6-x32  - GNU C Library: X32 ABI Shared libraries for AMD64
 libc6-xen  - GNU C Library: Shared libraries [Xen version]
 libc6.1    - GNU C Library: Shared libraries
 libc6.1-alphaev67 - GNU C Library: Shared libraries (EV67 optimized)
 libc6.1-dbg - GNU C Library: detached debugging symbols
 libc6.1-dev - GNU C Library: Development Libraries and Header Files
 libc6.1-pic - GNU C Library: PIC archive library
 libc6.1-udeb - GNU C Library: Shared libraries - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 multiarch-support - Transitional package to ensure multiarch compatibility
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 218519 819165 821358 822143 822489 823387
Changes:
 glibc (2.22-8) unstable; urgency=medium
 .
   [ Samuel Thibault ]
   * hurd-i386/cvs-gprof-tick.diff: Cherry-pick from upstream to fix gprof
     timing.
   * hurd-i386/cvs-IPV6_PKTINFO.diff: Cherry-pick from upstream to fix
     IPV6_*PKT* macros.
 .
   [ Aurelien Jarno ]
   * Update from upstream stable branch:
     - Fix a buffer overflow in the glob function (CVE-2016-1234).
     - Fix a stack overflow in getaddrinfo function (CVE-2016-3706).
     - Fix nss_hesiod breakage.  Closes: #821358.
   * patches/kfreebsd/local-sysdeps.diff: update to revision 6051 (from
     glibc-bsd) to fix FTBFS and provide PT_FOLLOW_FORK in sys/ptrace.h.
     Closes: #822143, #823387.
   * patches/arm/unsubmitted-ldconfig-cache-abi.diff: apply fix from Steve
     McIntyre to fix an armhf ABI detection crash in ldconfig on arm64.
     Closes: #822489.
   * debian/control.in/main: upgrade breaks on binutils. This is plainly
     wrong though, glibc should not be a special case: either we don't
     support partial upgrades or we do that for all libraries. With that
     let's hope people will stop reporting bugs, sigh.  Closes: #819165.
   * Drop libc*-i686 packages as GCC now defaults to i686:
     - debian/control: drop packages, add provides and build-depends on
       g++-5 (>= 5.3.1-17) and dpkg-dev (>= 1.18.7).
     - debian/sysdeps/hurd-i386.mk: stop building libc0.3-i686. Use the
       default compiler options to build libc0.3-xen.
     - debian/sysdeps/i386.mk: stop building libc6-i686.
     - debian/sysdeps/kfreebsd-i386.mk: drop.
     - debian/patches/i386/submitted-i686-timing.diff: drop.  Closes:
       #218519.
 .
   [ Adam Conrad ]
   * debian/control.in/libc: Force i686 variants off the system on upgrade.
Checksums-Sha1:
 8767d7cf96bd72a0a6cbe09581e8b188122daa76 7987 glibc_2.22-8.dsc
 d0c3025db7d43e455583a1697bc7482e8322aba4 1034776 glibc_2.22-8.debian.tar.xz
Checksums-Sha256:
 888b82c3cdfef76cfd9fa3ea2caf824817225974e05c9c8bffe4ef22cbdf7b77 7987 glibc_2.22-8.dsc
 090cd6edecf8fd0486dfb94ccca46e337f4d02d26cc87aace233f264bdaefad7 1034776 glibc_2.22-8.debian.tar.xz
Files:
 7b568dc23b456a33c0ce56fd8cca6c3e 7987 libs required glibc_2.22-8.dsc
 e54b8185513abae36ef7fac1e078617d 1034776 libs required glibc_2.22-8.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXM6bTAAoJELqceAYd3Yyb8v8QALprnNZih4IlePRAEG+XrPGu
BQh79rqJv3acc084h7iVZUbQ2rAirOgQdnOJWUWbM5FV+hMEtfKznAzLwkTJkkNk
VmL46g/2za2PkqewB3AJIf8fpW6rlzx8n9NzM/cRcLdsJMIO5dn98xpidAmqoL4y
5q1ApO8rrRPcO3foPzti2xX0bDFPOsrhyk2SX6BfuoyJhY8/I81ZlcdycyjdHhYo
m/cydREyBKiF4GXzT5YyDlONq3z5XX/2gloLozOa0FeWRRJ3/N/HrmlkEugb3Q4f
EF3DQdkqFCsVaEBzYmXRxz/lHNLGLAGyqZZ7bsCn0U2S2Cmpr6/BgPansFXwg6gW
jw9opf+n1Dv7sLnTGmTiEjEjyKS5VyN9kf7dPsD7LMbiQJ6ui9nBIwqlwuvTCH56
MGsxDka8Er/6+/agduyCHhsX7HQ+YnTGSO+bSIqrCua5jMpOWvmOll94bRP9FI3Q
LGOFkdWzkw9hNArTDui1V30ZjOAns0Qjj8P58JPTWgxQJfRfIr2l82V2hUk6TWBq
UFv+8trg2uFCH0kQL9Eo24HVrUhNzd8i1kthvKlojlJxPyerd03pIzGFTSRHBzw/
npiDE6kSqbe1SDcaQMVOvve4lbVPfZ8h/nPaNktWLwKV4sfxSwyzGIf5cwt7KJLt
w016VwNxe3ls80E3aXN7
=CHSh
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: