Back to bug 2089247

Who When What Removed Added
Red Hat Bugzilla 2022-05-23 09:45:14 UTC Pool ID sst_pt_gcc_glibc_rhel_8
Red Hat One Jira (issues.redhat.com) 2022-05-23 09:50:11 UTC CC vpakolu
Link ID Red Hat Issue Tracker RHELPLAN-122761
Martin Poole 2022-05-23 09:59:04 UTC CC mpoole
Florian Weimer 2022-05-23 10:04:24 UTC Link ID Sourceware 15813
Florian Weimer 2022-05-23 11:03:37 UTC Summary tempnam() regregresion in glibc affecting RedHat 8.4+. glibc: tempnam() regregresion in glibc affecting RedHat 8.4+.
Link ID Sourceware 26648
Florian Weimer 2022-05-23 17:21:41 UTC Doc Type If docs needed, set a value Bug Fix
Status NEW ASSIGNED
Keywords Patch, Regression, Triaged
Doc Text Cause: The tempname function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths.

Consequence: When invoked repeatedly in quick succession, tempnam does not produce the full set of possible file names.

Fix: The new implementation uses getrandom to increase the randomness of generated file names.

Result: More distinct file names are generated by the tempnam function.
Assignee glibc-bugzilla fweimer
Martin Cermak 2022-05-23 17:30:06 UTC QA Contact qe-baseos-tools-bugs skolosov
Florian Weimer 2022-05-23 18:44:09 UTC Flags needinfo?(pbhosale)
Florian Weimer 2022-05-24 05:29:02 UTC Keywords Bugfix
Martin Coufal 2022-05-25 05:39:15 UTC QA Contact skolosov mcoufal
CC mcoufal, skolosov
Florian Weimer 2022-05-25 09:04:18 UTC Fixed In Version glibc-2.28-204.el8
Status ASSIGNED MODIFIED
Kyle Walker 2022-06-03 18:44:14 UTC Flags needinfo?(pbhosale)
Priority unspecified urgent
CC kwalker
RHEL Program Management Team 2022-06-03 18:45:49 UTC Blocks 2093457
RHEL Program Management Team 2022-06-03 18:45:52 UTC Keywords ZStream
errata-xmlrpc 2022-06-06 11:33:49 UTC Status MODIFIED ON_QA
Florian Weimer 2022-06-08 13:20:44 UTC Summary glibc: tempnam() regregresion in glibc affecting RedHat 8.4+. glibc: tempnam() regression in glibc [rhel-8.7.0]
Martin Coufal 2022-06-09 10:30:58 UTC Status ON_QA VERIFIED
Florian Weimer 2022-06-13 14:39:03 UTC Doc Text Cause: The tempname function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths.

Consequence: When invoked repeatedly in quick succession, tempnam does not produce the full set of possible file names.

Fix: The new implementation uses getrandom to increase the randomness of generated file names.

Result: More distinct file names are generated by the tempnam function.
Cause: The tempnam function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths.

Consequence: When invoked repeatedly in quick succession, tempnam does not produce the full set of possible file names.

Fix: The new implementation uses getrandom to increase the randomness of generated file names.

Result: More distinct file names are generated by the tempnam function.
Dominik 2022-10-06 16:07:38 UTC Flags needinfo?(fweimer)
Doc Text Cause: The tempnam function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths.

Consequence: When invoked repeatedly in quick succession, tempnam does not produce the full set of possible file names.

Fix: The new implementation uses getrandom to increase the randomness of generated file names.

Result: More distinct file names are generated by the tempnam function.
.The new implementation uses getrandom to increase the randomness of generated file names

Previously, the `tempnam` function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths. As a result, `tempnam` function wasn’t producing the full set of possible file names when invoked repeatedly in quick succession. This bug has been fixed by a new implementation that uses `getrandom` to increase the randomness of the generated file names. Now the `tempnam` function generates more distinct file names.
Docs Contact dklon
CC dklon
Florian Weimer 2022-10-10 05:52:44 UTC Flags needinfo?(fweimer)
Dominik 2022-10-21 10:50:58 UTC Doc Text .The new implementation uses getrandom to increase the randomness of generated file names

Previously, the `tempnam` function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths. As a result, `tempnam` function wasn’t producing the full set of possible file names when invoked repeatedly in quick succession. This bug has been fixed by a new implementation that uses `getrandom` to increase the randomness of the generated file names. Now the `tempnam` function generates more distinct file names.
.The `tempnam` function now uses getrandom to increase the randomness of generated file names

Previously, the `tempnam` function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths. As a result, the `tempnam` function wasn’t producing the full set of possible file names when invoked repeatedly in quick succession. This bug has been fixed by a new implementation that uses `getrandom` to increase the randomness of the generated file names. Now, the `tempnam` function generates more distinct file names.
Dominik 2022-11-03 14:32:01 UTC Flags needinfo?(fweimer)
Florian Weimer 2022-11-03 15:10:19 UTC Flags needinfo?(fweimer) needinfo?(dklon)
Dominik 2022-11-03 15:25:53 UTC Flags needinfo?(dklon)
Dominik 2022-11-03 15:42:09 UTC Doc Text .The `tempnam` function now uses getrandom to increase the randomness of generated file names

Previously, the `tempnam` function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths. As a result, the `tempnam` function wasn’t producing the full set of possible file names when invoked repeatedly in quick succession. This bug has been fixed by a new implementation that uses `getrandom` to increase the randomness of the generated file names. Now, the `tempnam` function generates more distinct file names.
.The `tempnam` function now uses `getrandom` to increase the randomness of generated file names

Previously, the `tempnam` function in Red Hat Enterprise Linux 8.4 and later used time-derived randomness for choosing paths. As a result, the `tempnam` function was not producing the full set of possible file names when invoked repeatedly in quick succession. This bug has been fixed by a new implementation that uses the `getrandom` function to increase the randomness of the generated file names. As a result, the `tempnam` function now generates more distinct file names.
errata-xmlrpc 2022-11-08 00:18:46 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2022-11-08 10:43:12 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2022-11-08 10:43:12 UTC
errata-xmlrpc 2022-11-08 10:43:40 UTC Link ID Red Hat Product Errata RHBA-2022:7684
Mark O'Brien 2023-07-18 14:30:35 UTC Pool ID sst_pt_glibc_rhel_8 sst_pt_libraries_rhel_8

Back to bug 2089247