<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/serial/io_ti.c, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-05-25T12:30:13Z</updated>
<entry>
<title>USB: serial: io_ti: fix div-by-zero in set_termios</title>
<updated>2017-05-25T12:30:13Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-05-11T09:41:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e6e9c4c36f9626d5ad2b63aa7ad5686dde737e7'/>
<id>urn:sha1:1e6e9c4c36f9626d5ad2b63aa7ad5686dde737e7</id>
<content type='text'>
commit 6aeb75e6adfaed16e58780309613a578fe1ee90b upstream.

Fix a division-by-zero in set_termios when debugging is enabled and a
high-enough speed has been requested so that the divisor value becomes
zero.

Instead of just fixing the offending debug statement, cap the baud rate
at the base as a zero divisor value also appears to crash the firmware.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: serial: io_ti: fix information leak in completion handler</title>
<updated>2017-03-18T11:09:58Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-03-06T16:36:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72bb2b96b8568a74f28e2a2c39e005583595b2c2'/>
<id>urn:sha1:72bb2b96b8568a74f28e2a2c39e005583595b2c2</id>
<content type='text'>
commit 654b404f2a222f918af9b0cd18ad469d0c941a8e upstream.

Add missing sanity check to the bulk-in completion handler to avoid an
integer underflow that can be triggered by a malicious device.

This avoids leaking 128 kB of memory content from after the URB transfer
buffer to user space.

Fixes: 8c209e6782ca ("USB: make actual_length in struct urb field u32")
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: serial: io_ti: fix NULL-deref in interrupt callback</title>
<updated>2017-03-18T11:09:58Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-03-06T16:36:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e71c7bad68449a59e4e411257420916397cdff85'/>
<id>urn:sha1:e71c7bad68449a59e4e411257420916397cdff85</id>
<content type='text'>
commit 0b1d250afb8eb9d65afb568bac9b9f9253a82b49 upstream.

Fix a NULL-pointer dereference in the interrupt callback should a
malicious device send data containing a bad port number by adding the
missing sanity check.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: serial: io_ti: bind to interface after fw download</title>
<updated>2017-01-12T10:22:47Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-01-03T15:39:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e94800df8c1fba04cf60beaf679bbbeb12e07cc5'/>
<id>urn:sha1:e94800df8c1fba04cf60beaf679bbbeb12e07cc5</id>
<content type='text'>
commit e35d6d7c4e6532a89732cf4bace0e910ee684c88 upstream.

Bind to the interface, but do not register any ports, after having
downloaded the firmware. The device will still disconnect and
re-enumerate, but this way we avoid an error messages from being logged
as part of the process:

io_ti: probe of 1-1.3:1.0 failed with error -5

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: serial: io_ti: fix I/O after disconnect</title>
<updated>2017-01-12T10:22:45Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-01-03T15:39:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11743d704e510d2f25b3a1bf81fbb2b103afefb4'/>
<id>urn:sha1:11743d704e510d2f25b3a1bf81fbb2b103afefb4</id>
<content type='text'>
commit 2330d0a853da260d8a9834a70df448032b9ff623 upstream.

Cancel the heartbeat work on driver unbind in order to avoid I/O after
disconnect in case the port is held open.

Note that the cancel in release() is still needed to stop the heartbeat
after late probe errors.

Fixes: 26c78daade0f ("USB: io_ti: Add heartbeat to keep idle EP/416 ports from disconnecting")
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: serial: io_ti: fix another NULL-deref at open</title>
<updated>2017-01-12T10:22:45Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-01-03T15:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ef8807cce7d33a590a426d781f54730f45ca81f'/>
<id>urn:sha1:7ef8807cce7d33a590a426d781f54730f45ca81f</id>
<content type='text'>
commit 4f9785cc99feeb3673993b471f646b4dbaec2cc1 upstream.

