- Issued:
- 2013-01-07
- Updated:
- 2013-01-07
RHBA-2013:0010 - Bug Fix Advisory
Synopsis
strace bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated strace packages that fix multiple bugs are now available for Red Hat
Enterprise Linux 5.
Description
The strace packages provide a utility to intercept and record the system calls
called and received by a running process. The strace utility can print a record
of each system call, its arguments and its return value. The strace utility is
useful for diagnosing, debugging and instructional purposes.
This update fixes the following bugs:
- Prior to this update, the strace utility incorrectly decoded system calls when
tracing a 32 bit process on a 64 bit machine, because strace on IBM System z
platforms is not multi-arch aware. This update provides an additional strace
executable (strace32) which can be used to trace 32 bit processes on 64 bit
machines. (BZ#495935)
- Prior to this update, the strace utility incorrectly exited a system call loop
when the child process was interrupted. As a consequence, strace reported that
the last system call exited with a ERESTART_RESTARTBLOCK condition. This update
modifies the loop exit so that strace now correctly reports that the interrupted
system call is unfinished. (BZ#509152)
- Prior to this update, the kernel could, under certain circumstances, fail to
send a SIGTRAP signal to the strace utility. As a consequence, the strace
utility could become suspended if the target process blocked the debugging
signal SIGTRAP. With this update, strace now checks for this situation and
re-synchronizes with system call notifications when necessary. (BZ#512692)
- Prior to this update, traces were not detached but forcefully terminated when
the SIGTERM signal terminated the strace process while the trace executed a fork
or a cloned system call. This update modifies the underlying code to cleanly
detach traces when a strace process is terminated. (BZ#552964)
- Prior to this update, the strace utility incorrectly printed 64 bit arguments
for certain system calls such as "fadvise". This update modifies the underlying
code so that the correct "fadvise" arguments are printed as expected.
(BZ#571437)
- Prior to this update, a misinterpreted status caused strace to leave the
traced process in a stopped state when detaching from a process. This update
modifies the underlying code to leave the process in the correct state after
detaching. (BZ#580211)
- Prior to this update, the strace utility extracted arguments for the
"semtimedop" system call from the wrong location on the IBM System z platforms.
As a consequence, arguments for the "semtimedop" system call were incorrectly
displayed. This update modifies strace to extract the arguments from the correct
memory location so that the arguments for the "semtimedop" system call are
displayed as expected. (BZ#759566)
- Prior to this update, the strace utility did not correctly track switches
between 32-bit and 64-bit process execution domains, so called "personalities",
when tracing multiple processes with multiple "personalities". As a consequence,
strace logged the wrong system call names and arguments for the traced
processes. This update corrects personality tracking in strace so that it now
prints system call names and arguments as expected. (BZ#768203)
All users of strace are advised to upgrade to these updated packages, which fix
these bugs.
Solution
Before applying this update, make sure all previously-released errata relevant
to your system have been applied.
This update is available via the Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 495935 - s390x strace problems with 31-bit executables
- BZ - 571437 - strace incorrectly shows the arguments of fadvise() in 32 bit compat programs
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
strace-4.5.18-18.el5.src.rpm | SHA-256: 33312d2222419b97752787998e71cfc7dcd55090d05f285e6332c7bb1fc2afd3 |
x86_64 | |
strace-4.5.18-18.el5.x86_64.rpm | SHA-256: d3d9ec8104c52c34f555484f450b970e476379f0b400519679f467e60482a744 |
strace-debuginfo-4.5.18-18.el5.x86_64.rpm | SHA-256: dac049de4db80a691b55d34ad47f39db5e64fcc8cbb8466517b1865351b15d51 |
ia64 | |
strace-4.5.18-18.el5.ia64.rpm | SHA-256: 4b05efdedfda408db7dc983139adef6bfccfdc7c2e523c8a088fc1fbe3599159 |
strace-debuginfo-4.5.18-18.el5.ia64.rpm | SHA-256: e956b995884c835bd71b82d63833f72f99f17bb8674f6cb96d0d55fac7c60bdc |
i386 | |
strace-4.5.18-18.el5.i386.rpm | SHA-256: ccaef060fbc2abaa310547c865736688cdbebcbae86840764be154f99adf82e8 |
strace-debuginfo-4.5.18-18.el5.i386.rpm | SHA-256: 055ca3b00f58d3f1353244e031df5a67f73ce0476a5d6bc018e4a4e93c81666e |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
strace-4.5.18-18.el5.src.rpm | SHA-256: 33312d2222419b97752787998e71cfc7dcd55090d05f285e6332c7bb1fc2afd3 |
x86_64 | |
strace-4.5.18-18.el5.x86_64.rpm | SHA-256: d3d9ec8104c52c34f555484f450b970e476379f0b400519679f467e60482a744 |
strace-debuginfo-4.5.18-18.el5.x86_64.rpm | SHA-256: dac049de4db80a691b55d34ad47f39db5e64fcc8cbb8466517b1865351b15d51 |
i386 | |
strace-4.5.18-18.el5.i386.rpm | SHA-256: ccaef060fbc2abaa310547c865736688cdbebcbae86840764be154f99adf82e8 |
strace-debuginfo-4.5.18-18.el5.i386.rpm | SHA-256: 055ca3b00f58d3f1353244e031df5a67f73ce0476a5d6bc018e4a4e93c81666e |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
strace-4.5.18-18.el5.src.rpm | SHA-256: 33312d2222419b97752787998e71cfc7dcd55090d05f285e6332c7bb1fc2afd3 |
x86_64 | |
strace-4.5.18-18.el5.x86_64.rpm | SHA-256: d3d9ec8104c52c34f555484f450b970e476379f0b400519679f467e60482a744 |
strace-debuginfo-4.5.18-18.el5.x86_64.rpm | SHA-256: dac049de4db80a691b55d34ad47f39db5e64fcc8cbb8466517b1865351b15d51 |
i386 | |
strace-4.5.18-18.el5.i386.rpm | SHA-256: ccaef060fbc2abaa310547c865736688cdbebcbae86840764be154f99adf82e8 |
strace-debuginfo-4.5.18-18.el5.i386.rpm | SHA-256: 055ca3b00f58d3f1353244e031df5a67f73ce0476a5d6bc018e4a4e93c81666e |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
strace-4.5.18-18.el5.src.rpm | SHA-256: 33312d2222419b97752787998e71cfc7dcd55090d05f285e6332c7bb1fc2afd3 |
s390x | |
strace-4.5.18-18.el5.s390x.rpm | SHA-256: dbd667f262fee58d02f1d73d23e3f9d4614d26ba0b87b3fc4fc69c10b2a21244 |
strace-debuginfo-4.5.18-18.el5.s390x.rpm | SHA-256: b507ba4ae94b394a84f7c88aa07109ebfb45f685aa5fa3457c4ba2489cab2662 |
strace64-4.5.18-18.el5.s390x.rpm | SHA-256: 2015c12520b275d184ad2efd25ea50411e9bec17bbd3710bc8b5d81e6957a5b0 |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
strace-4.5.18-18.el5.src.rpm | SHA-256: 33312d2222419b97752787998e71cfc7dcd55090d05f285e6332c7bb1fc2afd3 |
ppc | |
strace-4.5.18-18.el5.ppc.rpm | SHA-256: a6b41f962fc5dec168319c5cc3ec5535c04c4e0c6d7cf24b4e6de344012c13af |
strace-debuginfo-4.5.18-18.el5.ppc.rpm | SHA-256: 58e84c6346e27dac03967f7a18d2ed8c9b1c07ed6b4440cdca6ea8323bf2839a |
strace-debuginfo-4.5.18-18.el5.ppc64.rpm | SHA-256: 15e6aade266d2d7436c71e2772e8568b00567e71bf58153f3d1c10ab1862de9c |
strace32-4.5.18-18.el5.ppc.rpm | SHA-256: 6fbaa2652d93c9fb32459a48bd79c662da0fa07d7fa2e6b4ad446724ed1043eb |
strace64-4.5.18-18.el5.ppc64.rpm | SHA-256: b2bc3a86b43d7636e1e4c5095b62f771833bc454aafd1288d1e08cd457a28be9 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
strace-4.5.18-18.el5.src.rpm | SHA-256: 33312d2222419b97752787998e71cfc7dcd55090d05f285e6332c7bb1fc2afd3 |
x86_64 | |
strace-4.5.18-18.el5.x86_64.rpm | SHA-256: d3d9ec8104c52c34f555484f450b970e476379f0b400519679f467e60482a744 |
strace-debuginfo-4.5.18-18.el5.x86_64.rpm | SHA-256: dac049de4db80a691b55d34ad47f39db5e64fcc8cbb8466517b1865351b15d51 |
i386 | |
strace-4.5.18-18.el5.i386.rpm | SHA-256: ccaef060fbc2abaa310547c865736688cdbebcbae86840764be154f99adf82e8 |
strace-debuginfo-4.5.18-18.el5.i386.rpm | SHA-256: 055ca3b00f58d3f1353244e031df5a67f73ce0476a5d6bc018e4a4e93c81666e |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.