Bug 1744682
Summary: | rsyslog: imfile crash on log rotation | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Stepan Broz <sbroz> | |
Component: | rsyslog | Assignee: | Jiří Vymazal <jvymazal> | |
Status: | CLOSED ERRATA | QA Contact: | Dalibor Pospíšil <dapospis> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 7.6 | CC: | dapospis, fkrska, jvymazal, nhosoi, rmeggins, rmetrich, sradco | |
Target Milestone: | rc | Keywords: | EasyFix, Patch, Reproducer, Triaged, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | rsyslog-8.24.0-46.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1744691 1746497 (view as bug list) | Environment: | ||
Last Closed: | 2020-03-31 19:10:09 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1744691, 1746497 |
Description
Stepan Broz
2019-08-22 16:54:42 UTC
When rsyslogd is run in valgrind, similar logs can be seen on audit rotation: ==20765== Invalid read of size 4 ==20765== at 0x14810E: ratelimitMsg (ratelimit.c:223) ==20765== by 0x1483ED: ratelimitAddMsg (ratelimit.c:261) ==20765== by 0x8B9D003: enqLine (imfile.c:1120) ==20765== by 0x8B9D003: pollFileReal (imfile.c:1317) ==20765== by 0x8B9D003: pollFile (imfile.c:1348) ==20765== by 0x8B9D377: act_obj_destroy (imfile.c:816) ==20765== by 0x8B9D89E: detect_updates (imfile.c:641) ==20765== by 0x8B9E812: poll_tree (imfile.c:719) ==20765== by 0x8B9A68C: fs_node_walk (imfile.c:936) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9DFC0: doPolling (imfile.c:1829) ==20765== by 0x8B9DFC0: runInput (imfile.c:2056) ==20765== Address 0x63d51b0 is 32 bytes inside a block of size 96 free'd ==20765== at 0x4C2AF5D: free (vg_replace_malloc.c:540) ==20765== by 0x8B9D35D: act_obj_destroy (imfile.c:812) ==20765== by 0x8B9D89E: detect_updates (imfile.c:641) ==20765== by 0x8B9E812: poll_tree (imfile.c:719) ==20765== by 0x8B9A68C: fs_node_walk (imfile.c:936) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9DFC0: doPolling (imfile.c:1829) ==20765== by 0x8B9DFC0: runInput (imfile.c:2056) ==20765== by 0x150443: thrdStarter (threads.c:226) ==20765== by 0x5054EA4: start_thread (pthread_create.c:307) ==20765== Block was alloc'd at ==20765== at 0x4C2BF79: calloc (vg_replace_malloc.c:762) ==20765== by 0x1484E9: ratelimitNew (ratelimit.c:291) ==20765== by 0x8B9E306: act_obj_add (imfile.c:586) ==20765== by 0x8B9E9C8: poll_tree (imfile.c:760) ==20765== by 0x8B9A68C: fs_node_walk (imfile.c:936) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9A698: fs_node_walk (imfile.c:937) ==20765== by 0x8B9DFC0: doPolling (imfile.c:1829) ==20765== by 0x8B9DFC0: runInput (imfile.c:2056) ==20765== by 0x150443: thrdStarter (threads.c:226) ==20765== by 0x5054EA4: start_thread (pthread_create.c:307) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1000 |