Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468262
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] net: ipconfig: Fix NULL pointer dereference on RARP/BOOTP/DHCP timeout |
| Date | 2016-08-23 06:10 +0200 |
| Message-ID | <s9bcd-7kd-3@gated-at.bofh.it> (permalink) |
| References | <s8X9f-6I9-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Geert Uytterhoeven <geert+renesas@glider.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@glider.be>
> Fixes: 2647cffb2bc6fbed ("net: ipconfig: Support using "delayed" DHCP replies")
Applied.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] net: ipconfig: Fix NULL pointer dereference on RARP/BOOTP/DHCP timeout Geert Uytterhoeven <geert+renesas@glider.be> - 2016-08-22 15:10 +0200 Re: [PATCH] net: ipconfig: Fix NULL pointer dereference on RARP/BOOTP/DHCP timeout David Miller <davem@davemloft.net> - 2016-08-23 06:10 +0200
csiph-web