From Ubuntu Security Notice USN-103-1 Previous kernels did not restrict the use of the N_MOUSE line discipline in the serial driver. This allowed an unprivileged user to inject mouse movement and/or keystrokes (using the sunkbd driver) into the input subsystem, taking over the console or an X session, where another user is logged in. (CAN-2005-0839)
Fix is here: http://linux.bkbits.net:8080/linux-2.6/cset@41fa6464E1UuGu6zmketEYxm73KSyQ Affects kernels up to 2.6.11 gentoo-sources-2.6 unaffected
mips-sources fixed.
All fixed, closing bug.
commit f7254f4ac465c2cca9729ec508f3053cc5e88fa3 Author: Vojtech Pavlik <vojtech@suse.cz> input: Only root should be able to set the N_MOUSE line discipline.