BugTraq
Re: Linux Kernel i2c Integer Overflow Vulnerability Jun 17 2004 11:51AM
Shaun Colley (shaunige yahoo co uk) (1 replies)
Re: Linux Kernel i2c Integer Overflow Vulnerability Jun 17 2004 02:06PM
Greg KH (greg kroah 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

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus