Maintained by: NLnet Labs

unbound 1.7.0 crashes

W.C.A. Wijngaards
Tue Apr 3 10:00:23 CEST 2018


Hi,

Could you get logs with verbosity 4?  I would like to see what sendto it
is, i.e. some address from config, auth-zone(?enabled), or from an A or
AAAA record in the recursor.  Also, that looks like that addr structure
is some sort of garbage, hence the ntop error.  So, the piece of code
preceding it is interesting and verbosity 4 would print that (and lots
more).

I am guessing it isn't an A or AAAA from a internet somewhere, because
that code that picked up that information to create an address structure
didn't change in 1.7.0, and also, it works for Andreas, so that doesn't
seem to be the 'bits that upset inet_ntop'.  So, those bits must be
created somewhere else, i.e. new features in 1.7.0?  I.e. also perhaps
visible when asking for this person't config (dnssec-trigger that
modifies config with unbound-control too?).

Best regards, Wouter

On 02/04/18 19:44, A. Schulze via Unbound-users wrote:
> 
> 
> Am 01.04.2018 um 21:51 schrieb Paul Wouters via Unbound-users:
>>
>> We have a report of crashing unbound servers in fedora:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1562594
>>
>> Unfortunately, there is not much information there:
>>
>> Description of problem:
>>
>> Unbound 1.7.0 from updates-testing crashes on a frequent basis with a buffer overflow error being logged:
>>
>> Apr 01 09:46:56 arden.compton.nu unbound[15415]: [15415:0] notice: sendto failed: Invalid argument
>> Apr 01 09:46:56 arden.compton.nu unbound[15415]: [15415:0] notice: remote address is (inet_ntop error) port 45798
>> Apr 01 09:46:56 arden.compton.nu unbound[15415]: *** buffer overflow detected ***: /usr/sbin/unbound terminated
> 
> I checked my ~50 unbound instances with different load pattern: they all run since I updated them a week ago.
> OK, I use an other package and an other OS so it don't look like a generic problem.
> 
> Andreas
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20180403/6b1ff4f4/attachment.sig>