bug-binutils
[Top][All Lists]
Advanced

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

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


From: shenxiaogll at 163 dot com
Subject: [Bug ld/29031] New: The fix of CVE-2021-20197 may cause some .so files not linked
Date: Wed, 06 Apr 2022 11:12:45 +0000

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 (0x00007fff1ef73000)
        libachk.so => /usr/lib64/libachk.so (0x00007f0377c98000)
        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 (0x00007f0377ade000)
        libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f0377ad9000)
        ......

Unexpected behavior:

[root@localhost ~]# ldd libcwall_ce.so
        linux-vdso.so.1 (0x00007ffe3add7000)
        libachk.so => /usr/lib64/libachk.so (0x00007fe1f136c000)
        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 (0x00007fe1f1242000)
        libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007fe1f123d000)
        ......

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

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]