Bug 577979 - [abrt] crash in chkrootkit-0.48-14.fc12: Process /usr/lib64/chkrootkit-0.48/chkutmp was killed by signal 6 (SIGABRT)
Summary: [abrt] crash in chkrootkit-0.48-14.fc12: Process /usr/lib64/chkrootkit-0.48/c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: chkrootkit
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:44fbfbc9fc34d631029f427a60c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-29 21:38 UTC by Thom Carlin
Modified: 2010-10-28 22:19 UTC (History)
4 users (show)

Fixed In Version: chkrootkit-0.49-2.fc13
Clone Of:
Environment:
Last Closed: 2010-10-28 06:10:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.64 KB, text/plain)
2010-03-29 21:38 UTC, Thom Carlin
no flags Details
another obvious bug in chkutmp.c (686 bytes, patch)
2010-04-01 20:35 UTC, Michael Schwendt
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.