View Issue Details

IDProjectCategoryView StatusLast Update
0015528CentOS-7bindpublic2018-12-07 03:52
Status newResolutionopen 
PlatformCentOSOS7OS Version7.6.1810
Product Version 
Target VersionFixed in Version 
Summary0015528: BIND 9.9.4 keeps crashing with `buffer.c:420: REQUIRE(l <= ((b)->length - (b)->used))`
DescriptionSo i'm trying to understand why but bind just randomly keeps crashing on me.
There is no good pattern to it. It crashed with some websites. (

Version: BIND 9.9.4-RedHat-9.9.4-72.el7 (Extended Support Version)

:: gdb coredump
(gdb) bt
#0 0x00007fd50f896207 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007fd50f8978f8 in __GI_abort () at abort.c:90
#2 0x0000557cdb7b925e in assertion_failed (file=<optimized out>, line=<optimized out>, type=<optimized out>,
    cond=<optimized out>) at ./main.c:222
#3 0x00007fd510d1731a in isc_assertion_failed (file=file@entry=0x7fd510d54a48 "buffer.c", line=line@entry=420,
    type=type@entry=isc_assertiontype_require, cond=cond@entry=0x7fd510d54cb0 "l <= ((b)->length - (b)->used)")
    at assertions.c:57
#4 0x00007fd510d19b10 in isc__buffer_putstr (b=b@entry=0x7fd50cf68070, source=source@entry=0x7fd5124ecafe ";") at buffer.c:420
#5 0x00007fd5123d25e7 in rdataset_totext (rdataset=rdataset@entry=0x7fd50860d320, owner_name=owner_name@entry=0x7fd50860c150,
    ctx=ctx@entry=0x7fd50cf67c10, omit_final_dot=omit_final_dot@entry=isc_boolean_false, target=target@entry=0x7fd50cf68070)
    at masterdump.c:454
#6 0x00007fd5123d4133 in dns_master_rdatasettotext (owner_name=0x7fd50860c150, rdataset=rdataset@entry=0x7fd50860d320,
    style=style@entry=0x7fd5124ed120 <dns_master_style_comment>, target=target@entry=0x7fd50cf68070) at masterdump.c:708
#7 0x00007fd5123dced8 in dns_message_sectiontotext (msg=msg@entry=0x7fd5086081d8, section=section@entry=2,
    style=style@entry=0x7fd5124ed120 <dns_master_style_comment>, flags=flags@entry=0, target=target@entry=0x7fd50cf68070)
    at message.c:3296
#8 0x00007fd5123ddbea in dns_message_totext (msg=msg@entry=0x7fd5086081d8,
    style=style@entry=0x7fd5124ed120 <dns_master_style_comment>, flags=flags@entry=0, target=target@entry=0x7fd50cf68070)
    at message.c:3520
#9 0x00007fd5123ddf6f in dns_message_logfmtpacket (message=message@entry=0x7fd5086081d8,
    description=description@entry=0x7fd5124fa453 "received packet:\n", category=0x7fd512735bf0 <dns_categories+80>,
    module=0x7fd512735b60 <dns_modules+480>, style=0x7fd5124ed120 <dns_master_style_comment>, level=level@entry=10,
    mctx=0x557cdc9031d0) at message.c:3615
#10 0x00007fd5124689c6 in resquery_response (task=0x7fd508ff2190, event=<optimized out>) at resolver.c:6977
#11 0x00007fd510d3a276 in dispatch (manager=0x7fd512b19010) at task.c:1116
#12 run (uap=0x7fd512b19010) at task.c:1286
#13 0x00007fd5108eadd5 in start_thread (arg=0x7fd50cf69700) at pthread_create.c:307
#14 0x00007fd50f95dead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

:: general.log
04-Dec-2018 20:06:34.873 buffer.c:420: REQUIRE(l <= ((b)->length - (b)->used)) failed, back trace
04-Dec-2018 20:06:34.873 #0 0x558401376090 in ??
04-Dec-2018 20:06:34.873 #1 0x7fd86798f31a in ??
04-Dec-2018 20:06:34.873 #2 0x7fd867991b10 in ??
04-Dec-2018 20:06:34.873 #3 0x7fd86904a5e7 in ??
04-Dec-2018 20:06:34.873 #4 0x7fd86904c133 in ??
04-Dec-2018 20:06:34.873 #5 0x7fd869054ed8 in ??
04-Dec-2018 20:06:34.873 #6 0x7fd869055bea in ??
04-Dec-2018 20:06:34.873 #7 0x7fd869055f6f in ??
04-Dec-2018 20:06:34.873 #8 0x7fd8690e09c6 in ??
04-Dec-2018 20:06:34.873 #9 0x7fd8679b2276 in ??
04-Dec-2018 20:06:34.873 #10 0x7fd867562dd5 in ??
04-Dec-2018 20:06:34.873 #11 0x7fd8665d5ead in ??
04-Dec-2018 20:06:34.873 exiting (due to assertion failure)
Steps To ReproduceI have no clue, updated from BIND 9.9.4-61.el7_5.1.x86_64 and kept crashing.

Tags7.6, bind, crash, security




2018-12-04 20:15

reporter   ~0033212

JFTR RedHat folks know and they are working on the fix already.


2018-12-06 11:14

reporter   ~0033247

I'm also experiencing this crash after upgrade from 7.5 to 7.6, it's really a shame that this kind of problems make it to a stable release.


@mhagen94: do you have a link to the upstream bug issue?


2018-12-07 03:52

reporter   ~0033257

Same problem here. This is....really bad. I had to figure out how to get systemd to restart the darn thing when it died, and set a cron job to delete the core files, because all of them made my box run out of space.

The link to the upstream bug appears to be here:

I can't see much on that page. Troubling, however, is the date: "Updated November 9 2018 at 8:20 PM"

How is this not biting everyone who uses Bind? Maybe there just aren't that many of us.

Issue History

Date Modified Username Field Change
2018-12-04 19:21 mhagen94 New Issue
2018-12-04 19:21 mhagen94 Tag Attached: 7.6
2018-12-04 19:21 mhagen94 Tag Attached: bind
2018-12-04 19:21 mhagen94 Tag Attached: crash
2018-12-04 19:41 mhagen94 Tag Attached: security
2018-12-04 20:15 mhagen94 Note Added: 0033212
2018-12-06 11:14 johnny2k5 Note Added: 0033247
2018-12-07 03:52 kevbo Note Added: 0033257