* Re: [Bugme-new] [Bug 14330] New: Kernel
[not found] <bug-14330-10286@http.bugzilla.kernel.org/>
@ 2009-10-14 2:48 ` Andrew Morton
2009-10-14 3:43 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2009-10-14 2:48 UTC (permalink / raw)
To: netdev; +Cc: bugzilla-daemon, bugme-daemon, hannes
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Tue, 6 Oct 2009 00:16:31 GMT bugzilla-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=14330
>
> URL: NULL pointer dereference with arp_notify and no ip
> address
> Summary: Kernel
> Product: Networking
> Version: 2.5
> Kernel Version: 2.6.30.8-64.fc11.x86_64
> Platform: All
> OS/Version: Linux
> Tree: Fedora
> Status: NEW
> Severity: normal
> Priority: P1
> Component: IPV4
> AssignedTo: shemminger@linux-foundation.org
> ReportedBy: hannes@stressinduktion.org
> Regression: No
>
>
> A NULL pointer dereference happens if arp_notify is enabled, no ip address is
> set
> and the mac address changes on an interface.
>
> Steps to reproduce:
> sysctl -w net.ipv4.conf.all.arp_notify=1
> ip a f dev eth0
> ip l s eth0 a 02:00:00:00:00:00
>
> It seems that in function inetdev_event (net/ipv4/devinet.c:1081) the
> dereference of in_dev->ifa_list->ifa_address blows up because in_dev->ifa_list
> is NULL.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bugme-new] [Bug 14330] New: Kernel
2009-10-14 2:48 ` [Bugme-new] [Bug 14330] New: Kernel Andrew Morton
@ 2009-10-14 3:43 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-10-14 3:43 UTC (permalink / raw)
To: akpm; +Cc: netdev, bugzilla-daemon, bugme-daemon, hannes
From: Andrew Morton <akpm@linux-foundation.org>
Date: Tue, 13 Oct 2009 19:48:06 -0700
> (switched to email. Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
Fixed by:
commit a21090cff296eb82b6de09304d64de466bdcaefc
Author: Stephen Hemminger <shemminger@vyatta.com>
Date: Wed Oct 7 03:18:17 2009 -0700
ipv4: arp_notify address list bug
This fixes a bug with arp_notify.
If arp_notify is enabled, kernel will crash if address is changed
and no IP address is assigned.
http://bugzilla.kernel.org/show_bug.cgi?id=14330
Reported-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-14 3:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-14330-10286@http.bugzilla.kernel.org/>
2009-10-14 2:48 ` [Bugme-new] [Bug 14330] New: Kernel Andrew Morton
2009-10-14 3:43 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).