Bug 577979

Summary: [abrt] crash in chkrootkit-0.48-14.fc12: Process /usr/lib64/chkrootkit-0.48/chkutmp was killed by signal 6 (SIGABRT)
Product: [Fedora] Fedora Reporter: Thom Carlin <bugzilla.acct>
Component: chkrootkitAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: ADent123, bugs.michael, gwync, manuel.wolfshant
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:44fbfbc9fc34d631029f427a60cb7f75630633f3
Fixed In Version: chkrootkit-0.49-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-28 06:10:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
another obvious bug in chkutmp.c none

Description Thom Carlin 2010-03-29 21:38:51 UTC
abrt 1.0.8 detected a crash.

architecture: x86_64
Attached file: backtrace
cmdline: ./chkutmp
component: chkrootkit
executable: /usr/lib64/chkrootkit-0.48/chkutmp
kernel: 2.6.32.9-70.fc12.x86_64
package: chkrootkit-0.48-14.fc12
rating: 4
reason: Process /usr/lib64/chkrootkit-0.48/chkutmp was killed by signal 6 (SIGABRT)
release: Fedora release 12 (Constantine)

Comment 1 Thom Carlin 2010-03-29 21:38:53 UTC
Created attachment 403368 [details]
File: backtrace

Comment 2 Michael Schwendt 2010-04-01 20:35:34 UTC
Created attachment 404093 [details]
another obvious bug in chkutmp.c

_Only if_ this is reproducible, can you redirect the output of

  ps ax -o "tty,pid,ruser,args"

to a file and attach it?

[...]

The fetchps() function may need further proof-reading to avoid stack-smashing. Upstream has merged only some of the fixes in 0.49, without adding the missing fixes in a later release.  UT_LINESIZE and UT_PIDSIZE have the same value, 12, but still the copy loop is wrong (patch attached). Unrelated to the crash, the copy loop for ps_args may need 0-termination.

Comment 3 Michael Schwendt 2010-10-19 12:22:38 UTC
Since there hasn't been any response here, the larger patch for this is attached to bug 626067.

Comment 4 Fedora Update System 2010-10-19 13:38:14 UTC
chkrootkit-0.49-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/chkrootkit-0.49-2.fc13

Comment 5 Fedora Update System 2010-10-19 13:38:25 UTC
chkrootkit-0.49-2.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/chkrootkit-0.49-2.fc12

Comment 6 Fedora Update System 2010-10-19 13:38:35 UTC
chkrootkit-0.49-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/chkrootkit-0.49-2.fc14

Comment 7 Fedora Update System 2010-10-20 03:09:23 UTC
chkrootkit-0.49-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update chkrootkit'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/chkrootkit-0.49-2.fc14

Comment 8 Fedora Update System 2010-10-28 06:10:19 UTC
chkrootkit-0.49-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-10-28 22:18:59 UTC
chkrootkit-0.49-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-10-28 22:19:20 UTC
chkrootkit-0.49-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.