Bug 2094540

Summary: glibc: Incorrect results of POWER9-optimized strncpy [rhel-8.6.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: glibcAssignee: DJ Delorie <dj>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.7CC: ashankar, codonell, dj, fweimer, glibc-bugzilla, mcoufal, mnewsome, pfrankli, sipoyare, skolosov, tulioqm
Target Milestone: rcKeywords: Bugfix, Triaged, ZStream
Target Release: ---   
Hardware: ppc64le   
OS: All   
Whiteboard:
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.
Story Points: ---
Clone Of: 2091553 Environment:
Last Closed: 2022-06-16 11:10:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2091553    
Bug Blocks:    

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