<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/wusbcore/crypto.c, branch linux-4.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-01-10T16:03:42Z</updated>
<entry>
<title>wusbcore: Fix one more crypto-on-the-stack bug</title>
<updated>2017-01-10T16:03:42Z</updated>
<author>
<name>Andy Lutomirski</name>
</author>
<published>2016-12-14T02:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=620f1a632ebcc9811c2f8009ba52297c7006f805'/>
<id>urn:sha1:620f1a632ebcc9811c2f8009ba52297c7006f805</id>
<content type='text'>
The driver put a constant buffer of all zeros on the stack and
pointed a scatterlist entry at it.  This doesn't work with virtual
stacks.  Use ZERO_PAGE instead.

Cc: stable@vger.kernel.org # 4.9 only
Reported-by: Eric Biggers &lt;ebiggers3@gmail.com&gt;
Signed-off-by: Andy Lutomirski &lt;luto@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wusb: fix error return code in wusb_prf()</title>
<updated>2016-10-19T13:28:29Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2016-10-19T13:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ee1710cd6bbf49853688e97d6e1d98b48f28586'/>
<id>urn:sha1:1ee1710cd6bbf49853688e97d6e1d98b48f28586</id>
<content type='text'>
Fix to return error code -ENOMEM from the kmalloc() error handling
case instead of 0, as done elsewhere in this function.

Fixes: a19b882c07a6 ("wusb: Stop using the stack for sg crypto scratch space")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wusb: Stop using the stack for sg crypto scratch space</title>
<updated>2016-10-17T09:50:43Z</updated>
<author>
<name>Andy Lutomirski</name>
</author>
<published>2016-10-06T17:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a19b882c07a63174f09d1f7c036cc2aab7f04ad3'/>
<id>urn:sha1:a19b882c07a63174f09d1f7c036cc2aab7f04ad3</id>
<content type='text'>
Pointing an sg list at the stack is verboten and, with
CONFIG_VMAP_STACK=y, will malfunction.  Use kmalloc for the wusb
crypto stack space instead.

Untested -- I'm not entirely convinced that this hardware exists in
the wild.

Signed-off-by: Andy Lutomirski &lt;luto@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: wusbcore: crypto: don't print on ENOMEM</title>
<updated>2016-08-30T17:17:39Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-08-25T17:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90b613864d414d3c8423fd8d58a956d89ef58770'/>
<id>urn:sha1:90b613864d414d3c8423fd8d58a956d89ef58770</id>
<content type='text'>
All kmalloc-based functions print enough information on failures.

Signed-off-by: Wolfram Sang &lt;wsa-dev@sang-engineering.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: wusbcore: Do not initialise statics to 0.</title>
<updated>2016-05-09T11:08:46Z</updated>
<author>
<name>Sandhya Bankar</name>
</author>
<published>2016-05-09T02:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef23db9c5ee2dd240ad6875e03d004416f4ee0df'/>
<id>urn:sha1:ef23db9c5ee2dd240ad6875e03d004416f4ee0df</id>
<content type='text'>
Do not initialise statics to 0.
This patch is found by checkpatch.pl script.

Signed-off-by: Sandhya Bankar &lt;bankarsandhya512@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: wusbcore: Remove space before ',' and '(' .</title>
<updated>2016-05-09T11:08:46Z</updated>
<author>
<name>Sandhya Bankar</name>
</author>
<published>2016-05-09T03:12:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06acefde5bf1fb64b2d450ddb17c843f76837dc6'/>
<id>urn:sha1:06acefde5bf1fb64b2d450ddb17c843f76837dc6</id>
<content type='text'>
Remove space before ',' and '(' .
This patch is detected by checkpatch.pl

Signed-off-by: Sandhya Bankar &lt;bankarsandhya512@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>wusb: Use skcipher</title>
<updated>2016-01-27T12:35:52Z</updated>
<author>
<name>Herbert Xu</name>
</author>
<published>2016-01-24T13:17:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab1e6fa405b12e290083c4d0a694e82392dbbb66'/>
<id>urn:sha1:ab1e6fa405b12e290083c4d0a694e82392dbbb66</id>
<content type='text'>
This patch replaces uses of blkcipher with skcipher.

Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</content>
</entry>
<entry>
<title>wusb: delete double assignment</title>
<updated>2014-09-24T05:03:54Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2014-08-23T18:33:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f8c0602ea75a48c3fd3e9ccd7b54b34ce68e71f'/>
<id>urn:sha1:4f8c0602ea75a48c3fd3e9ccd7b54b34ce68e71f</id>
<content type='text'>
Delete successive assignments to the same location.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression i;
@@

*i = ...;
 i = ...;
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>USB: wusbcore: correct spelling mistakes in comments and error string</title>
<updated>2014-01-08T00:17:41Z</updated>
<author>
<name>Rahul Bedarkar</name>
</author>
<published>2014-01-04T07:07:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1076e7a4d91230eb277735ce297fe544c0202d30'/>
<id>urn:sha1:1076e7a4d91230eb277735ce297fe544c0202d30</id>
<content type='text'>
Signed-off-by: Rahul Bedarkar &lt;rahulbedarkar89@gmail.com&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
</feed>
