lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 Apr 2010 13:29:20 +0200
From:	Damjan Jovanovic <damjan.jov@...il.com>
To:	Alessandro Rubini <rubini@...vis.unipv.it>,
	dmitry.torokhov@...il.com
Cc:	linux-kernel@...r.kernel.org, linux-input@...r.kernel.org,
	akpm@...ux-foundation.org
Subject: [PATCH] input: handle bad parity PS/2 packets in mouse drivers better

This fixes a regression introduced in Linux 2.6.2 where mice that
sporadically produce bad parity go crazy and start jumping around and
clicking randomly, which never happens in any version of Windows
running on the same hardware. The bugzilla bug is
https://bugzilla.kernel.org/show_bug.cgi?id=6105

The patch works by always accumulating a full PS/2 packet, then
ignoring the packet if any byte had a bad checksum. A month of testing
it against an affected mouse has revealed it works perfectly in
practice.

This is the third resend, also CC'ed to lkml and Andrew Morton this
time, because the previous 2 emails to linux-input@...r.kernel.org and
the input/mouse maintainers from 28 March 2010 were ignored.

Regards
Damjan Jovanovic

Signed-off-by: Damjan Jovanovic <damjan.jov@...il.com>

View attachment "psmice-bad-parity.txt" of type "text/plain" (7367 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