[35358] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Linux Kernel i2c Integer Overflow Vulnerability

daemon@ATHENA.MIT.EDU (Greg KH)
Fri Jun 18 21:06:19 2004

Date: Thu, 17 Jun 2004 07:06:08 -0700
From: Greg KH <greg@kroah.com>
To: Shaun Colley <shaunige@yahoo.co.uk>
Cc: bugtraq@securityfocus.com
Message-ID: <20040617140608.GA10534@kroah.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040617115101.39984.qmail@web25104.mail.ukl.yahoo.com>

On Thu, Jun 17, 2004 at 12:51:01PM +0100, Shaun Colley wrote:
> There is a potential integer overflow which can occur
> during the allocation of memory, during parsing of the
> I2C_RDWR option in the i2cdev_ioctl() routine.  Below
> is the vulnerable code:

<snip>

Yes, this was a bug, 11 months ago, all distros have had this fixed in
their latest kernels for a long time now.  There was previous
discussions about this on the linux-kernel mailing list, so you weren't
the first to find it by a long shot.

Also, distros ship their /dev/i2c* nodes as accessable only as root, so
again, this isn't really a problem.

thanks,

greg k-h

home help back first fref pref prev next nref lref last post