- Red Hat Enterprise Linux (RHEL) 7.6
- After update from
namedprocess gets killed
/var/log/audit/audit.log we see:
"type=ANOM_ABEND msg=audit(1541744321.396:125560): auid=4294967295 uid=25 gid=25 ses=4294967295 subj=system_u:system_r:named_t:s0 pid=82405 comm="named" reason="memory violation" sig=6"
/var/named/data/named.run we see:
09-Nov-2018 07:50:15.167 general: buffer.c:420: REQUIRE(l <= ((b)->length - (b)->used)) failed, back trace 09-Nov-2018 07:50:15.167 general: #0 0x56497035a090 in ??
bind-9.9.4-61.el7_5.1 helps to workaround the issue - service works without crash.
bind-9.9.4-73.el7_6 shipped with Advisory RHSA-2019:0194 or newer.
Backported feature from
bug #1452091 introduced new regression, where debug message were not always properly checked for remaining space. Therefore some replies could trigger assertion failure in special crafted reply.
With the fix check remaining space before appending was added and retry with larger buffer.
All replies are now correctly logged without assertion failure leading to daemon termination.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.