https://sourceware.org/bugzilla/show_bug.cgi?id=23752
--- Comment #2 from Mark Wielaard ---
Proposed patch: https://sourceware.org/ml/elfutils-devel/2018-q4/msg00022.html
--
You are receiving this mail because:
You are on the CC list for the bug.
||2018-10-14
CC||mark at klomp dot org
Ever confirmed|0 |1
--- Comment #4 from Mark Wielaard ---
Yeah, divide by zero is bad. Proposed fix:
https://sourceware.org/ml/elfutils-devel/2018-q4/msg00024.html
||mark at klomp dot org
Resolution|--- |DUPLICATE
--- Comment #2 from Mark Wielaard ---
Same as bug #23752.
*** This bug has been marked as a duplicate of bug 23752 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=23752
--- Comment #3 from Mark Wielaard ---
*** Bug 23753 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
||2018-10-14
CC||mark at klomp dot org
Ever confirmed|0 |1
--- Comment #3 from Mark Wielaard ---
localtime could return NULL when the ar_date was bogus. Proposed workaround:
https://sourceware.org/ml
||2018-10-16
CC||mark at klomp dot org
Summary|Negative-size-param problem |Negative-size-param in call
|in dwfl_getmodules.c in |to in memchr from readelf
|libdw, please use the POC
https://sourceware.org/bugzilla/show_bug.cgi?id=23673
--- Comment #20 from Mark Wielaard ---
(In reply to Michael Hudson-Doyle from comment #19)
> I see a similar looking failure on arm64 on Ubuntu 18.10:
>
> https://launchpadlibrarian.net/391377304/buildlog_ubuntu-cosmic-arm64.
> elfutils_0.1
https://sourceware.org/bugzilla/show_bug.cgi?id=23673
--- Comment #22 from Mark Wielaard ---
(In reply to Michael Hudson-Doyle from comment #21)
> (In reply to Mark Wielaard from comment #20)
> > (In reply to Michael Hudson-Doyle from comment #19)
> > > I see a similar looking failure on arm64 on
||2018-10-18
CC||mark at klomp dot org
Ever confirmed|0 |1
--- Comment #3 from Mark Wielaard ---
Thanks for the report. Proposed fix posted:
https://sourceware.org/ml/elfutils-devel/2018-q4/msg00055.html
||2018-10-18
CC||mark at klomp dot org
Summary|Invalid Address Deference |eu-size: Bad handling of ar
|problem in function elf_end |files inside are files
|in libelf the latest
https://sourceware.org/bugzilla/show_bug.cgi?id=23752
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23755
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23754
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23782
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23786
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23787
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23787
--- Comment #4 from Mark Wielaard ---
For reference this was assigned CVE-2018-18520.
Note that the description of the CVE is misleading.
The bug is in eu-size, not in libelf elf_end.
--
You are receiving this mail because:
You are on the C
https://sourceware.org/bugzilla/show_bug.cgi?id=23786
--- Comment #5 from Mark Wielaard ---
For reference this was assigned CVE-2018-18521.
Note that this bug was not in a generic library, just in the code shared by the
eu-ar and eu-ranlib binaries.
--
You are receiving this mail because:
You
https://sourceware.org/bugzilla/show_bug.cgi?id=23752
--- Comment #6 from Mark Wielaard ---
For reference this was assigned CVE-2018-18310.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=23787
Mark Wielaard changed:
What|Removed |Added
Component|libelf |tools
--
You are receiving this mail
https://sourceware.org/bugzilla/show_bug.cgi?id=23786
Mark Wielaard changed:
What|Removed |Added
Component|general |tools
--
You are receiving this mail
https://sourceware.org/bugzilla/show_bug.cgi?id=23884
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=23884
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://sourceware.org/bugzilla/show_bug.cgi?id=23884
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23673
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23901
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=23901
--- Comment #3 from Mark Wielaard ---
Odd, the trap on exit really should remove those.
But explicitly cleaning the test files seems to work:
diff --git a/tests/backtrace-subr.sh b/tests/backtrace-subr.sh
index ff42c6f..53c719d 100644
--- a/t
https://sourceware.org/bugzilla/show_bug.cgi?id=23902
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=23903
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=23901
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23911
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=23911
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
URL|
https://sourceware.org/bugzilla/show_bug.cgi?id=23902
--- Comment #3 from Mark Wielaard ---
(In reply to Kurt Roeckx from comment #2)
> At least on mips I'm seeing an .eh_frame and .eh_frame_hdr section. It also
> has some mips specific sections.
Assuming they have "normal" types then that part
https://sourceware.org/bugzilla/show_bug.cgi?id=23903
--- Comment #4 from Mark Wielaard ---
Having an msync that doesn't write out changes to a file is bad, but you might
get away with it in most cases (the changes should be written to disk when
munmap is called).
You do need a mremap function,
https://sourceware.org/bugzilla/show_bug.cgi?id=23914
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=23903
--- Comment #6 from Mark Wielaard ---
It is fine for elfutils to have GNU/Linux specific code since that is the
primary target. But if other platforms provide needed functionality in a
different way then patches are obviously more than welcome
https://sourceware.org/bugzilla/show_bug.cgi?id=23902
--- Comment #5 from Mark Wielaard ---
(In reply to Kurt Roeckx from comment #4)
> The varlocs test is calling dwarf_errmsg (-1)
OK, that will show the last libdw error set on the current thread.
In which case we might actually have a candidat
https://sourceware.org/bugzilla/show_bug.cgi?id=23916
--- Comment #2 from Mark Wielaard ---
Thanks. I am fairly sure this is a bug in binutils/bfd.
First gas creates a compressed section with the wrong alignment.
Because a compressed section has a Chdr it needs to be aligned
to either 4 or 8 dep
y: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: devurandom at gmx dot net, elfutils-devel at sourceware dot
org,
mark at klomp dot org, slyfox at inbox dot ru,
unassign
https://sourceware.org/bugzilla/show_bug.cgi?id=23916
Mark Wielaard changed:
What|Removed |Added
Blocks||23919
Referenced Bugs:
https://sour
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
--- Comment #1 from Mark Wielaard ---
Created attachment 11413
--> https://sourceware.org/bugzilla/attachment.cgi?id=11413&action=edit
Proposed patch to handle compressed section alignment correctly
The attached git format-patch resolved th
https://sourceware.org/bugzilla/show_bug.cgi?id=23902
Mark Wielaard changed:
What|Removed |Added
Summary|varlocs |varlocs
|dwarf_cfi_
Severity: normal
Priority: P2
Component: tools
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
elflint currently only checks that a section
Priority: P2
Component: tools
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
elflint currently only checks the alignment of section zero is zero.
It should
https://sourceware.org/bugzilla/show_bug.cgi?id=23916
--- Comment #4 from Mark Wielaard ---
(In reply to Sergei Trofimovich from comment #3)
> On a related note: should eu-elflint complain on originally compiled
> rapl.o.back (from tarball)? That would ease detecting non-conformant
> binutils ver
https://sourceware.org/bugzilla/show_bug.cgi?id=23916
--- Comment #5 from Mark Wielaard ---
I filed a binutils bug with patch.
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
If you are able to test patch that on your setup to see if it resolves the
issue with objtool that would be really
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
--- Comment #4 from Mark Wielaard ---
(In reply to Nick Clifton from comment #3)
> Thanks very much for the bug report, and especially for a patch to fix it!
> I have applied the patch, so I hope that this problem is now resolved.
Thanks!
https://sourceware.org/bugzilla/show_bug.cgi?id=23902
--- Comment #8 from Mark Wielaard ---
(In reply to Mark Wielaard from comment #3)
> (In reply to Kurt Roeckx from comment #2)
> > PS: All arches except amd64 have "Unwinding not supported for this
> > architecture" in run-backtrace-data.sh, wh
https://sourceware.org/bugzilla/show_bug.cgi?id=23914
--- Comment #3 from Mark Wielaard ---
(In reply to Sergei Trofimovich from comment #2)
> Gentoo allows users to control CC and CFLAGS and thus the space for getting
> a warning is wide. People frequently use things like -Wcast-qual or other
>
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
--- Comment #10 from Mark Wielaard ---
(In reply to cvs-com...@gcc.gnu.org from comment #6)
> The master branch has been updated by H.J. Lu :
>
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
> h=131a5a648d314cd15811158150573cb40e
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
--- Comment #11 from Mark Wielaard ---
(In reply to H.J. Lu from comment #9)
> This change triggered
>
> gcctestdir/collect-ld: warning: gdb_index_test_cdebug_gabi.o: section
> .debug_str contains incorrectly aligned strings; the alignment of
https://sourceware.org/bugzilla/show_bug.cgi?id=23916
Mark Wielaard changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
Bug 23919 depends on bug 23916, which changed state.
Bug 23916 Summary: [bisected] elifutils-0.175 broke kernel's objtool
(elifutils-0.173 works)
https://sourceware.org/bugzilla/show_bug.cgi?id=23916
What|Removed
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
--- Comment #3 from Mark Wielaard ---
Comment on attachment 11451
--> https://sourceware.org/bugzilla/attachment.cgi?id=11451
test-suite.log
It looks like the file we want to put into the ar has a numeric uid that cannot
be represented in t
https://sourceware.org/bugzilla/show_bug.cgi?id=23977
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
||2018-12-25
CC||mark at klomp dot org
Ever confirmed|0 |1
--- Comment #1 from Mark Wielaard ---
(In reply to Andreas Kromke from comment #0)
> The API function dwarf_siblingof() internally ca
https://sourceware.org/bugzilla/show_bug.cgi?id=23982
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=23981
--- Comment #4 from Mark Wielaard ---
(In reply to Andreas Kromke from comment #3)
> I changed the source file accordingly, rebuilt the library and rerun the
> tests. The result is, unfortunately, the same, i.e. there is no improvement.
>
> A
https://sourceware.org/bugzilla/show_bug.cgi?id=23982
--- Comment #3 from Mark Wielaard ---
As with your other bug without at least some example DWARF files this will be
somewhat hard to support. I think I know what would be needed, but without
actual testcases it will be hard to get right.
--
||2019-01-13
CC||mark at klomp dot org
Ever confirmed|0 |1
--- Comment #1 from Mark Wielaard ---
This is weird. I cannot replicate with a standard build and gcc (GCC) 9.0.0
20190112 (experimental).
Aha, with
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
--- Comment #3 from Mark Wielaard ---
Sorry, I have no idea what is going on.
It looks like a normal arm ELF file:
$ eu-readelf -h nm.o
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class:
||mark at klomp dot org
Resolution|--- |DUPLICATE
--- Comment #2 from Mark Wielaard ---
This is really just the same as
https://sourceware.org/bugzilla/show_bug.cgi?id=24075 we should check the
pr_datasz.
*** This bug has been marked as a
https://sourceware.org/bugzilla/show_bug.cgi?id=24075
--- Comment #2 from Mark Wielaard ---
*** Bug 24081 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=24085
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #2
https://sourceware.org/bugzilla/show_bug.cgi?id=24086
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
||mark at klomp dot org
Resolution|--- |FIXED
Summary|Program Crash due to Wild |Program Crash due to buffer
|pointer Deference in|over-read in
|ebl_object_note function in
||mark at klomp dot org
Resolution|--- |FIXED
--- Comment #1 from Mark Wielaard ---
(In reply to wcventure from comment #0)
> Negative-size-param when calling memcpy function in elf_cvt_note function in
> libelf the latest elfutils-0.17
||2019-01-16
CC||mark at klomp dot org
Component|libelf |tools
Summary|A Heap-buffer-overflow |NT_PLATFORM core file note
|problem was discovered in |should be a zero
https://sourceware.org/bugzilla/show_bug.cgi?id=24089
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||2019-01-20
CC||mark at klomp dot org
Component|backends|libdw
Ever confirmed|0 |1
--- Comment #3 from Mark Wielaard ---
Nice find. Replicated using valgrind on the
||2019-01-20
CC||mark at klomp dot org
Component|libelf |libdw
Ever confirmed|0 |1
--- Comment #2 from Mark Wielaard ---
Thanks. Replicated under valgrind.
This is similar
https://sourceware.org/bugzilla/show_bug.cgi?id=24103
Mark Wielaard changed:
What|Removed |Added
Summary|Invalid address Deference |dwfl_segment_report_module
https://sourceware.org/bugzilla/show_bug.cgi?id=24103
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24102
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
||mark at klomp dot org
Resolution|--- |FIXED
--- Comment #3 from Mark Wielaard ---
Yeah, we should check the unknown parameters are actually there.
Luckily other checks make sure we don't read more than one byte past the end of
the data.
c
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
--- Comment #5 from Mark Wielaard ---
(In reply to selva from comment #4)
> Created attachment 11548 [details]
> Uclibc full testsuite log
>
> Attaching the full test suite log.
BTW. It is easier to just attache the tests/test-suite.log.
But
https://sourceware.org/bugzilla/show_bug.cgi?id=24075
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24102
--- Comment #5 from Mark Wielaard ---
Apparently this bug got assigned CVE-2019-7149
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=24103
--- Comment #4 from Mark Wielaard ---
Apparently this bug got assigned CVE-2019-7150
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=24116
--- Comment #6 from Mark Wielaard ---
(In reply to wcventure from comment #5)
> Created attachment 11581 [details]
> Regression
Running with:
valgrind -q src/readelf --debug-dump=line ./RegressionPOC
will produce:
==57142== Invalid read of
||mark at klomp dot org
Resolution|--- |FIXED
--- Comment #1 from Mark Wielaard ---
Replicated under valgrind:
$ valgrind -q eu-nm -C ./POC.unit
src/nm: ./POC.unit: entry size in section 2 `.debug_info' is not what we expect
==15242== In
https://sourceware.org/bugzilla/show_bug.cgi?id=24085
--- Comment #3 from Mark Wielaard ---
CVE-2019-7148
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
--- Comment #8 from Mark Wielaard ---
(In reply to selva from comment #6)
> (In reply to Mark Wielaard from comment #5)
> > (In reply to selva from comment #4)
> > > Created attachment 11548 [details]
> > > Uclibc full testsuite log
> > >
> >
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
--- Comment #9 from Mark Wielaard ---
(In reply to selva from comment #7)
> Created attachment 11582 [details]
> config.log
>
> Attached the config.log.
> $ ./configure --target=armv7l-unkown-linux-uclibcgnueabi
> --host=armv7l-unkown-linu
https://sourceware.org/bugzilla/show_bug.cgi?id=24084
--- Comment #2 from Mark Wielaard ---
CVE-2019-7664
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=24089
--- Comment #4 from Mark Wielaard ---
CVE-2019-7665
Note the CVE description is somewhat misleading, this is not a bug in libelf.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=24085
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
||2019-02-14
CC||mark at klomp dot org
Ever confirmed|0 |1
--- Comment #1 from Mark Wielaard ---
I have replicated this, but don't fully understand it yet.
But this is kind of a weird issue. If yo
https://sourceware.org/bugzilla/show_bug.cgi?id=23902
Mark Wielaard changed:
What|Removed |Added
Summary|varlocs |MIPS varlocs
|dwarf
https://sourceware.org/bugzilla/show_bug.cgi?id=24158
Mark Wielaard changed:
What|Removed |Added
See Also||https://bugzilla.redhat.com
||2019-02-18
Assignee|unassigned at sourceware dot org |mark at klomp dot org
Ever confirmed|0 |1
--- Comment #12 from Mark Wielaard ---
Created attachment 11613
--> https://sourceware.org/bugzilla/attachment.cgi?id=11613&acti
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
--- Comment #13 from Mark Wielaard ---
(In reply to selva from comment #11)
> (In reply to Mark Wielaard from comment #9)
> > Don't disable symbol versioning, without it binary compatibility is broken.
>
> As per the following commit disabled
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
Mark Wielaard changed:
What|Removed |Added
Attachment #11613|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=24000
Mark Wielaard changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
Originally reported in bugzilla.redhat.com.
The mr511.de libelf provided ELF_F_LAYOUT_OVERLAP:
/*
* Allow sections to overlap when
||mark at klomp dot org
Resolution|--- |FIXED
--- Comment #2 from Mark Wielaard ---
This code is only triggered when stripping into a new file with -o. With that
it can be replicated under valgrind:
==1008== Command: src/strip -o POC1.stripped
https://sourceware.org/bugzilla/show_bug.cgi?id=24385
Mark Wielaard changed:
What|Removed |Added
Summary|Regression lead to Invalid |Check symbols only refer to
||mark at klomp dot org
Resolution|--- |FIXED
Summary|Invalid address Deference |dwfl_segment_report_module
|in elf32_xlatetom function |doesn't check whether the
|in libelf/elf32_xlate
201 - 300 of 775 matches
Mail list logo