I was looking at this, and the problem I believe should remain with
latest 3.2 stable.

Kai Petzke, the change you propose actually reverts this commit on the linux 
kernel:
commit cafbe85fb0d00d32988905c4978df433ca9b6512
Author: Bjørn Mork <[email protected]>
USB: cdc-wdm: better allocate a buffer that is at least as big as we tell the 
USB core

The commit actually missed the fact that it should change the
usb_free_coherent calls as well, so the right fix should be that you
should modify all usb_free_coherent that frees desc->inbuf to use
desc->wMaxCommand instead.

3.7 upstream kernel should not be affected, because the driver was after
that changed to not use anymore usb_*_coherent functions. Can you try
contact upstream about this problem (the author and linux-usb list I
think should be appropriate)?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1074157

Title:
  Wrong memory allocation (or deallocation) in WWAN driver cdc-wdm.c

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1074157/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to