420 Commits

Author SHA1 Message Date
openeuler-ci-bot
6aa742cd6e
!1001 fix CVE-2025-0395
From: @nicholastao 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2025-02-25 06:14:47 +00:00
nicholastao
02a9369f23 fix CVE-2025-0395 2025-02-25 10:49:40 +08:00
openeuler-ci-bot
d543a50fb9
!991 [sync] PR-990: AArch64: Optimize memcmp
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2025-02-11 06:10:27 +00:00
mayuhang
cc5ee4fb65 AArch64: Optimize memcmp
(cherry picked from commit 5b60a2d9ea8c563be872ed297a2920a1b16165a1)
2025-02-11 08:53:19 +08:00
openeuler-ci-bot
bde84ee873
!962 [sync] PR-961: 同步PR!958 change Inner-Net to Inner-Net-2.0
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-12-12 06:20:13 +00:00
沈仲伟
ceddee2699 Change Inner-Net to Inner-Net-2.0
(cherry picked from commit 76d09e2d038f4ddc431a2e3e6fe09125a15aaa04)
2024-12-12 14:19:31 +08:00
openeuler-ci-bot
c59ac7e81a
!941 [sync] PR-939: sync some patches for elf
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-12-06 06:07:08 +00:00
shixuantong
c0bdb30991 sync some patches for elf
details:
   elf: Handle static PIE with non-zero load address
   elf: Introduce _dl_relocate_object_no_relro
   elf: Switch to main malloc after final ld.so self-relocation

(cherry picked from commit 839e7c9f5f823e8b4e7c22ca5e13d2745399dcd7)
2024-12-06 14:06:30 +08:00
openeuler-ci-bot
74c1f0f4f2
!933 [sync] PR-931: sync some patches
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-11-29 06:15:35 +00:00
shixuantong
0b68e30fad sync some patches:
elf: avoid jumping over a needed declaration
    elf: Move __rtld_malloc_init_stubs call into _dl_start_final

(cherry picked from commit 6b2ec1fa1524750b9d8282baf3e13e739a0d5d80)
2024-11-29 14:12:42 +08:00
openeuler-ci-bot
0180751415
!926 [sync] PR-924: try to enable system thp ability when LD_HUGEPAGE_LIB=2
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-11-22 06:26:12 +00:00
Qingqing Li
a57245150c try to enable system thp ability when LD_HUGEPAGE_LIB=2
(cherry picked from commit a1cf41c3619c3c3fc91cbd13b8a587333b5f1565)
2024-11-22 09:24:36 +08:00
openeuler-ci-bot
ad668600eb
!923 [sync] PR-917: sync some patches
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-11-06 06:39:41 +00:00
jiangheng
7a0ed2c064 sync some patches from upstream
(cherry picked from commit 5384e3d9f4698ea5f8e8de395efd042d36d9c48b)
2024-11-06 14:35:57 +08:00
openeuler-ci-bot
7f761620e7
!905 [sync] PR-903: elf: execve statically linked programs instead of crashing
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-11-05 02:53:38 +00:00
shixuantong
c384f90971 elf: execve statically linked programs instead of crashing
(cherry picked from commit 9194b029057ffad3792c84685dd454e68573c86d)
2024-11-05 09:44:56 +08:00
openeuler-ci-bot
4fb32946fb
!898 [sync] PR-896: fix changelog
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-09-14 09:09:20 +00:00
liqingqing_1229
672aaac3c6 fix changelog
(cherry picked from commit b76f3e5c9134140e135b990f608763c0b3f8c704)
2024-09-14 15:53:12 +08:00
openeuler-ci-bot
9d8558dc66
!895 [sync] PR-893: Use thp for dynamic shared librarys when LD_HUGEPAGE_LIB=2
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-09-14 03:47:10 +00:00
Qingqing Li
7ceae71121 Use thp for dynamic shared librarys when LD_HUGEPAGE_LIB=2
(cherry picked from commit c991d3f17cb134179ebae9bfb86768f78a1c6bd8)
2024-09-14 10:45:57 +08:00
openeuler-ci-bot
652aa8c6ce
!880 [sync] PR-878: enable share library use huge page for aarch architecture
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-08-21 02:35:23 +00:00
shixuantong
5e5f573b1a enable share library use huge page for aarch architecture
(cherry picked from commit 2291cb16841ea15ab298859a3175b6b65f65ea48)
2024-08-21 09:05:52 +08:00
openeuler-ci-bot
962036a8d5
!865 [sync] PR-863: mktime: improve heuristic for ca-1986 Indiana DST
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-08-05 02:19:39 +00:00
Funda Wang
8a14de68c1 mktime: improve heuristic for ca-1986 Indiana DST
(cherry picked from commit c5118dc63cf252294a54f0e436a13d63f0761e13)
2024-08-05 08:53:35 +08:00
openeuler-ci-bot
c9dfcffd6c
!857 [sync] PR-854: resolv:Do not wait for no-existing second DNS response after error
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-08-02 06:17:29 +00:00
chengyechun
5ce4c7dd4f fix bug
(cherry picked from commit 3dc8eecaf21299c21430989673e14dcc2b39ed81)
2024-07-31 09:23:29 +08:00
openeuler-ci-bot
a4e3dc03f5
!855 [sync] PR-852: stdlib: fix grouping verification with multi-byte thousands
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-07-31 01:21:48 +00:00
zhuofeng
a409103964 stdlib: fix grouping verification with multi-byte thousands
(cherry picked from commit a706d9af7a5b164690dd93828791872ed699254b)
2024-07-31 09:19:59 +08:00
openeuler-ci-bot
cb8794b853
!853 [sync] PR-848: [PATCH] Check the validity of len before mmap
From: @openeuler-sync-bot 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2024-07-22 02:42:08 +00:00
taoyuxiang
22e8e12bc8 [PATCH] Check the validity of len before mmap
Two cases:
(1)If condition 'c->mapend + extra_len < c->mapstart + relro_len' is True, the result of "len" (size_t len = (c->mapend + extra_len) - (c->mapstart + relro_len)) will be a negative value. 'len' is of type size_t, so it overflows. later __mmap will fail, because 'len - mod' is a very large value at this point.

