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.
Bug 1819870 - Unbound memory leak when DNS over TLS forwarding is configured
Summary: Unbound memory leak when DNS over TLS forwarding is configured
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: unbound
Version: ---
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: 8.0
Assignee: Anna Khaitovich
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-01 19:07 UTC by Steve P
Modified: 2020-11-04 02:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:37:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Steve P 2020-04-01 19:07:27 UTC
Description of problem:
When unbound is configured with DNS over TLS for forwarding, unbound will continue to consume memory until all system memory is exhausted.

Version-Release number of selected component (if applicable):
unbound-1.7.3-8.el8.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Configure unbound to use DNS over TLS for forward lookups
    server:
    forward-zone:
    name: "."
    forward-ssl-upstream: yes
    forward-addr: 9.9.9.9@853   

2. Monitor unbound process with top or ps

3. Perform DNS queries on unbound so that unbound queries the forwarder

4. Observe memory consumption continue to grow

Actual results:
Unbound will continue to consume memory until eventually all system memory and swap space is exhausted.

Expected results:
Unbound should not continue to consume memory

Additional info:
This issue was reported to unbound, and appears to have been fixed with a patch upstream.
https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4149
https://github.com/NLnetLabs/unbound/commit/377d5b426a30fc915cf7905786f93c0ec89845b7

Comment 14 errata-xmlrpc 2020-11-04 02:37:42 UTC
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 (unbound 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-2020:4645


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