Bug 1871394 - glibc: Fix AVX2 off-by-one error in strncmp (swbz#25933)
Summary: glibc: Fix AVX2 off-by-one error in strncmp (swbz#25933)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Patsy Griffin
QA Contact: Sergey Kolosov
URL:
Whiteboard:
Depends On:
Blocks: 1877115
TreeView+ depends on / blocked
 
Reported: 2020-08-23 02:31 UTC by Carlos O'Donell
Modified: 2023-07-18 14:30 UTC (History)
10 users (show)

Fixed In Version: glibc-2.28-130.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 14:36:34 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 25933 0 P2 RESOLVED Off by one error in __strncmp_avx2 when length=VEC_SIZE*4 and strings are at page boundaries can cause a segfault 2020-12-15 17:11:44 UTC

Description Carlos O'Donell 2020-08-23 02:31:05 UTC
Backport the following patches to improve the Intel performance and implementation:

76d5b2f002a1243ddba06bd646249553353f4322
x86: Update Intel Atom processor family optimization

75870237ff3bb363447b03f4b0af100227570910
Fix avx2 strncmp offset compare condition check [BZ #25933]

Comment 2 Carlos O'Donell 2020-09-08 20:43:44 UTC
I'm reworking this bug to only include the AVX2 fix.

Comment 9 Sergey Kolosov 2020-10-09 13:40:13 UTC
Tested with string/test-strncmp, string/test-strcmp.

Comment 17 errata-xmlrpc 2021-05-18 14:36:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: glibc security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1585


Note You need to log in before you can comment on or make changes to this bug.