Hi,

as J noticed there are some races in the serial driver.

1) serial table is not protected by locks. kref_get() may be called on freed 
memory
2) probe() exposes uninitialized devices
3) disconnect() does not make sure there's no more IO to unbound devices
4) try_module_get() is called with unprotected pointers
5) there's a race between write() and disconnect()

Fixing these required some deeper surgery. Unfortunately I have no devices to
test. J would you be willing to test?

        Regards
                Oliver

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to