There's a missing range check when decoding the LDST instruction.
https://bubbleshooter.io/
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu E
** Changed in: binutils
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec format
Closing
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec format error on WSL1
Status in binutils:
Fix Released
Status
Can be closed now.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec format error on WSL1
Status in binutils:
Fix Relea
This bug was fixed in the package binutils - 2.33-2ubuntu1.2
---
binutils (2.33-2ubuntu1.2) eoan; urgency=medium
* Rebuild for the -security pocket
binutils (2.33-2ubuntu1.1) eoan; urgency=medium
* Cherry-pick from binutils master branch:
PR25237, set no file contents PT_LOA
** Changed in: binutils (Ubuntu)
Importance: Undecided => Medium
** Changed in: binutils (Ubuntu Eoan)
Importance: Undecided => Medium
** Changed in: gzip (Ubuntu Eoan)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Touch seeded p
Verified binutils 2.33-2ubuntu1.2 by rebuilding gzip in the Bileto PPA
with new binutils and checking the rebuilt gzip binary:
root@ee-dwz:~# wget
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3878/+build/18334107/+files/gzip_1.10-0ubuntu3.1_amd64.deb
--2019-12-20 17:50:02--
https
Hello Hayden, or anyone else affected,
Accepted binutils into eoan-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/binutils/2.33-2ubuntu1.2 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://
** Description changed:
IMPORTANT: Binutils was accidentally built in -proposed instead of in a
PPA. I'm rebuilding it in https://launchpad.net/~ci-train-ppa-
- service/+archive/ubuntu/3876 for the -security pocket.
+ service/+archive/ubuntu/3877 for the -security pocket.
[Impact]
*
So the binutils upload will need to be re-built against security and
pushed to the -security pocket additionally to the -updates pocket,
otherwise all the future potential gzip security updates would revert
this fix here. Balint is preparing the rebuild, but I think ubuntu-
security should be notif
This bug was fixed in the package gzip - 1.10-0ubuntu3.1
---
gzip (1.10-0ubuntu3.1) eoan; urgency=high
* Rebuild with binutils 2.33-2ubuntu1.1 (LP: #1843479)
- Build-depend on binutils (>= 2.33-2ubuntu1.1)
-- Balint Reczey Fri, 13 Dec 2019 16:41:46 +0100
** Changed in: gzip
(actually, I don't think security needs to be notified, so scratch that)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec
The verification of the Stable Release Update for gzip has completed
successfully and the package is now being released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a reg
** Description changed:
+ IMPORTANT: Binutils was accidentally built in -proposed instead of in a
+ PPA. I'm rebuilding it in https://launchpad.net/~ci-train-ppa-
+ service/+archive/ubuntu/3876 for the -security pocket.
+
[Impact]
- * Running gzip on WSL1 results in the following error:
-
Created attachment 12121
Updated patch bases on mailing list comments
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec fo
The master branch has been updated by Alan Modra
:
https://sourceware.org/git/gitweb.cgi?p=binutils-
gdb.git;h=0bc3450e220a4fb29f931ada84b546ce8993e85e
commit 0bc3450e220a4fb29f931ada84b546ce8993e85e
Author: Alan Modra
Date: Fri Dec 13 16:14:57 2019 +1030
Set no file contents PT_LOAD p_of
Verified gzip 1.10-0ubuntu3.1 rebuilt with binutils (2.33-2ubuntu1.1):
root@ee-motd-verify:~# dpkg -l gzip
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name
This bug was fixed in the package gzip - 1.10-0ubuntu4
---
gzip (1.10-0ubuntu4) focal; urgency=high
* Rebuild with binutils 2.33.1-6ubuntu1 (LP: #1843479)
- Build-depend on binutils (>= 2.33.1-6ubuntu1)
* Pass -fstack-protector to mingw build to fix FTBFS
-- Balint Reczey
Hello Hayden, or anyone else affected,
Accepted gzip into eoan-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/gzip/1.10-0ubuntu3.1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubu
All autopkgtests for the newly accepted binutils (2.33-2ubuntu1.1) for eoan
have finished running.
The following regressions have been reported in tests triggered by the package:
glibc/2.30-0ubuntu2 (amd64)
Please visit the excuses page listed below and investigate the failures,
proceeding aft
This bug was fixed in the package binutils - 2.33.1-6ubuntu1
---
binutils (2.33.1-6ubuntu1) focal; urgency=medium
* Merge with Debian; remaining changes:
- Build from upstream sources.
- Don't generate control file entries for any native mips* packages.
* Cherry-pick from
Hello Hayden, or anyone else affected,
Accepted binutils into eoan-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/binutils/2.33-2ubuntu1.1 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://
** Description changed:
+ [Impact]
+
+ * Running gzip on WSL1 results in the following error:
+$ gzip
+-bash: /bin/gzip: cannot execute binary file: Exec format error
+ * The error occurs frequently in package updates and makes gzip inoperable
on WSL1
+ * The problem is caused by PT_L
I've forwarded the binutils patch to the mailing list, too:
https://sourceware.org/ml/binutils/2019-12/msg00104.html .
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
The offset pointing past EOF is observed only in gzip and in several
debug files:
$ grep -v dbg wrong-offsets
gzip_1.10-0ubuntu3_amd64.deb: /bin/gzip
libhugetlbfs-tests_2.21-0ubuntu1_amd64.deb:
/usr/lib/libhugetlbfs/tests/obj64/xB.linkhuge
libhugetlbfs-tests_2.21-0ubuntu1_amd64.deb:
/usr/lib/li
Created attachment 12101
Patch adjusting offset honoring page alignment
In my test with the previous patch p_offset mod page_size indeed did not
match p_vaddr mod page_size. However the tested binary (gzip) worked ok,
but I see that it is not guaranteed to work everywhere.
This newer patch ensure
Well, yes, but patches can be posted to binut...@sourceware.org without
a bugzilla open.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan
(In reply to Alan Modra from comment #3)
> (In reply to Balint Reczey from comment #2)
> > Did I miss something?
>
> You did. By subtracting off_adjust from the value written to p_offset you
> potentially have p_offset mod page_size != p_vaddr mod page_size.
>
> This will fail the glibc test in
** Changed in: binutils
Status: Won't Fix => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec format err
** Changed in: binutils
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec format error on
(In reply to Balint Reczey from comment #2)
> Did I miss something?
You did. By subtracting off_adjust from the value written to p_offset
you potentially have p_offset mod page_size != p_vaddr mod page_size.
This will fail the glibc test in elf/dl-load.c resulting in "ELF load
command address/of
It seemed to me that the changed adjustment later is still valid,
honoring alignment.
Did I miss something?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
It looks to me like your fix ignores the following comment, and will
therefore cause problems with other loaders.
/* We shouldn't need to align the segment on disk since
the segment doesn't need file space, but the gABI
arguably requires the alignmen
Launchpad has imported 1 comments from the remote bug at
https://sourceware.org/bugzilla/show_bug.cgi?id=25237.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://h
** Bug watch added: Sourceware.org Bugzilla #25237
https://sourceware.org/bugzilla/show_bug.cgi?id=25237
** Also affects: binutils via
https://sourceware.org/bugzilla/show_bug.cgi?id=25237
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a
While this is a bug in WSL's ELF loader I located to problem in
binutil's strip and after the fix passed my testing I'll send it
upstream and also SRU it to Eoan to let us rebuild affected packages.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, wh
** Also affects: binutils (Ubuntu)
Importance: Undecided
Status: New
** Changed in: binutils (Ubuntu)
Status: New => In Progress
** Changed in: binutils (Ubuntu)
Assignee: (unassigned) => Balint Reczey (rbalint)
** Changed in: gzip (Ubuntu)
Status: Invalid => In Prog
Thanks Hayden, closing
** Changed in: gzip (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gzip in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan res
This was determined to be a bug in the WSL1 ELF loader and fix is
inbound from the WSL side.
https://github.com/microsoft/WSL/issues/4461#issuecomment-536023805
Please close on Ubuntu.
** Bug watch added: github.com/microsoft/WSL/issues #4461
https://github.com/microsoft/WSL/issues/4461
--
Y
>From the WSL issues page:
> Now, thing is, all of the new binaries (f.e. /bin/ls) have that
.plt.sec section also, and they work just fine. Also compiling a hello.c
with -fcf-protection works. Because of course it does. The only other
new section in there (Disco gzip has 27 sections, Eoan has 29)
I tried comparing the binaries with diffoscope, and one difference which
jumped out at me is the .plt.sec section which is present in the Eoan
binary. This presumably comes from CET (gcc -fcf-protection). There are
other differences, less significant IMO; .plt.sec is a likely candidate
for somethin
** Changed in: gzip (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gzip in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec format error o
** Tags added: wsl
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gzip in Ubuntu.
https://bugs.launchpad.net/bugs/1843479
Title:
gzip in Ubuntu Eoan results in Exec format error on WSL1
Status in gzip package in Ubuntu:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gzip (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gzip in Ubuntu.
https://bugs.launchpad.net/bug
Public bug reported:
Summary:
Running gzip on WSL1 results in the following error:
$ gzip
-bash: /bin/gzip: cannot execute binary file: Exec format error
What I expect to happen:
gzip executes correctly on WSL1.
What happens instead:
gzip fails with an Exec format error.
Notes:
I suspect a
45 matches
Mail list logo