(2)If the data segment is small, "len" may be equal to 0. In this case, __mmap also fails.

In both cases, the mapping fails, the mapping is falled back, and hugepage feature of dynamic library becomes invalid. Case (1) is an exception, and the fallback is the expected. Case (2) should not be fallled back in its entirety. In this case, the code segment may continue to use huge page, and the data segment uses 4KB page.

(cherry picked from commit 05ed122de513e7cd1dd41d13453fac9b931e73ae)
2024-07-22 09:08:09 +08:00
openeuler-ci-bot
03d346d3da
!845 [sync] PR-843: elf: Properly align PT_LOAD segments
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-06-26 02:34:50 +00:00
chenhaixiang
fb0263a87a elf: Properly align PT_LOAD segments
Signed-off-by: chenhaixiang <chenhaixiang3@huawei.com>
(cherry picked from commit 9e979d281b7638988401d97edfc71a3fdaeeb64b)
2024-06-25 16:23:26 +08:00
openeuler-ci-bot
597164478f
!842 [sync] PR-840: 修复ppc64le架构编译问题
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-06-18 06:07:34 +00:00
hefq343
9c71106d0f fix compile error for ppc64le
Signed-off-by: hefq343 <fengqing.he@shingroup.cn>
(cherry picked from commit 116659c1e33b5e5e68cb57b5c7e502314155d0cd)
2024-06-18 11:25:09 +08:00
openeuler-ci-bot
b4f6bb69fa
!833 [sync] PR-829: elf:sync some patches:
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-05-11 03:05:01 +00:00
shixuantong
995edf4011 elf:sync some patches:
elf: Add TLS modid reuse test for bug 29039
    elf: Fix TLS modid reuse generation assignment
    elf: Check objname before calling fatal_error
    elf: Fix _dl_debug_vdprintf to work before self-relocation
    elf: ldconfig should skip temporary files created by package managers
    ldconfig: Fixes for skipping temporary files.

(cherry picked from commit 54a5b49802feca14ddc99bb0ee816ef0e248c38c)
2024-05-11 08:59:29 +08:00
openeuler-ci-bot
2d76efa64d
!822 [sync] PR-819: sync upstream patch
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-05-07 13:36:36 +00:00
chengyechun
ce85cedaf5 sync some patches from upstream
(cherry picked from commit 2f5eacafd0fa15456697f66351c59afa1a02e1cc)
2024-05-07 20:04:09 +08:00
openeuler-ci-bot
3e6ef6b32c
!808 fix CVE-2024-33599 CVE-2024-33600 CVE-2024-33601 CVE-2024-33602
From: @chengyechun 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2024-04-30 02:10:36 +00:00
chengyechun
434a61b6c9 fix CVE-2024-33599 CVE-2024-33600 CVE-2024-33601 CVE-2024-33602 2024-04-29 17:09:03 +08:00
openeuler-ci-bot
1a36306f9f
!801 [sync] PR-797: Add LoongArch missing relocations
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-04-25 06:10:00 +00:00
Xing Li
389b5b3da0 LoongArch: Add missing relcation types in elf.h
(cherry picked from commit 9b33d5e1078751c7940997de1c21a0532e8b0c0f)
2024-04-25 09:06:31 +08:00
openeuler-ci-bot
56f7fed229
!796 [sync] PR-789: iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961)
From: @openeuler-sync-bot 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2024-04-23 08:27:03 +00:00
Yang Yanchao
c58dda0e48 iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961)
Signed-off-by: Chen Jun <chenjun102@huawei.com>
(cherry picked from commit c6e9c2f7d9f8bd6457b406af4afd75b9b6ba8c9a)
2024-04-23 16:25:39 +08:00
openeuler-ci-bot
911c576279
!772 [sync] PR-768: malloc:ImproveMAP_HUGETLBwithglibc.malloc.hugetlb=2
From: @openeuler-sync-bot 
Reviewed-by: @yang_yanchao 
Signed-off-by: @yang_yanchao
2024-01-15 02:43:48 +00:00
liqingqing_1229
39da5105f1 malloc:ImproveMAP_HUGETLBwithglibc.malloc.hugetlb=2
(cherry picked from commit df8d97af7ff7a6b7abb8ac46f48f581f621362cc)
2024-01-13 15:12:58 +08:00
openeuler-ci-bot
c44d692564
!765 [sync] PR-761: Fix invalid pointer dereference in wcpcpy_chk and wcscpy_chk
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2024-01-08 01:03:22 +00:00
shixuantong
463285abd7 Fix invalid pointer dereference in wcpcpy_chk and wcscpy_chk
(cherry picked from commit eb2474daa03e009409d5070d7d822cab56da5169)
2023-12-29 16:32:58 +08:00
openeuler-ci-bot
b258c766f9
!760 [sync] PR-756: elf: Handle non-directory name in search path (BZ 31035)
From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2023-12-14 11:07:19 +00:00
shixuantong
efb9eb20a0 elf: Handle non-directory name in search path (BZ 31035)
(cherry picked from commit 18ffacbc1aafc4d06ddcae595f373dc234a3609b)
2023-12-14 16:40:56 +08:00