From: Wenliang Fan Date: Tue, 17 Dec 2013 03:25:28 +0000 (+0800) Subject: drivers/net/hamradio: Integer overflow in hdlcdrv_ioctl() X-Git-Tag: v3.2.55~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ea9c09b5c3b6248ae4fed3240e6aefbefa2169b;p=pandora-kernel.git drivers/net/hamradio: Integer overflow in hdlcdrv_ioctl() [ Upstream commit e9db5c21d3646a6454fcd04938dd215ac3ab620a ] The local variable 'bi' comes from userspace. If userspace passed a large number to 'bi.data.calibrate', there would be an integer overflow in the following line: s->hdlctx.calibrate = bi.data.calibrate * s->par.bitrate / 16; Signed-off-by: Wenliang Fan Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed