<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/usb/misc, branch v4.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-03-18T16:19:02Z</updated>
<entry>
<title>USB: iowarrior: fix oops with malicious USB descriptors</title>
<updated>2016-03-18T16:19:02Z</updated>
<author>
<name>Josh Boyer</name>
<email>jwboyer@fedoraproject.org</email>
</author>
<published>2016-03-14T14:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4ec0ef3a82125efc36173062a50624550a900ae0'/>
<id>urn:sha1:4ec0ef3a82125efc36173062a50624550a900ae0</id>
<content type='text'>
The iowarrior driver expects at least one valid endpoint.  If given
malicious descriptors that specify 0 for the number of endpoints,
it will crash in the probe function.  Ensure there is at least
one endpoint on the interface before using it.

The full report of this issue can be found here:
http://seclists.org/bugtraq/2016/Mar/87

Reported-by: Ralf Spenneberg &lt;ralf@spenneberg.net&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Josh Boyer &lt;jwboyer@fedoraproject.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: idmouse.c: Put the interface on error</title>
<updated>2016-03-04T03:44:06Z</updated>
<author>
<name>Junjie Mao</name>
<email>junjie.mao@enight.me</email>
</author>
<published>2016-02-22T02:48:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0b41d35058468cb9cab3f856b3446a68416213e4'/>
<id>urn:sha1:0b41d35058468cb9cab3f856b3446a68416213e4</id>
<content type='text'>
usb_autopm_put_interface() should be called regardless of what
idmouse_create_image() returns.

Signed-off-by: Junjie Mao &lt;junjie.mao@enight.me&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb/misc/chaoskey: introduce an URB for asynchronous reads</title>
<updated>2016-02-21T04:12:21Z</updated>
<author>
<name>Oliver Neukum</name>
<email>oneukum@suse.com</email>
</author>
<published>2016-02-17T18:01:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0ca10122ca08d21e375b8c85bd7b498b1aeaf55d'/>
<id>urn:sha1:0ca10122ca08d21e375b8c85bd7b498b1aeaf55d</id>
<content type='text'>
To allow for and clean handling of signals an URB is introduced.

Signed-off-by: Oliver Neukum &lt;oneukum@suse.com&gt;
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb/misc/chaoskey: Cleanup probe failure paths</title>
<updated>2016-02-21T04:12:21Z</updated>
<author>
<name>Oliver Neukum</name>
<email>oneukum@suse.com</email>
</author>
<published>2016-02-17T17:58:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0a15e24c2740b7db99fbe21642b33a3028700225'/>
<id>urn:sha1:0a15e24c2740b7db99fbe21642b33a3028700225</id>
<content type='text'>
Shares the cleanup code between all probe failure paths, instead of
having per-failure cleanup at each point in the function.

Signed-off-by: Oliver Neukum &lt;oneukum@suse.com&gt;
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "usb: add HAS_IOMEM dependency to USB_APPLEDISPLAY"</title>
<updated>2016-02-20T22:21:41Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2016-02-20T22:21:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5b93fe3143d7ae23d6b1bac4e55b871969197da9'/>
<id>urn:sha1:5b93fe3143d7ae23d6b1bac4e55b871969197da9</id>
<content type='text'>
This reverts commit 4b61b4f205eabfc9f863f805858aa5b32deb3de5.

As reported by Oliver, this change was unnecessary.

Reported-by: Oliver Neukum &lt;oneukum@suse.com&gt;
Cc: Vegard Nossum &lt;vegard.nossum@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: add HAS_IOMEM dependency to USB_APPLEDISPLAY</title>
<updated>2016-02-15T01:09:56Z</updated>
<author>
<name>Vegard Nossum</name>
<email>vegard.nossum@oracle.com</email>
</author>
<published>2016-02-10T14:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4b61b4f205eabfc9f863f805858aa5b32deb3de5'/>
<id>urn:sha1:4b61b4f205eabfc9f863f805858aa5b32deb3de5</id>
<content type='text'>
warning: (USB_APPLEDISPLAY) selects BACKLIGHT_LCD_SUPPORT which has unmet direct dependencies (HAS_IOMEM)

Signed-off-by: Vegard Nossum &lt;vegard.nossum@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb-misc: sisusbvga: fix error path</title>
<updated>2016-01-25T05:04:54Z</updated>
<author>
<name>Peter Senna Tschudin</name>
<email>peter.senna@collabora.com</email>
</author>
<published>2016-01-15T17:41:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0e781c2258ffb2a42bf44f62dea8662f38cbfd34'/>
<id>urn:sha1:0e781c2258ffb2a42bf44f62dea8662f38cbfd34</id>
<content type='text'>
Remove a call to dev_err() that was reporting an unsuccesful call to
kmalloc(), as reporting memory allocation failures is redundant. Instead
of logging the error, clean up previously allocated resources and abort
the probe with -ENOMEM. Before this change sisusb-&gt;SiS_Pr could be
dereferenced even if null after failure of memory allocation.

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@collabora.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb-misc: sisusbvga: Remove memory allocation logs</title>
<updated>2016-01-25T05:04:54Z</updated>
<author>
<name>Peter Senna Tschudin</name>
<email>peter.senna@collabora.com</email>
</author>
<published>2016-01-15T17:41:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f40849b86862c00f24db10bc11fe2e972c029ec4'/>
<id>urn:sha1:f40849b86862c00f24db10bc11fe2e972c029ec4</id>
<content type='text'>
This patch remove three calls to dev_err() from sisusb_probe() as
reporting memory allocation failures is redundant:

 - Remove a call to dev_err() that was reporting unsuccesful call to
   kzalloc().

 - Remove two calls to dev_err() that were reporting unsuccesful calls
   to kmalloc().

One call to dev_err() reporting memory allocation is left unchanged as
the last patch of the series removes it.

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@collabora.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb-misc: sisusbvga: Remove null test before calls to kfree()</title>
<updated>2016-01-25T05:04:54Z</updated>
<author>
<name>Peter Senna Tschudin</name>
<email>peter.senna@gmail.com</email>
</author>
<published>2016-01-15T17:41:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8a102fd6c99a26a0aa74e3d4bed4092b3c791361'/>
<id>urn:sha1:8a102fd6c99a26a0aa74e3d4bed4092b3c791361</id>
<content type='text'>
This patch removes null test before calls to kfree() as kfree() can
handle null pointers safely.

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@collabora.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb-misc: sisusbvga: Fix coding style: remove assignment from if tests</title>
<updated>2016-01-25T05:04:54Z</updated>
<author>
<name>Peter Senna Tschudin</name>
<email>peter.senna@gmail.com</email>
</author>
<published>2016-01-15T17:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=662bfe7b537f0c199024b252d451727a76449233'/>
<id>urn:sha1:662bfe7b537f0c199024b252d451727a76449233</id>
<content type='text'>
The file drivers/usb/misc/sisusbvga/sisusb.c had 6 assignments inside if
tests. This patch move the assignment outside the test. The changes
also fix the remaining 2 lines that were over 80 characters.

Signed-off-by: Peter Senna Tschudin &lt;peter.senna@collabora.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
