Bug 2141379

Summary: [rngd-8.8] rngd fails during start with *** stack smashing detected ***
Product: Red Hat Enterprise Linux 8 Reporter: smitterl
Component: rng-toolsAssignee: Vladis Dronov <vdronov>
Status: CLOSED ERRATA QA Contact: Vilém Maršík <vmarsik>
Severity: high Docs Contact:
Priority: high    
Version: 8.8CC: chwen, core-kernel-mgr, dzheng, fdvorak, smitterl, vdronov, vmarsik
Target Milestone: rcKeywords: Regression, TestBlocker, Triaged
Target Release: 8.8Flags: pm-rhel: mirror+
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: rng-tools-6.15-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2140043 Environment:
Last Closed: 2023-05-16 09:03:32 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: 2140043    
Bug Blocks: 2144443    

Comment 17 Vilém Maršík 2023-01-26 00:28:18 UTC
Reproduced & verified on RHEL-8.8.0-20230125.0: 

# dnf install rng-tools
(...)
Installed:
  rng-tools-6.15-2.el8.s390x
Complete!
# rngd -f
Initializing available sources
[hwrng ]: Initialized
[jitter]: JITTER timeout set to 5 sec
*** stack smashing detected ***: <unknown> terminated
Aborted (core dumped)
[root@ibm-z-501 ~]# rpm -U rng-tools-6.15-3.el8.s390x.rpm
[root@ibm-z-501 ~]# rngd -f
Initializing available sources
[hwrng ]: Initialized
[jitter]: JITTER timeout set to 5 sec
[jitter]: Initializing AES buffer
[jitter]: Enabling JITTER rng support
[jitter]: Initialized

Comment 19 errata-xmlrpc 2023-05-16 09:03: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 (rng-tools 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/RHBA-2023:2959