summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch
diff options
context:
space:
mode:
authorSundeep KOKKONDA <sundeep.kokkonda@gmail.com>2022-11-10 08:39:13 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-20 08:19:10 +0000
commit9d340b5ed228ebee661199b2126898dd01ee8a37 (patch)
treefa6f199d0696bc2466069992ecddf03f0f795f1f /meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch
parentd86149ba65fd98394cf0d756de600e87f0bdb043 (diff)
downloadpoky-9d340b5ed228ebee661199b2126898dd01ee8a37.tar.gz
glibc : stable 2.31 branch updates.
Below commits on glibc-2.31 stable branch are updated. d4b7559457 x86-64: Require BMI2 for avx2 functions [BZ #29611] b8bb48a18d x86-64: Require BMI2 for strchr-avx2.S [BZ #29611] c8f2a3e803 Add test for bug 29530 e6ae5b25cd Fix memmove call in vfprintf-internal.c:group_number 1dbe841a67 Remove most vfprintf width/precision-dependent allocations (bug 14231, bug 26211). 5a802723db stdio: Add tests for printf multibyte convertion leak [BZ#25691] ae7748e67f stdio: Remove memory leak from multibyte convertion [BZ#25691] 174d0b61c7 Linux: Require properly configured /dev/pts for PTYs 0a167374fd Linux: Detect user namespace support in io/tst-getcwd-smallbuff 4ad1659d8c getcwd: Set errno to ERANGE for size == 1 (CVE-2021-3999) 3319cea99e support: Add helpers to create paths longer than PATH_MAX f733e291bb support: Fix xclone build failures on ia64 and hppa 43757c70ee support: Add xclone 29d3aeb0e8 Add xchdir to libsupport. 2d7720f316 support: Add create_temp_file_in_dir 183709983d NEWS: Add a bug fix entry for BZ #28896 d385079bd5 x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c 7df3ad6560 x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896] fc133fcf49 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896] 775c05b28c string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755] c6b346ec55 x86-64: Test strlen and wcslen with 0 in the RSI register [BZ #28064] 0675185923 x86: Remove wcsnlen-sse4_1 from wcslen ifunc-impl-list [BZ #28064] 5db3239baf x86: Black list more Intel CPUs for TSX [BZ #27398] 5b99f172b8 x86: Check RTM_ALWAYS_ABORT for RTM [BZ #28033] 70d293a158 NEWS: Add a bug fix entry for BZ #27974 a2be2c0f5d String: Add overflow tests for strnlen, memchr, and strncat [BZ #27974] 489006c3c5 x86: Optimize strlen-evex.S 937f2c783a x86: Fix overflow bug in wcsnlen-sse4_1 and wcsnlen-avx2 [BZ #27974] 0058c73d11 x86-64: Add wcslen optimize for sse4.1 665d0252f1 x86-64: Move strlen.S to multiarch/strlen-vec.S 82ff13e2cc x86-64: Fix an unknown vector operation in memchr-evex.S 539b593a1d x86: Optimize memchr-evex.S 7b37ae60c6 x86: Optimize strlen-avx2.S 0381c1c10d x86: Fix overflow bug with wmemchr-sse2 and wmemchr-avx2 [BZ #27974] 10368cb76b x86: Optimize memchr-avx2.S 66ca40582e test-strnlen.c: Check that strnlen won't go beyond the maximum length 927bcaf892 test-strnlen.c: Initialize wchar_t string with wmemset [BZ #27655] 0d4159c36c x86-64: Require BMI2 for __strlen_evex and __strnlen_evex c0cbb9345e NEWS: Add a bug fix entry for BZ #27457 e81b975fcc x86-64: Fix ifdef indentation in strlen-evex.S aa4e48e73c x86-64: Use ZMM16-ZMM31 in AVX512 memmove family functions ac911d3b57 x86-64: Use ZMM16-ZMM31 in AVX512 memset family functions 20d37de533 x86: Add string/memory function tests in RTM region fbaa99ed41 x86-64: Add AVX optimized string/memory functions for RTM 096e14f632 x86-64: Add memcmp family functions with 256-bit EVEX f00fad4e4c x86-64: Add memset family functions with 256-bit EVEX cf239ddd2e x86-64: Add memmove family functions with 256-bit EVEX 7257ba7bf2 x86-64: Add strcpy family functions with 256-bit EVEX db9071c0f6 x86-64: Add ifunc-avx2.h functions with 256-bit EVEX 2d612b2c5f x86: Set Prefer_No_VZEROUPPER and add Prefer_AVX2_STRCMP 5b13651085 NEWS: Add a bug fix entry for BZ #28755 5ee8a436ab x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755] (From OE-Core rev: 1d047a1f19ea57f919180273589cdf7fb4dacaa3) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch26
1 files changed, 11 insertions, 15 deletions
diff --git a/meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch b/meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch
index cef0ce54ed..7561e87121 100644
--- a/meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch
+++ b/meta/recipes-core/glibc/glibc/CVE-2021-33574_1.patch
@@ -11,14 +11,10 @@ CVE: CVE-2021-33574 patch#1
11Signed-off-by: Armin Kuster <akuster@mvista.com> 11Signed-off-by: Armin Kuster <akuster@mvista.com>
12 12
13--- 13---
14 NEWS | 4 ++++ 14diff --git a/NEWS b/NEWS
15 sysdeps/unix/sysv/linux/mq_notify.c | 15 ++++++++++----- 15index 8a20d3c4e3..be489243ac 100644
16 2 files changed, 14 insertions(+), 5 deletions(-) 16--- a/NEWS
17 17+++ b/NEWS
18Index: git/NEWS
19===================================================================
20--- git.orig/NEWS
21+++ git/NEWS
22@@ -7,6 +7,10 @@ using `glibc' in the "product" field. 18@@ -7,6 +7,10 @@ using `glibc' in the "product" field.
23 19
24 Version 2.31.1 20 Version 2.31.1
@@ -28,12 +24,12 @@ Index: git/NEWS
28+ attribute with a non-default affinity mask. 24+ attribute with a non-default affinity mask.
29+ 25+
30 The following bugs are resolved with this release: 26 The following bugs are resolved with this release:
27 [14231] stdio-common tests memory requirements
31 [19519] iconv(1) with -c option hangs on illegal multi-byte sequences 28 [19519] iconv(1) with -c option hangs on illegal multi-byte sequences
32 (CVE-2016-10228) 29diff --git a/sysdeps/unix/sysv/linux/mq_notify.c b/sysdeps/unix/sysv/linux/mq_notify.c
33Index: git/sysdeps/unix/sysv/linux/mq_notify.c 30index f288bac477..dd47f0b777 100644
34=================================================================== 31--- a/sysdeps/unix/sysv/linux/mq_notify.c
35--- git.orig/sysdeps/unix/sysv/linux/mq_notify.c 32+++ b/sysdeps/unix/sysv/linux/mq_notify.c
36+++ git/sysdeps/unix/sysv/linux/mq_notify.c
37@@ -135,8 +135,11 @@ helper_thread (void *arg) 33@@ -135,8 +135,11 @@ helper_thread (void *arg)
38 (void) __pthread_barrier_wait (&notify_barrier); 34 (void) __pthread_barrier_wait (&notify_barrier);
39 } 35 }
@@ -48,7 +44,7 @@ Index: git/sysdeps/unix/sysv/linux/mq_notify.c
48 } 44 }
49 return NULL; 45 return NULL;
50 } 46 }
51@@ -257,8 +260,7 @@ mq_notify (mqd_t mqdes, const struct sig 47@@ -257,8 +260,7 @@ mq_notify (mqd_t mqdes, const struct sigevent *notification)
52 if (data.attr == NULL) 48 if (data.attr == NULL)
53 return -1; 49 return -1;
54 50
@@ -58,7 +54,7 @@ Index: git/sysdeps/unix/sysv/linux/mq_notify.c
58 } 54 }
59 55
60 /* Construct the new request. */ 56 /* Construct the new request. */
61@@ -272,7 +274,10 @@ mq_notify (mqd_t mqdes, const struct sig 57@@ -272,7 +274,10 @@ mq_notify (mqd_t mqdes, const struct sigevent *notification)
62 58
63 /* If it failed, free the allocated memory. */ 59 /* If it failed, free the allocated memory. */
64 if (__glibc_unlikely (retval != 0)) 60 if (__glibc_unlikely (retval != 0))