Search Linux Wireless

Re: [PATCH] fix error handling logic in generic_rndis_bind

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

 



Quoting Dmitri Monakhov <dmonakhov@xxxxxxxxxx>:

Hi,
Today after i've plugged usbdevice to my notebook i've got OOPS
which was caused by generic_rndis_bind() probe function.
BUG LOG:
 ...

BUGGY PLACE:

generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags)
 ...

Bug was introduced by following commit:
commit 039ee17d1baabaa21783a0d5ab3e8c6d8c794bdf
Author: Jussi Kivilinna <jussi.kivilinna@xxxxxxxx>
Date:   Sun Jan 27 23:34:33 2008 +0200


Thanks for noticing this. Problem is that when rndis_query fails 'phym' pointer is not set. That rndis_query was add for wireless device support, it's known that wired devices may fail that query, and shouldn't fail out from generic_rndis_bind. Correct fix is to either point 'phym' to zero u32 or prevent use when rndis_query fails. I'll send patch very soon.

 - Jussi Kivilinna



--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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