A memory leak was discovered in the backport of fixes for CVE-2018-16864 in Red Hat Enterprise Linux (since version v219-62.2) and CentOS. Function dispatch_message_real() in journald-server.c does not free the memory allocated by set_iovec_field_free() to store the `_CMDLINE=` entry. A local attacker may use this flaw to make systemd-journald crash.
However systemd-journald crash is automatically restarted by systemd by default.
This issue affects version 219-62 of systemd as shipped with Red Hat Enterprise Linux 7.
Is there any timeline on when this issue will be fixed in RHEL 7.6? This bug is causing journald (and rsyslog) to eat lots of RAM, resulting in systems swapping where they used to run for months without memory issues.
Please open a case with Support for these kind of questions, they will be more than happy to help you.
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2019:0201 https://access.redhat.com/errata/RHSA-2019:0201