[Bug ld/29031] New: The fix of CVE-2021-20197 may cause some .so files not linked

2022-04-06 Thread shenxiaogll at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29031

Bug ID: 29031
   Summary: The fix of CVE-2021-20197 may cause some .so files not
linked
   Product: binutils
   Version: 2.34
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: shenxiaogll at 163 dot com
  Target Milestone: ---

Hi. We have backported some patches from binutils-2.37 to binutils-2.34 to fix
CVE-2021-20197. The patches are as follows:

https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=c180f095f32ca62f138da9bc7fb96cac0365fb5d
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=51a25252814f8b6f88ff5999a091e47ca1dbdeb9
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=3685de750e6a091663a0abe42528cad29e960e35
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=cca8873dd5a6015d5557ea44bc1ea9c252435a29
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=c42c71a1527dd70417d3966dce7ba9edbcf4bdb4
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=365f5fb6d0f0da83817431a275e99e6f6babbe04
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=1a1c3b4cc17687091cff5a368bd6f13742bcfdf8
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=014cc7f849e8209623fc99264814bce7b3b6faf2
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=95b91a043aeaeb546d2fea556d84a2de1e917770

After backporting, there is a low probability that some .so files are not
linked when compiling concurrently.

Expected behavior:

[root@localhost ~]# ldd libcwall_ce.so
ldd: warning: you do not have execution perssion for `./libcwall_ce.so'
linux-vdso.so.1 (0x7fff1ef73000)
libachk.so => /usr/lib64/libachk.so (0x7f0377c98000)
libdefault.so => not found
liblpcc.so => not found
libcsragent.c => not found
libcsrcwall.so => not found
libsdra.so => not found
libcwalladapt.so => notfound
libccellprotein.so => not found
libc.so.6 => /usr/lib64/libc.so.6 (0x7f0377ade000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x7f0377ad9000)
..

Unexpected behavior:

[root@localhost ~]# ldd libcwall_ce.so
linux-vdso.so.1 (0x7ffe3add7000)
libachk.so => /usr/lib64/libachk.so (0x7fe1f136c000)
libdefault.so => not found
liblpcc.so => not found
libcsragent.c => not found
libcsrcwall.so => not found
libsdra.so => not found
libcwalladapt.so => not found
libc.so.6 => /usr/lib64/libc.so.6 (0x7fe1f1242000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x7fe1f123d000)
..

"libccellprotein.so => not found" was lost.

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


[Bug binutils/28981] objdump: objdump: Warning: Unrecognized form: 0x22

2022-04-06 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28981

--- Comment #1 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=19c26da69d68d5d863f37c06ad73ab6292d02ffa

commit 19c26da69d68d5d863f37c06ad73ab6292d02ffa
Author: Nick Clifton 
Date:   Wed Apr 6 14:43:37 2022 +0100

Add code to display the contents of .debug_loclists sections which contain
offset entry tables.

PR 28981
* dwarf.c (fetch_indexed_value): Rename to fecth_indexed_addr and
return the address, rather than a string.
(fetch_indexed_value): New function - returns a value indexed by a
DW_FORM_loclistx or DW_FORM_rnglistx form.
(read_and_display_attr_value): Add support for DW_FORM_loclistx
and DW_FORM_rnglistx.
(process_debug_info): Load the loclists and rnglists sections.
(display_loclists_list): Add support for DW_LLE_base_addressx,
DW_LLE_startx_endx, DW_LLE_startx_length and
DW_LLE_default_location.
(display_offset_entry_loclists): New function.  Displays a
.debug_loclists section that contains offset entry tables.
(display_debug_loc): Call the new function.
(display_debug_rnglists_list): Add support for
DW_RLE_base_addressx, DW_RLE_startx_endx and DW_RLE_startx_length.
(display_debug_ranges): Display the contents of the section's
header.
* dwarf.h (struct debug_info): Add loclists_base field.
* testsuite/binutils-all/dw5.W: Update expected output.
* testsuite/binutils-all/x86-64/pr26808.dump: Likewise.

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


Issue 43375 in oss-fuzz: binutils:fuzz_nm: Out-of-memory in fuzz_nm

2022-04-06 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit -deadline-approaching Deadline-Exceeded

Comment #3 on issue 43375 by sheriffbot: binutils:fuzz_nm: Out-of-memory in 
fuzz_nm
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43375#c3

This bug has exceeded our disclosure deadline. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.