In case a device is left in "boot-mode" we must not register any port
devices in order to avoid a NULL-pointer dereference on open due to
missing endpoints. This could be used by a malicious device to trigger
an OOPS:

Unable to handle kernel NULL pointer dereference at virtual address 00000030
...
[&lt;bf0caa84&gt;] (edge_open [io_ti]) from [&lt;bf0b0118&gt;] (serial_port_activate+0x68/0x98 [usbserial])
[&lt;bf0b0118&gt;] (serial_port_activate [usbserial]) from [&lt;c0470ca4&gt;] (tty_port_open+0x9c/0xe8)
[&lt;c0470ca4&gt;] (tty_port_open) from [&lt;bf0b0da0&gt;] (serial_open+0x48/0x6c [usbserial])
[&lt;bf0b0da0&gt;] (serial_open [usbserial]) from [&lt;c0469178&gt;] (tty_open+0xcc/0x5cc)

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: serial: io_ti: fix NULL-deref at open</title>
<updated>2017-01-12T10:22:45Z</updated>
<author>
<name>Johan Hovold</name>
</author>
<published>2017-01-03T15:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33a5d0cc25f43d72978e67264715a5d127a92d1a'/>
<id>urn:sha1:33a5d0cc25f43d72978e67264715a5d127a92d1a</id>
<content type='text'>
commit a323fefc6f5079844dc62ffeb54f491d0242ca35 upstream.

Fix NULL-pointer dereference when clearing halt at open should a
malicious device lack the expected endpoints when in download mode.

Unable to handle kernel NULL pointer dereference at virtual address 00000030
...
[&lt;bf011ed8&gt;] (edge_open [io_ti]) from [&lt;bf000118&gt;] (serial_port_activate+0x68/0x98 [usbserial])
[&lt;bf000118&gt;] (serial_port_activate [usbserial]) from [&lt;c0470ca4&gt;] (tty_port_open+0x9c/0xe8)
[&lt;c0470ca4&gt;] (tty_port_open) from [&lt;bf000da0&gt;] (serial_open+0x48/0x6c [usbserial])
[&lt;bf000da0&gt;] (serial_open [usbserial]) from [&lt;c0469178&gt;] (tty_open+0xcc/0x5cc)

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>USB: io_ti: Remove extra blank lines separating functions</title>
<updated>2015-10-09T10:23:50Z</updated>
<author>
<name>Peter E. Berger</name>
</author>
<published>2015-09-16T08:13:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d23766b34e206d5f9544d9d638e56d827abbcd4'/>
<id>urn:sha1:8d23766b34e206d5f9544d9d638e56d827abbcd4</id>
<content type='text'>
Remove extra blank lines in the several places where functions were
separated by more than one.

Signed-off-by: Peter E. Berger &lt;pberger@brimson.com&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>USB: io_ti: Fix non-standard comment formatting</title>
<updated>2015-10-09T10:23:49Z</updated>
<author>
<name>Peter E. Berger</name>
</author>
<published>2015-09-16T08:13:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75899513b9e163c5c7b036652622b2331a7b6ba7'/>
<id>urn:sha1:75899513b9e163c5c7b036652622b2331a7b6ba7</id>
<content type='text'>
Fix non-standard formatting in some of the comments.

Signed-off-by: Peter E. Berger &lt;pberger@brimson.com&gt;
[johan: minor fixes ]
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
<entry>
<title>USB: io_ti: Move request_firmware from edge_startup to download_fw</title>
<updated>2015-10-09T10:06:04Z</updated>
<author>
<name>Peter E. Berger</name>
</author>
<published>2015-09-16T08:13:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b41461624a93d45293a8d4bd6fdf839703f754f4'/>
<id>urn:sha1:b41461624a93d45293a8d4bd6fdf839703f754f4</id>
<content type='text'>
Move request_firmware from edge_startup to download_fw.

Signed-off-by: Peter E. Berger &lt;pberger@brimson.com&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
</content>
</entry>
</feed>
