Bug 2094540 - glibc: Incorrect results of POWER9-optimized strncpy [rhel-8.6.0.z]
Summary: glibc: Incorrect results of POWER9-optimized strncpy [rhel-8.6.0.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.7
Hardware: ppc64le
OS: All
unspecified
medium
Target Milestone: rc
: ---
Assignee: DJ Delorie
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On: 2091553
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-07 20:29 UTC by RHEL Program Management Team
Modified: 2023-07-18 14:30 UTC (History)
11 users (show)

Fixed In Version: glibc-2.28-189.4.el8_6
Doc Type: Bug Fix
Doc Text:
Cause: The POWER9 variant of the strncpy function uses the wrong register for writing NUL padding. Consequence: Uninitialized register content is written to the output buffer. Fix: The correct register is now used as the source for the NUL bytes. Result: The tail end of the output buffer is now correctly overwritten with NUL bytes.
Clone Of: 2091553
Environment:
Last Closed: 2022-06-16 11:10:01 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-124584 0 None None None 2022-06-07 20:37:12 UTC
Sourceware 29197 0 P2 RESOLVED __strncpy_power9() uses uninitialised register vs18 value for filling after \0 2022-06-10 13:52:04 UTC

Comment 8 errata-xmlrpc 2022-06-16 11:10:01 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 (glibc bug fix 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/RHBA-2022:5081


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