45 Commits

Author SHA1 Message Date
liningjie
282faaf798 fix CVE-2021-46174
(cherry picked from commit a710d1b1bbc482edc50565891127ba887b8bb824)
2023-08-30 10:35:51 +08:00
liningjie
3871f7cec3 fix CVE-2022-47696
(cherry picked from commit 54dfa620c52cecdca05d2b9286ecd24092006528)
2023-08-29 10:17:33 +08:00
liningjie
098e729555 fix CVE-2022-47011
(cherry picked from commit b3d48ba6a060eb8cc46b19c35b2e832a35e7e205)
2023-08-24 20:38:48 +08:00
liningjie
6b44e54bca fix CVE-2022-47008
(cherry picked from commit ed246ee990c1e8c9fbf453e8909ca4d90f058359)
2023-08-24 10:26:18 +08:00
dingguangya
a8c853ef5f Fix gold linker relocation offset and linker adrp signed shift 2023-04-20 11:15:02 +08:00
h30032433
c2fe0d4e9d Prevents the use of null pointers and sets the pointer to null after being used
(cherry picked from commit 99db5cbd6006312a5d9d2f3f369d31982b25ab2e)
2022-10-25 11:51:25 +08:00
konglidong
135bf75e8c fix the changelog exception macro
(cherry picked from commit f386f4243612d36da11f1585505481cef6ef33c0)
2022-10-20 09:25:44 +08:00
Chenxi Mao
ae561057b0 Fix AArch64 PE section address overlap issue
After 31c209ebf59 delivered, MokManager.efi has below error during shim invoked:
[Bds]Booting suse-secureboot
Loading driver at 0x0002FDBF000 EntryPoint=0x0002FDDD000
2 sections contain entry point
Failed to load image: Unsupported
Failed to start MokManager: Unsupported

The root cause is the AArch64 PE section address overlapped.
Sections
================================================================================
Name      RWX  VirtSize   VirtAddr   RawAddr   RawSize   Entropy  md5
/4        R--  0x16c34    0x5000     0x400     0x17c00     4.84 bdfa950df3517b30bc1ba386b19b322b
.text     R-X  0x5c88c    0x1c000    0x18000   0x5d000     6.32 b52855acbce7b2ea150c30bc4186898d

Reason:
The 0x5000 + 0x17c00 is lager than 0x1c000 which is an unsupported/illegal format.

To fix this issue, there are 3 patches need to be applied from upstream:
d91c67e8730 Re: Add support for AArch64 EFI (efi-*-aarch64)
32384aa396e Re: AArch64: Add support for AArch64 EFI (efi-*-aarch64)
5bb067dba don't over-align file positions of PE executable sections

After above changes, the PE section address are correct.

Sections
================================================================================
Name      RWX  VirtSize   VirtAddr   RawAddr   RawSize   Entropy  md5
/4        R--  0x16c34    0x5000     0x400     0x16e00     4.97 4facea77c0e1db16428ec65d790b13e3
.text     R-X  0x5c88c    0x1c000    0x17200   0x5ca00     6.34 107cbdfa866047ff7a0463c71bbd2745

References: bsn#351
Change-Id: I2e4563b129e30ff55f2146526fc37776dcaf40dc
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
(cherry picked from commit c2c2e8be79dca138196b1cd71d0e1304d3c894f3)
2022-10-09 15:22:00 +08:00
yinyongkang
f1118f9fba fix CVE-2022-38126 2022-09-16 14:36:38 +08:00
dingguangya
f48c91a703 Enable Intel AVX512_FP16 instructions
(cherry picked from commit dc957bc9fadac974c5930b19a52129ff17dd2fae)
2022-09-16 14:34:54 +08:00
Qiang Wei
03064399e6 Fix manpage empty issue.
Signed-off-by: Qiang Wei <qiang.wei@suse.com>
(cherry picked from commit 24a323b807d87ca4831f0f1312fbabac20974367)
2022-09-08 09:47:14 +08:00
maminjie
fe1bdd9442 Fix preserve-dates: cannot set time
Reference: https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=6b02746a0e29b1007efd4feb137e2da3e681fc6

Signed-off-by: maminjie <maminjie8@163.com>
(cherry picked from commit 70f363a2ce639f0ad8396a7fcd39e720d6dbb2a9)
2022-08-09 15:35:06 +08:00
Chenxi Mao
c3b3357446 Add support for the EFI format to the AArch64 target
shim-15.6 commits d6eb9c6c depends on
"objcopy --target efi-app-aarch64" command during aarch64 build.

