Search Linux Wireless

The rtl8192e procfs-based debug interface seems very broken

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

 



The procfs-based debug interface in:

	drivers/staging/rtl8192e/rtl8192e/rtl_debug.c

seems to be very broken because:

 (1) proc_get_stats_ap() walks ieee->network_list with no locking.

 (2) There is no locking against normal driver operations whilst we wangle the
     device registers.  Admittedly, this may not modify the device state since
     all the pages appear memory-mapped rather than bank-swapped - but if
     there are any read-to-ack type regs, then this is bad.

 (3) We send the device commands and await replies - again without locking
     against the normal driver (eg. proc_get_cam_register_*()).

David
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux