From: Chuck Ebbert <cebbert@redhat.com>
To: Mithlesh Thukral <mithlesh@netxen.com>
Cc: Netdev <netdev@vger.kernel.org>
Subject: Oops in netxen driver, kernel 2.6.20.10
Date: Wed, 16 May 2007 16:39:46 -0400 [thread overview]
Message-ID: <464B6C12.2090706@redhat.com> (raw)
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.
reply other threads:[~2007-05-16 20:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=464B6C12.2090706@redhat.com \
--to=cebbert@redhat.com \
--cc=mithlesh@netxen.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).