Bug 1224538
| Summary: | [abrt] rsyslog: SanitizeMsg(): rsyslogd killed by SIGSEGV | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew McCoull <linux> | ||||||||||||||||||||||||
| Component: | rsyslog | Assignee: | Tomas Heinrich <theinric> | ||||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||
| Version: | 22 | CC: | aloner, cks-rhbugzilla, fche, hx, iamdexpl, jlieskov, linux, lkundrak, luciantiller, mah.darade, pvrabec, robertmartin1961, snuzum, theinric, vsapronenko | ||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/af6045c7e337aec5857cc893b2c130668c08c7a0 | ||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:32739bb36058dfd61123a502a9505d0e77fcc277 | ||||||||||||||||||||||||||
| Fixed In Version: | rsyslog-8.8.0-3.fc22 | Doc Type: | Bug Fix | ||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||
| Last Closed: | 2015-07-16 02:33:10 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
Andrew McCoull
2015-05-24 10:10:17 UTC
Created attachment 1029171 [details]
File: backtrace
Created attachment 1029172 [details]
File: cgroup
Created attachment 1029173 [details]
File: core_backtrace
Created attachment 1029174 [details]
File: dso_list
Created attachment 1029175 [details]
File: environ
Created attachment 1029176 [details]
File: limits
Created attachment 1029177 [details]
File: maps
Created attachment 1029178 [details]
File: mountinfo
Created attachment 1029179 [details]
File: namespaces
Created attachment 1029180 [details]
File: open_fds
Created attachment 1029181 [details]
File: proc_pid_status
I haven't seen a crash, but I can observe the issue under valgrind.
Can be reproduced with something like:
python -c "from systemd import journal; journal.send('', SYSLOG_FACILITY='10', PRIORITY='4')"
Will be fixed with the next update.
I get what seems to be the same crash. Under gdb (running with
'run -n -d') I see:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd0055700 (LWP 15787)]
SanitizeMsg (pMsg=0x7fffc829b760) at parser.c:483
483 if((pszMsg[iSrc] < 32) && (pszMsg[iSrc] != '\t' || glbl.GetParserEscapeControlCharacterTab())) {
(gdb) where
#0 SanitizeMsg (pMsg=0x7fffc829b760) at parser.c:483
#1 0x00007ffff63a5030 in enqMsg (json=0x7fffc829a770, tp=0x7fffd0054ca0, iSeverity=6, iFacility=3,
pszTag=0x7fffc8293a80 "vmnet-dhcpd:", msg=0x7fffc82908c0 "") at imjournal.c:193
#2 readjournal () at imjournal.c:415
#3 runInput (pThrd=<optimized out>) at imjournal.c:634
#4 0x0000555555598280 in thrdStarter (arg=0x55555581e6a0) at ../threads.c:212
#5 0x00007ffff79b1555 in start_thread (arg=0x7fffd0055700) at pthread_create.c:333
#6 0x00007ffff68aff3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
My personal view is that this is a high-priority issue as it can
completely cripple syslog logging on Fedora 22 machines (and since
it involves a SEGV based on user-generated input, is it possible
that this is a security issue?).
rsyslog-8.8.0-3.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/rsyslog-8.8.0-3.fc22 Package rsyslog-8.8.0-3.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rsyslog-8.8.0-3.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-11039/rsyslog-8.8.0-3.fc22 then log in and leave karma (feedback). rsyslog-8.8.0-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |