Search Linux Wireless

Re: [PATCH] iwlwifi: fix oops on wep key insertion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > [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@xxxxxxxxx>
> > ---
> >  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?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux