Your message dated Tue, 15 Sep 2015 16:50:25 +0000
with message-id <[email protected]>
and subject line Bug#784605: fixed in qemu 1:2.4+dfsg-3
has caused the Debian Bug report #784605,
regarding binfmt masks: allow ELF_OSABI=0|3 on some architectures
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 [email protected]
immediately.)
--
784605: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784605
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:qemu
Severity: normal
Tags: patch
Hello,
This bug follows #763043, with some updates.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763043
Summary: Firstly, the byte7 should be 0xfc to correctly match both
ELF_OSABI=0 and ELF_OSABI=3. In addition, this affects not only x86_64,
but some other ports, too.
I only tried powerpc, and here is an example:
$ file /usr/lib/gcc/powerpc-linux-gnu/4.9/cc1
/usr/lib/gcc/powerpc-linux-gnu/4.9/cc1: ELF 32-bit MSB executable, PowerPC or
cisco 4500, version 1 (GNU/Linux), dynamically linked, interpreter
/lib/ld.so.1, for GNU/Linux 2.6.32,
BuildID[sha1]=af334aed1745fa3623a18e6fcf6826d029e77657, stripped
$ hd /usr/lib/gcc/powerpc-linux-gnu/4.9/cc1|head -1
00000000 7f 45 4c 46 01 02 01 03 00 00 00 00 00 00 00 00 |.ELF............|
Regards,
Yixuan
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.7-ckt9 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
>From ce40902160e67adeb58a3792321840f59a651b43 Mon Sep 17 00:00:00 2001
From: Guo Yixuan <[email protected]>
Date: Thu, 7 May 2015 00:58:30 -0400
Subject: [PATCH] fix some masks for ELF_OSABI(byte7)
---
debian/binfmt-update-in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/binfmt-update-in b/debian/binfmt-update-in
index c678d74..f83595d 100644
--- a/debian/binfmt-update-in
+++ b/debian/binfmt-update-in
@@ -31,7 +31,7 @@ mips64_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xfe\xff\xff\xff\xff\xff\xff\xff\xf
mips64el_magic='\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00'
mips64el_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xfe\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'
ppc_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x14'
-ppc_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff'
+ppc_mask='\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff'
ppc64_magic='\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15'
ppc64_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff'
ppc64abi32_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15'
@@ -51,9 +51,9 @@ sparc64_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x
x86_64_magic='\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00'
# linux x86_64 ELF_OSABI(byte7) can be 0 (traditional,SYSV) or 3 (GNU/LINUX extensions)
# binfmt registration does not allow a enum, only value&mask. So we use broader mask
-# to allow both 0 and 3 here, this also lets 1 (HPUX) and 2 (NETBSD) - 0xfb not 0xff
+# to allow both 0 and 3 here, this also lets 1 (HPUX) and 2 (NETBSD) - 0xfc not 0xff
# alternative is to create 2 magic/mask pairs instead of one
-x86_64_mask='\xff\xff\xff\xff\xff\xfe\xfe\xfb\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'
+x86_64_mask='\xff\xff\xff\xff\xff\xfe\xfe\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'
ppc64le_magic='\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15\x00'
ppc64le_mask='\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\x00'
--
2.1.4
--- End Message ---
--- Begin Message ---
Source: qemu
Source-Version: 1:2.4+dfsg-3
We believe that the bug you reported is fixed in the latest version of
qemu, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Tokarev <[email protected]> (supplier of updated qemu 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 15 Sep 2015 19:30:18 +0300
Source: qemu
Binary: qemu qemu-system qemu-block-extra qemu-system-common qemu-system-misc
qemu-system-arm qemu-system-mips qemu-system-ppc qemu-system-sparc
qemu-system-x86 qemu-user qemu-user-static qemu-user-binfmt qemu-utils
qemu-guest-agent qemu-kvm libcacard0 libcacard-dev libcacard-tools
Architecture: source
Version: 1:2.4+dfsg-3
Distribution: unstable
Urgency: high
Maintainer: Debian QEMU Team <[email protected]>
Changed-By: Michael Tokarev <[email protected]>
Description:
libcacard-dev - Virtual Common Access Card (CAC) Emulator (development files)
libcacard-tools - Virtual Common Access Card (CAC) Emulator (tools)
libcacard0 - Virtual Common Access Card (CAC) Emulator (runtime library)
qemu - fast processor emulator
qemu-block-extra - extra block backend modules for qemu-system and qemu-utils
qemu-guest-agent - Guest-side qemu-system agent
qemu-kvm - QEMU Full virtualization on x86 hardware
qemu-system - QEMU full system emulation binaries
qemu-system-arm - QEMU full system emulation binaries (arm)
qemu-system-common - QEMU full system emulation binaries (common files)
qemu-system-mips - QEMU full system emulation binaries (mips)
qemu-system-misc - QEMU full system emulation binaries (miscelaneous)
qemu-system-ppc - QEMU full system emulation binaries (ppc)
qemu-system-sparc - QEMU full system emulation binaries (sparc)
qemu-system-x86 - QEMU full system emulation binaries (x86)
qemu-user - QEMU user mode emulation binaries
qemu-user-binfmt - QEMU user mode binfmt registration for qemu-user
qemu-user-static - QEMU user mode emulation binaries (static version)
qemu-utils - QEMU utilities
Closes: 784605 799073 799074
Changes:
qemu (1:2.4+dfsg-3) unstable; urgency=high
.
* ne2000-add-checks-to-validate-ring-buffer-pointers-CVE-2015-5279.patch
fix for Heap overflow vulnerability in ne2000_receive() function
(Closes: #799074 CVE-2015-5279)
* ne2000-avoid-infinite-loop-when-receiving-packets-CVE-2015-5278.patch
(Closes: #799073 CVE-2015-5278)
* some binfmt reorg:
- extend aarch64 to include one more byte as other arches do
- set OSABI mask to 0xfc for i386, ppc*, s390x, sparc*, to recognize
OSABI=3 (GNU/Linux) in addition to NONE/SysV
(Closes: #784605 #794737)
- tighten sh4 & sh4eb, fixing OSABI mask to be \xfc not 0
Checksums-Sha1:
64b811dcdbbab5bdd61561fc69e20d8110c82afe 6040 qemu_2.4+dfsg-3.dsc
5e1f6174087bdacf7fe2aba13f9ef0f8baef993f 65344 qemu_2.4+dfsg-3.debian.tar.xz
Checksums-Sha256:
a076e622cacbbe534c9606e192c4920a1aa3aa9d1cafd42be7fe8f6c2042a4c6 6040
qemu_2.4+dfsg-3.dsc
61a8526a6409957991370098d5cf8bdf69207a262838f9d3c39328ebcbfb3503 65344
qemu_2.4+dfsg-3.debian.tar.xz
Files:
70afbd0382b58669bc8e66d3e316db41 6040 otherosfs optional qemu_2.4+dfsg-3.dsc
a65897b3dda9e88988e55600e151bab6 65344 otherosfs optional
qemu_2.4+dfsg-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJV+EfZAAoJEL7lnXSkw9fbfRsH/0Y9nkfwMekIefzNiqaE3XnW
E2mdqgfPEe5gkjhroYbmaGTEzKVGmzRksVrpDx3MKwUSvgO/jpNDLm2O4ybe21Fv
nVPz94xcRK4BTlS1Jj5i+tTDNOm9alfIVIGEg/VoNPLi4+n3k+HXyhb1SCz2Vcsc
32j7lp1ociUOmUIgmuMohrCzUlSwY+DzZN2xFWpXcLhkyxqilkLhgFkd5Mxloskq
sDJtebA0+MGgXs0QcZkgeGV4Va7RW+0hwWM0Tvn2HyKJf9uduyZKoHRI2BZzd4ya
NINqQYLax3QC5v5Zmi2XGgsE9ZKfSPX9NFfnp5AfeNg0d0eba6oJTQPKqVF8i34=
=S6CG
-----END PGP SIGNATURE-----
--- End Message ---