DHCPD 4.1.1-P1 Occasional Segfault

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DHCPD 4.1.1-P1 Occasional Segfault

Norman Elton
We are running RHEL6's version of ISC dhcpd (based on 4.1.1-p1). Every
few months, one of our servers mysteriously segfaults:

dhcpd[30744]: segfault at 7f3ff02712c8 ip 00007f3ff02712c8 sp
00007ffe16d0eb58 error 15 in libc-2.12.so[7f3ff0271000+2000]

What is the recommended way to begin finding a root cause?

Thanks!

Norman Elton
College of William & Mary
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: DHCPD 4.1.1-P1 Occasional Segfault

glenn.satchell
The root cause is poor code in a very old version.

The simple fix is to run a newer version, I'm sure there are RPMs around
for newer ones that don't have that problem.

I think this might be the bug, fixed around 4.2.0. This is from the
RELNOTES file distributed with the source.

! Two packets were found that cause a server to halt.  The code
  has been updated to properly process or reject the packets as
  appropriate.  Thanks to David Zych at University of Illinois
  for reporting this issue.  [ISC-Bugs #24960]
  One CVE number for each class of packet.
  CVE-2011-2748
  CVE-2011-2749

But if you're going to patch the code and recompile, just go to the newer
version.

regards,
-glenn

On Wed, October 5, 2016 7:28 am, Norman Elton wrote:

> We are running RHEL6's version of ISC dhcpd (based on 4.1.1-p1). Every
> few months, one of our servers mysteriously segfaults:
>
> dhcpd[30744]: segfault at 7f3ff02712c8 ip 00007f3ff02712c8 sp
> 00007ffe16d0eb58 error 15 in libc-2.12.so[7f3ff0271000+2000]
>
> What is the recommended way to begin finding a root cause?
>
> Thanks!
>
> Norman Elton
> College of William & Mary
> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users
>


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: DHCPD 4.1.1-P1 Occasional Segfault

Norman Elton
Hah, agreed. We actually used to run our own RPM of dhcpd. Might just
have to go back that way.

Thanks

Norman

On Wed, Oct 5, 2016 at 5:36 AM, Glenn Satchell
<[hidden email]> wrote:

> The root cause is poor code in a very old version.
>
> The simple fix is to run a newer version, I'm sure there are RPMs around
> for newer ones that don't have that problem.
>
> I think this might be the bug, fixed around 4.2.0. This is from the
> RELNOTES file distributed with the source.
>
> ! Two packets were found that cause a server to halt.  The code
>   has been updated to properly process or reject the packets as
>   appropriate.  Thanks to David Zych at University of Illinois
>   for reporting this issue.  [ISC-Bugs #24960]
>   One CVE number for each class of packet.
>   CVE-2011-2748
>   CVE-2011-2749
>
> But if you're going to patch the code and recompile, just go to the newer
> version.
>
> regards,
> -glenn
>
> On Wed, October 5, 2016 7:28 am, Norman Elton wrote:
>> We are running RHEL6's version of ISC dhcpd (based on 4.1.1-p1). Every
>> few months, one of our servers mysteriously segfaults:
>>
>> dhcpd[30744]: segfault at 7f3ff02712c8 ip 00007f3ff02712c8 sp
>> 00007ffe16d0eb58 error 15 in libc-2.12.so[7f3ff0271000+2000]
>>
>> What is the recommended way to begin finding a root cause?
>>
>> Thanks!
>>
>> Norman Elton
>> College of William & Mary
>> _______________________________________________
>> dhcp-users mailing list
>> [hidden email]
>> https://lists.isc.org/mailman/listinfo/dhcp-users
>>
>
>
> _______________________________________________
> dhcp-users mailing list
> [hidden email]
> https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users