netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Oops in netxen driver, kernel 2.6.20.10
@ 2007-05-16 20:39 Chuck Ebbert
  0 siblings, 0 replies; only message in thread
From: Chuck Ebbert @ 2007-05-16 20:39 UTC (permalink / raw)
  To: Mithlesh Thukral; +Cc: Netdev

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=240190

drivers/net/netxen/netxen_nic_init.c:

                        if (ADDR_IN_WINDOW1(off)) {
                                writel(buf[i].data,
                                       NETXEN_CRB_NORMALIZE(adapter, off));
                        } else {
                                netxen_nic_pci_change_crbwindow(adapter, 0);
Line 566 ==>                    writel(buf[i].data,
                                       pci_base_offset(adapter, off));

                                netxen_nic_pci_change_crbwindow(adapter, 1);
                        }

pci_base_offset() returned NULL and the result was not checked, causing NULL
dereference.

offset is in RBX (== 0x0000000105ffffff) and is out of the expected range.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-16 20:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-16 20:39 Oops in netxen driver, kernel 2.6.20.10 Chuck Ebbert

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).