Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Conntrackd in RHEL9 contains commit ff843bcb3b905 ("conntrackd: config: Do not strdup() tokens") which is problematic and fixed upstream by:
commit c12fa8df76752b0a011430f069677b52e4dad164
Author: Ash Hughes <sehguh.hsa>
Date: Thu May 30 21:49:56 2019 +0100
conntrackd: Use strdup in lexer
Use strdup in the config file lexer to copy strings to yylval.string. This
should solve the "[ERROR] unknown layer 3 protocol" problem here:
https://www.spinics.net/lists/netfilter/msg58628.html.
Signed-off-by: Ash Hughes <sehguh.hsa>
Signed-off-by: Pablo Neira Ayuso <pablo>
This one in turn is missing, it needs to be backported.
Above patch conflicts due to context changes. With the following one, it
applies cleanly. Since it is a related fix, backport it too:
commit ce06fb6069065c3d68475356c0728a5fa0a4ab74
Author: Pablo Neira Ayuso <pablo>
Date: Wed Mar 20 08:19:18 2019 +0100
conntrackd: use strncpy() to unix path
Make sure we don't go over the buffer boundary.
Reported-by: Rijnard van Tonder <rvt>
Signed-off-by: Pablo Neira Ayuso <pablo>
Oh, sorry. I missed a follow-up from upstream:
commit b47e00e8a579519b163cb4faed017463bf64c40d
Author: Michal Kubecek <mkubecek>
Date: Mon Jul 15 08:46:23 2019 +0200
conntrackd: use correct max unix path length
When copying value of "Path" option for unix socket, target buffer size is
UNIX_MAX_PATH so that we must not copy more bytes than that. Also make sure
that the path is null terminated and bail out if user provided path is too
long rather than silently truncate it.
Fixes: ce06fb606906 ("conntrackd: use strncpy() to unix path")
Signed-off-by: Michal Kubecek <mkubecek>
Signed-off-by: Pablo Neira Ayuso <pablo>
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 (conntrack-tools bug fix and enhancement update), 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/RHBA-2022:7980
Conntrackd in RHEL9 contains commit ff843bcb3b905 ("conntrackd: config: Do not strdup() tokens") which is problematic and fixed upstream by: commit c12fa8df76752b0a011430f069677b52e4dad164 Author: Ash Hughes <sehguh.hsa> Date: Thu May 30 21:49:56 2019 +0100 conntrackd: Use strdup in lexer Use strdup in the config file lexer to copy strings to yylval.string. This should solve the "[ERROR] unknown layer 3 protocol" problem here: https://www.spinics.net/lists/netfilter/msg58628.html. Signed-off-by: Ash Hughes <sehguh.hsa> Signed-off-by: Pablo Neira Ayuso <pablo> This one in turn is missing, it needs to be backported.