Bug 152417

Summary: CAN-2005-0839 N_MOUSE line discipline flaw
Product: Red Hat Enterprise Linux 4 Reporter: Mark J. Cox <mjc>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: davem, jbaron, pfrields, riel, security-response-team, steved
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=important,reported=20050128,source=bk,public=20050128
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-19 18:52:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 147461    

Description Mark J. Cox 2005-03-29 11:37:40 UTC
+++ This bug was originally part of Bug #149693 +++

4. input: Only root should be able to set the N_MOUSE line discipline.
http://linux.bkbits.net:8080/linux-2.6/cset@41fa6464E1UuGu6zmketEYxm73KSyQ

Routine used in setting line discipline on a serial tty.  Note possibly the
wrong fix: http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg64695.html

Impact: a non privileged user could inject mouse movements or possibly
keystrokes when another user is logged in.

Comment 1 Jason Baron 2005-03-31 19:55:10 UTC
This is already in our tree. Dave, should be moved to MODIFIED, i suspect.

Comment 2 Josh Bressers 2005-04-19 18:52:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-366.html