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 1528418 - glibc: Merge error in XSAVE dynamic linker trampoline patch
Summary: glibc: Merge error in XSAVE dynamic linker trampoline patch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: glibc
Version: 7.5
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Carlos O'Donell
QA Contact: Sergey Kolosov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-21 19:44 UTC by Florian Weimer
Modified: 2018-04-10 14:04 UTC (History)
8 users (show)

Fixed In Version: glibc-2.17-221.el7
Doc Type: Bug Fix
Doc Text:
Previously, the dynamic loader in the GNU C library (glibc) contained an optimization which avoided saving and restoring vector registers for 64-bit Intel and AMD architectures. Consequently, applications compiled for these architectures and using unsupported vector registers for passing function arguments, not adhering to the published x86-64 psABI specification, could fail and produce unexpected results. This update changes the dynamic loader to use the XSAVE/XSAVEC context switch CPU instructions, preserving more CPU state, including all vector registers. As a result, applications using vector registers for argument passing, in ways which are not supported by the x86-64 psABI specification, work again.
Clone Of:
Environment:
Last Closed: 2018-04-10 14:04:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1499012 0 unspecified CLOSED glibc: Restore compatibility with compilers which use vector registers for argument passing against x86-64 ABI 2021-03-11 15:55:45 UTC
Red Hat Bugzilla 1504969 1 high CLOSED glibc: Use XSAVE/XSAVEC in dynamic loader lazy resolution to support more calling conventions. 2023-09-15 00:04:40 UTC
Red Hat Bugzilla 1513070 1 None None None 2021-03-11 16:17:06 UTC
Red Hat Bugzilla 1527587 0 high CLOSED On Dell Optiplex 960, Dell Precision T5600 Systems Applying RHBA-2017:3296 Prevents Smart Card Logins 2021-12-10 15:30:34 UTC
Red Hat Product Errata RHSA-2018:0805 0 None None None 2018-04-10 14:04:52 UTC
Sourceware 22641 0 None None None 2019-05-15 10:43:15 UTC

Internal Links: 1499012 1504969 1513070 1527587

Description Florian Weimer 2017-12-21 19:44:31 UTC
As explained in bug 1527587 comment 8, the code which selects the XSAVE trampoline is nested incorrectly and is only active the CPU supports AVX.

We are investigating if the use of FXSAVE instead of XSAVE causes any issues on CPUs supported by Red Hat Enterprise Linux.  But we should fix the oversight independently of that.

Comment 7 errata-xmlrpc 2018-04-10 14:04:32 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, 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-2018:0805


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