<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hid/hid-multitouch.c, branch linux-3.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-04-14T13:44:18Z</updated>
<entry>
<title>HID: multitouch: validate indexes details</title>
<updated>2014-04-14T13:44:18Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2013-09-11T19:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f11c6f07cb7d33abb503e87909aba80c8605d141'/>
<id>urn:sha1:f11c6f07cb7d33abb503e87909aba80c8605d141</id>
<content type='text'>
commit 8821f5dc187bdf16cfb32ef5aa8c3035273fa79a upstream.

When working on report indexes, always validate that they are in bounds.
Without this, a HID device could report a malicious feature report that
could trick the driver into a heap overflow:

[  634.885003] usb 1-1: New USB device found, idVendor=0596, idProduct=0500
...
[  676.469629] BUG kmalloc-192 (Tainted: G        W   ): Redzone overwritten

Note that we need to change the indexes from s8 to s16 as they can
be between -1 and 255.

CVE-2013-2897

Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Acked-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
[bwh: Backported to 3.2: mt_device::{cc,cc_value,inputmode}_index do not
 exist and the corresponding indices do not need to be validated.
 mt_device::maxcontact_report_id does not exist either.  So all we need
 to do is to widen mt_device::inputmode.]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
[yjw: Backport to 3.4: maxcontact_report_id exists,
 need to be validated]
Signed-off-by: Yijing Wang &lt;wangyijing@huawei.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>HID: multitouch: add support for Novatek touchscreen</title>
<updated>2012-08-15T15:10:30Z</updated>
<author>
<name>Austin Hendrix</name>
</author>
<published>2012-06-04T22:27:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20e24cb2c6a9d72c2b1627ddd54584ec87b54082'/>
<id>urn:sha1:20e24cb2c6a9d72c2b1627ddd54584ec87b54082</id>
<content type='text'>
commit 4db703ead4535792ea54dba7275fdd1527848e74 upstream.

Add support for a Novatek touchscreen panel as a generic HID multitouch
panel.

Signed-off-by: Austin Hendrix &lt;ahendrix@willowgarage.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>HID: multitouch: Add support for Baanto touchscreen</title>
<updated>2012-07-29T15:04:19Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2012-04-20T10:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60d091aeb66c0b201689862bcb803c32db712d05'/>
<id>urn:sha1:60d091aeb66c0b201689862bcb803c32db712d05</id>
<content type='text'>
commit 9ed326951806c424b42dcf2e1125e25a98fb13d1 upstream.

Reported-by: Tvrtko Ursulin &lt;tvrtko.ursulin@onelan.co.uk&gt;
Tested-by: Tvrtko Ursulin &lt;tvrtko.ursulin@onelan.co.uk&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>HID: hid-multitouch: fix wrong protocol detection</title>
<updated>2012-07-16T16:04:28Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2012-05-04T12:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=099fddaa7a49187a9405cb05c6373814884dfcff'/>
<id>urn:sha1:099fddaa7a49187a9405cb05c6373814884dfcff</id>
<content type='text'>
commit 3ac36d15557d1bedfb1151d9911b9587b2d40759 upstream.

The previous implementation introduced a randomness in the splitting
of the different touches reported by the device. This version is more
robust as we don't rely on hi-&gt;input-&gt;absbit, but on our own structure.

This also prepares hid-multitouch to better support Win8 devices.

[Jiri Kosina &lt;jkosina@suse.cz&gt;: fix build]

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@enac.fr&gt;
Acked-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;


</content>
</entry>
<entry>
<title>Merge branch 'upstream' into for-linus</title>
<updated>2012-03-20T12:18:05Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2012-03-20T12:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a247a4119ee932e06e985e0a95a13c3eed4715b'/>
<id>urn:sha1:4a247a4119ee932e06e985e0a95a13c3eed4715b</id>
<content type='text'>
Conflicts:
	drivers/hid/Makefile
</content>
</entry>
<entry>
<title>HID: multitouch: add PID for Fructel product</title>
<updated>2012-03-20T12:17:22Z</updated>
<author>
<name>Andreas Nielsen</name>
</author>
<published>2012-03-19T14:41:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d5df5d11e8027c11c1079205757527cbaade62d'/>
<id>urn:sha1:4d5df5d11e8027c11c1079205757527cbaade62d</id>
<content type='text'>
Adds multitouch support for the Gametel Android game controller.

The multitouch events are emulated by the Gametel device. Each physical button
is configured to generate a MT event on a specific coordinate. This seems to be
the only way for us to support Android games that doesn't support HID gamepads.
It is possible to inject MT events at Android level, but this requires root on
the phone.

Signed-off-by: Andreas Nielsen &lt;eas@svep.se&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: multitouch: detect serial protocol</title>
<updated>2012-03-12T11:50:27Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2012-03-06T16:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e87f22ac6353b50425c5da412fe2418a48e25a3'/>
<id>urn:sha1:9e87f22ac6353b50425c5da412fe2418a48e25a3</id>
<content type='text'>
Microsoft's documentation about multitouch protocols tells that
if a device presents one touch per report, then it should be treated
as a serial protocol.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@enac.fr&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: handle all multitouch devices through hid-multitouch</title>
<updated>2012-03-12T10:27:07Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2012-03-06T16:57:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d179a9ef25a64b451e2bbd46f6a6c16c6a72eb1'/>
<id>urn:sha1:8d179a9ef25a64b451e2bbd46f6a6c16c6a72eb1</id>
<content type='text'>
When the quirk HID_QUIRK_MULTITOUCH is present and when hid-multitouch
is loaded, let's pass the device to hid-multitouch even if it has
not been registered in hid-multitouch.

If any other driver wants to take precedence over hid-multitouch,
the usual way of adding it to hid_have_special_driver will work as
the quirk HID_QUIRK_MULTITOUCH won't be set by the generic hid layer.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@enac.fr&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: multitouch: fix handling of buggy reports descriptors for Dell ST2220T</title>
<updated>2012-03-12T10:23:55Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2012-03-06T16:57:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed9d5c96147b3bed6178252e8e04b27b7d32edd0'/>
<id>urn:sha1:ed9d5c96147b3bed6178252e8e04b27b7d32edd0</id>
<content type='text'>
LG multitouch panels, such as the one found in Dell ST2220T, has buggy
reports descriptors. With the previous implementation, it was impossible
to rely on the reports descriptors to determine how the different
touches are emitted from the device.

This patch changes the splitting of the different touches in the report
in a more robust way.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: multitouch: add support for eGalax 0x722a</title>
<updated>2012-03-09T12:27:53Z</updated>
<author>
<name>Benjamin Tissoires</name>
</author>
<published>2012-03-06T16:57:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ce09df47b67f16367272f63f85f4cc991e6009a'/>
<id>urn:sha1:2ce09df47b67f16367272f63f85f4cc991e6009a</id>
<content type='text'>
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@enac.fr&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