Backport upstream patch to support it.

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
(cherry picked from commit 038d1fbfdf78558f3d914fdcc8ca8f02768bef45)
2022-06-29 10:58:51 +08:00
zou_lin77
6996f410e9 fix (obs) project build fail 2022-03-15 18:53:19 +08:00
zou_lin77
b7dfcaa599 add binutils-extra 2022-03-12 14:22:10 +08:00
Kai Liu
be2f62e1a4
Fix the "malformed archive" issue when building nodejs
Due to upstream bug #28138, building nodejs with binutuils v2.37 may
fail with below error:

/usr/bin/ld: /home/abuild/rpmbuild/BUILD/node-v12.18.4/out/Release/
obj.target/tools/v8_gypfiles/libv8_initializers.a: error adding symbols:
malformed archive
collect2: error: ld returned 1 exit status

Cherry pick upstream commit 1c611b40e6 to fix this bug.

Reference: https://sourceware.org/bugzilla/show_bug.cgi?id=28138

Signed-off-by: Kai Liu <kai.liu@suse.com>
2022-01-21 17:24:39 +08:00
panxiaohe
33ff95a283 Fix CVE-2021-42574 2022-01-20 11:42:57 +08:00
yang_zhuang_zhuang
b8b20f3537 Fix CVE-2021-45078 2021-12-24 12:01:49 +08:00
wangchen2020
1a985f7e53 Update to 2.37 2021-12-02 17:16:20 +08:00
panxiaohe
f71bb73e57 fix issue about delete symlink when using the strip command 2021-09-14 11:00:03 +08:00
yang_zhuang_zhuang
445282625d remove rpath and runpath of exec files and libraries 2021-09-07 14:45:04 +08:00
yixiangzhike
bed53c7959 Update to 2.36.1 2021-07-05 17:16:49 +08:00
wangchen2020
5b672db2b7 fix CVE-2021-3549 2021-06-19 11:19:46 +08:00
lirui
d8e29d6574 fix CVE-2021-3487 2021-04-23 11:58:08 +08:00
lirui
2ad54fd664 fix CVE-2021-20197 2021-04-16 15:25:09 +08:00
panxiaohe
b5c83c9eba fix CVE-2020-0551 2021-03-23 10:56:53 +08:00
Liquor
88da516ec4 move the test to %check phase 2021-03-22 15:17:36 +08:00
zou_lin77
d50ccec86d fix CVE-2020-16592 2021-01-09 15:17:09 +08:00
liqingqing_1229
8c7b7ac443 add fully support for riscv64. 2020-11-04 14:57:24 +08:00
liqingqing_1229
aeaca025ac riscv64 do not support gold linker, disable it. 2020-11-03 17:36:00 +08:00
liqingqing_1229
3a8da93f58 fix changelog date 2020-10-31 14:51:38 +08:00
zou_lin77
6f6dced405 Fix a potential use-of-an-uninitialised-value in the print_insn_ns32k of fuzz_disassemble 2020-09-18 18:38:12 +08:00
zou_lin77
e75efd0f4e Fix a memory leak in the testcase fuzz_readelf and use-of-uninitialized-value in print_insn_mwtag and use-of-ninitialized-value in _bfd_xcoff_slurp_armap 2020-09-11 21:25:04 +08:00
yixiangzhike
ad05d782e2 Fix static library file conflicts when install both binutils and binutils-devel 2020-08-05 17:19:21 +08:00
yixiangzhike
a857b64843 update to 2.34 2020-07-24 10:50:26 +08:00
linwei9
8c2a223bdd fix use-of-uninitialized-value in print_insn_nds32 2020-07-14 19:56:05 +08:00
wangchen2020
3efc870bc7 fix memory leak in bfd_check_format() 2020-05-15 14:17:36 +08:00
liquor
31c94b3b22 Use disassemble_info.private_data in place of insn_sets 2020-04-02 11:20:42 +08:00
syyhao
b1a781432c update binutils.spec. 2020-01-22 23:28:46 +08:00
openeuler-basic
85758061ad backport patch to fix memory leak and overflow 2020-01-20 22:30:55 +08:00
openeuler-basic
8a262dc580 fix complaining about relocs in the .gnu.build.attribute 2020-01-15 01:01:43 +08:00
openeuler-basic
4f27bad97c add libbfd.so and libopcodes.so for kernel building 2020-01-14 20:58:42 +08:00
openeuler-basic
1db3c00278 update version to 2.33.1 2020-01-11 14:30:46 +08:00
dogsheng
f7b0a957e6 Package init 2019-12-25 15:42:36 +08:00
overweight
5244593cc2 Package init 2019-09-30 10:32:27 -04:00