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.13-rc7~13^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9db5c21d3646a6454fcd04938dd215ac3ab620a;p=pandora-kernel.git drivers/net/hamradio: Integer overflow in hdlcdrv_ioctl() 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 --- Reading git-diff-tree failed