From: David Miller <davem@davemloft.net>
To: abraham.arce.moreno@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] KS8851: NULL pointer dereference if list is empty
Date: Wed, 21 Apr 2010 16:29:32 -0700 (PDT) [thread overview]
Message-ID: <20100421.162932.191667410.davem@davemloft.net> (raw)
In-Reply-To: <k2ocb8016981004161748s1a91f926x3c29b3fbd45ad46c@mail.gmail.com>
From: Abraham Arce <abraham.arce.moreno@gmail.com>
Date: Fri, 16 Apr 2010 19:48:43 -0500
> Fix NULL pointer dereference in ks8851_tx_work by checking if dequeued
> list is already empty before writing the packet to TX FIFO
>
> Unable to handle kernel NULL pointer dereference at virtual address 00000050
> PC is at ks8851_tx_work+0xdc/0x1b0
> LR is at wait_for_common+0x148/0x164
> pc : [<c01c0df4>] lr : [<c025a980>] psr: 20000013
> Backtrace:
> ks8851_tx_work+0x0/0x1b0
> worker_thread+0x0/0x190
> kthread+0x0/0x90
>
> Signed-off-by: Abraham Arce <x0066660@ti.com>
Applied to net-2.6, thanks.
prev parent reply other threads:[~2010-04-21 23:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-17 0:48 [PATCH] KS8851: NULL pointer dereference if list is empty Abraham Arce
2010-04-21 23:29 ` David Miller [this message]
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=20100421.162932.191667410.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=abraham.arce.moreno@gmail.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).