Linux wireless drivers development
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Tomas Winkler <tomasw@gmail.com>,
	Joonwoo Park <joonwpark81@gmail.com>,
	"John W. Linville" <linville@tuxdriver.com>,
	JMF <tolas_feup@hotmail.com>,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH] iwlwifi: fix oops on wep key insertion
Date: Mon, 16 Jun 2008 10:30:59 -0400	[thread overview]
Message-ID: <1213626659.14862.10.camel@localhost.localdomain> (raw)
In-Reply-To: <1213605989.3803.24.camel@johannes.berg>

On Mon, 2008-06-16 at 10:46 +0200, Johannes Berg wrote:
> > > [PATCH] wireless: Limit wep key size to 128/104-bits
> > >
> > > This patch prevents overflow which is occured by invalid long wep key
> > > insertion
> > >
> > > $sudo iwconfig wlan0 enc AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA
> > >
> > > BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
> > > IP: [memcpy_c+0xb/0x20] memcpy_c+0xb/0x20
> > > PGD 13a590067 PUD 12e471067 PMD 0
> > > Oops: 0000 [1] PREEMPT SMP
> > > CPU 1
> > > ...
> > > Pid: 10, comm: events/1 Not tainted 2.6.26-rc2 #9
> > > ...
> > > Call Trace:
> > >  [iwl4965:iwl4965_rx_scan_start_notif+0xb/0x20] ? :iwl4965:iwl4965_enqueue_hcmd+0x12b/0x220
> > >  [hci_usb:init_module+0xe97/0x28cb0] :iwlcore:iwl_send_cmd_sync+0x67/0x290
> > >  [save_trace+0x3f/0xb0] ? save_trace+0x3f/0xb0
> > > ...
> > >
> > > Signed-off-by: Joonwoo Park <joonwpark81@gmail.com>
> > > ---
> > >  net/wireless/wext.c |   11 ++++++++++-
> 
> I'm sure Jean will cry murder because he expects there are some stupid
> full-mac cards that actually support other sizes.
> 
> Can't somebody just post a patch to mac80211 that only accepts the two
> correct sizes like cfg80211 does?

I'd +1 that.

The hardware that appears to support 152-bit WEP would be driven by
madwifi/ath5k [1] [2], and maybe rtl8185 [3].  Most other references
I've found to 152-bit encryption support are for "108Mbps" or "Turbo"
products, which are almost always Atheros-based chipsets.  Since they
are mac80211-driven cards with ath5k, they will obviously support WPA
too.

The only case I can think of for really supporting 152-bit WEP is if
some fullmac part can't handle WPA but can handle 152-bit WEP.  And no
fullmac parts that I know of support 152-bit WEP.

Dan

[1] http://www.seattlewireless.net/HardwareComparison (Proxim Orinoco Atheros-based)
[2] http://support.dlink.com/products/view.asp?productid=DWL%2DAB650
[3] http://svp.co.uk/product/tp-link_tl-wn353g_54mbps_wireless_pci_adapter_4669



  reply	other threads:[~2008-06-16 14:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27  5:13 [PATCH] iwlwifi: fix oops on wep key insertion Joonwoo Park
2008-05-27  6:41 ` Tomas Winkler
2008-05-27  7:10   ` Joonwoo Park
2008-05-27 10:58   ` JMF
2008-05-27 12:41     ` Tomas Winkler
2008-05-27 13:53       ` Dan Williams
2008-05-28  0:41         ` John W. Linville
2008-06-15 16:46           ` Joonwoo Park
2008-06-15 16:53             ` Tomas Winkler
2008-06-16  8:46               ` Johannes Berg
2008-06-16 14:30                 ` Dan Williams [this message]
2008-06-27 15:28                 ` John W. Linville
2008-06-27 16:07                   ` Dan Williams
2008-06-27 16:22                     ` Tomas Winkler
2008-06-27 18:10                       ` Dan Williams
2008-06-27 19:12                         ` Johannes Berg
2008-06-27 23:33                           ` Tomas Winkler
2008-05-28 10:14         ` JMF

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=1213626659.14862.10.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --cc=johannes@sipsolutions.net \
    --cc=joonwpark81@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=tolas_feup@hotmail.com \
    --cc=tomasw@gmail.com \
    /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