New: Kernel
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]/
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).
Quoted 32 lines · On Tue, 6 Oct 2009 00:16:31 GMT [email protected] 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: [email protected] ReportedBy: [email protected] Regression: NoA NULL pointer dereference happens if
arp_notifyis 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:00It seems that in function
inetdev_event(net/ipv4/devinet.c:1081) the dereference ofin_dev->ifa_list->ifa_addressblows up becausein_dev->ifa_listis NULL.
David Miller
maintainerFrom: Andrew Morton <[email protected]>
Date: Tue, 13 Oct 2009 19:48:06 -0700
Quoted 2 lines
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).
Fixed by:
commit a21090cff296eb82b6de09304d64de466bdcaefc
Author: Stephen Hemminger <[email protected]> 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