[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160822.210518.2016675181033767934.davem@davemloft.net>
Date: Mon, 22 Aug 2016 21:05:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: geert+renesas@...der.be
Cc: u.kleine-koenig@...gutronix.de, treding@...dia.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ipconfig: Fix NULL pointer dereference on
RARP/BOOTP/DHCP timeout
From: Geert Uytterhoeven <geert+renesas@...der.be>
Date: Mon, 22 Aug 2016 15:01:03 +0200
> If no RARP, BOOTP, or DHCP response is received, ic_dev is never set,
> causing a NULL pointer dereference in ic_close_devs():
>
> Sending DHCP requests ...... timed out!
> Unable to handle kernel NULL pointer dereference at virtual address 00000004
>
> To fix this, add a check to avoid dereferencing ic_dev if it is still
> NULL.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
> Fixes: 2647cffb2bc6fbed ("net: ipconfig: Support using "delayed" DHCP replies")
Applied.
Powered by blists - more mailing lists