Re: Linux 4.9.55 break network setup because dhcp client gets an error

From: Shuah Khan
Date: Thu Oct 12 2017 - 13:57:42 EST


On Thu, Oct 12, 2017 at 11:52 AM, Eric Valette <eric.valette@xxxxxxx> wrote:
> Hi,
>
> Just compiled a fresh 4.9.55, with same .config, same user space than 4.9.54
> and discovered I had no network because ifup fails because dhcp cleint
> fails. As everything is identical, 4.9.54 still works, I guess one patch in
> net/core/... did break something.
>
> ifup eth0
> Internet Systems Consortium DHCP Client 4.3.5
> Copyright 2004-2016 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
>
> Can't install packet filter program: Cannot allocate memory
> <=====
> If you think you have received this message due to a bug rather
> than a configuration issue please read the section on submitting
> bugs on either our web page at www.isc.org or in the README file
> before submitting a bug. These pages explain the proper
> process and the information we find helpful for debugging..
>
> exiting.
> ifup: failed to bring up eth0
>
> Ps: CC me I'm not subscribed
>

Please revert commit 345c66695569db83eed100723e4df72cb54df7de

Author: Eric Dumazet <edumazet@xxxxxxxxxx>
Date: Mon Oct 2 12:20:51 2017 -0700

socket, bpf: fix possible use after free

This will fix the problem.

thanks,
-- Shuah