RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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: 2024-03-25 16:20 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.