<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/wireless/rsi, branch linux-5.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-12-13T07:48:15Z</updated>
<entry>
<title>rsi: release skb if rsi_prepare_beacon fails</title>
<updated>2019-12-13T07:48:15Z</updated>
<author>
<name>Navid Emamdoost</name>
</author>
<published>2019-09-14T00:08:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c11993ad2542c314023f282efea363996b378a0'/>
<id>urn:sha1:9c11993ad2542c314023f282efea363996b378a0</id>
<content type='text'>
commit d563131ef23cbc756026f839a82598c8445bc45f upstream.

In rsi_send_beacon, if rsi_prepare_beacon fails the allocated skb should
be released.

Signed-off-by: Navid Emamdoost &lt;navid.emamdoost@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>rsi: fix a double free bug in rsi_91x_deinit()</title>
<updated>2019-09-03T13:54:48Z</updated>
<author>
<name>Hui Peng</name>
</author>
<published>2019-08-19T22:02:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b51dc7291473093c821195c4b6af85fadedbc2f'/>
<id>urn:sha1:8b51dc7291473093c821195c4b6af85fadedbc2f</id>
<content type='text'>
`dev` (struct rsi_91x_usbdev *) field of adapter
(struct rsi_91x_usbdev *) is allocated  and initialized in
`rsi_init_usb_interface`. If any error is detected in information
read from the device side,  `rsi_init_usb_interface` will be
freed. However, in the higher level error handling code in
`rsi_probe`, if error is detected, `rsi_91x_deinit` is called
again, in which `dev` will be freed again, resulting double free.

This patch fixes the double free by removing the free operation on
`dev` in `rsi_init_usb_interface`, because `rsi_91x_deinit` is also
used in `rsi_disconnect`, in that code path, the `dev` field is not
 (and thus needs to be) freed.

This bug was found in v4.19, but is also present in the latest version
of kernel. Fixes CVE-2019-15504.

Reported-by: Hui Peng &lt;benquike@gmail.com&gt;
Reported-by: Mathias Payer &lt;mathias.payer@nebelwelt.net&gt;
Signed-off-by: Hui Peng &lt;benquike@gmail.com&gt;
Reviewed-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>rsi: Properly initialize data in rsi_sdio_ta_reset</title>
<updated>2019-05-28T11:31:36Z</updated>
<author>
<name>Nathan Chancellor</name>
</author>
<published>2019-05-23T15:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f57b5d85ed5865f0cd0a6dc4726c995b9e57e28a'/>
<id>urn:sha1:f57b5d85ed5865f0cd0a6dc4726c995b9e57e28a</id>
<content type='text'>
When building with -Wuninitialized, Clang warns:

drivers/net/wireless/rsi/rsi_91x_sdio.c:940:43: warning: variable 'data'
is uninitialized when used here [-Wuninitialized]
        put_unaligned_le32(TA_HOLD_THREAD_VALUE, data);
                                                 ^~~~
drivers/net/wireless/rsi/rsi_91x_sdio.c:930:10: note: initialize the
variable 'data' to silence this warning
        u8 *data;
                ^
                 = NULL
1 warning generated.

Using Clang's suggestion of initializing data to NULL wouldn't work out
because data will be dereferenced by put_unaligned_le32. Use kzalloc to
properly initialize data, which matches a couple of other places in this
driver.

Fixes: e5a1ecc97e5f ("rsi: add firmware loading for 9116 device")
Link: https://github.com/ClangBuiltLinux/linux/issues/464
Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>treewide: Add SPDX license identifier - Makefile/Kconfig</title>
<updated>2019-05-21T08:50:46Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-19T12:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1'/>
<id>urn:sha1:ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1</id>
<content type='text'>
Add SPDX license identifiers to all Make/Kconfig files which:

 - Have no license information of any form

These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:

  GPL-2.0-only

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rsi: miscallaneous changes for 9116 and common</title>
<updated>2019-04-25T16:44:29Z</updated>
<author>
<name>Siva Rebbagondla</name>
</author>
<published>2019-04-03T04:13:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a60014b76f512f18e48cfb4efc71e07c6791996'/>
<id>urn:sha1:0a60014b76f512f18e48cfb4efc71e07c6791996</id>
<content type='text'>
Below changes are done:
* Device 80MHz clock should be disabled for 9116 in 20MHz band.
* Default edca parameters should be used initially before
  connection.
* Default TA aggregation is 3 for 9116.
* Bootup parameters should be loaded first when channel is
  changed.
* 4 byte register writes are possible for 9116.

Signed-off-by: Siva Rebbagondla &lt;siva8118@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>rsi: reset device changes for 9116</title>
<updated>2019-04-25T16:44:29Z</updated>
<author>
<name>Siva Rebbagondla</name>
</author>
<published>2019-04-03T04:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17ff2c794f39f8c1bc7119e5fd9957efc69c3c72'/>
<id>urn:sha1:17ff2c794f39f8c1bc7119e5fd9957efc69c3c72</id>
<content type='text'>
Device reset register(watchdog timer related) addresses and
values are different for 9116.

Signed-off-by: Siva Rebbagondla &lt;siva8118@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>rsi: send new tx command frame wlan9116 features</title>
<updated>2019-04-25T16:44:28Z</updated>
<author>
<name>Siva Rebbagondla</name>
</author>
<published>2019-04-03T04:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1533f976c66896cc3454e48ed48f84addcd740d1'/>
<id>urn:sha1:1533f976c66896cc3454e48ed48f84addcd740d1</id>
<content type='text'>
For 9116 device, we have introduced w9116 features frame, which shall be
send when radio capabilities confirm is received.

Signed-off-by: Siva Rebbagondla &lt;siva8118@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>rsi: new bootup parameters for 9116</title>
<updated>2019-04-25T16:44:27Z</updated>
<author>
<name>Siva Rebbagondla</name>
</author>
<published>2019-04-03T04:13:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f911c86166d5022da15451a95de34cffaf95516c'/>
<id>urn:sha1:f911c86166d5022da15451a95de34cffaf95516c</id>
<content type='text'>
Bootup parameters are different for 9116 device. Check added for device
model where-ever bootup parameters are being send.

Signed-off-by: Siva Rebbagondla &lt;siva8118@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>rsi: change in device init frame sequence for 9116</title>
<updated>2019-04-25T16:44:26Z</updated>
<author>
<name>Siva Rebbagondla</name>
</author>
<published>2019-04-03T04:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ba4562ac195f8b9ceca47e7ff3aab046e9e542a'/>
<id>urn:sha1:9ba4562ac195f8b9ceca47e7ff3aab046e9e542a</id>
<content type='text'>
Initial frame exchange sequence has been changed for 9116 chip. Getting MAC
address using EEPROM read frame will be once common device configuration is
done and RESET_MAC frame is sending after bootup parameters confirmation is
received, which are different from RS9113 device

Signed-off-by: Siva Rebbagondla &lt;siva8118@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>rsi: add firmware loading for 9116 device</title>
<updated>2019-04-25T16:44:25Z</updated>
<author>
<name>Siva Rebbagondla</name>
</author>
<published>2019-04-03T04:13:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5a1ecc97e5f717934685bf62a4d398df331459e'/>
<id>urn:sha1:e5a1ecc97e5f717934685bf62a4d398df331459e</id>
<content type='text'>
New firmware files and firmware loading method are added for 9116.

Signed-off-by: Siva Rebbagondla &lt;siva8118@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
</content>
</entry>
</feed>
