-
由 zhengbin 提交于
mainline inclusion from mainline-v5.2 commit 9176ab1b848059a0cd9caf39f0cebaa1b7ec5ec2 category: bugfix bugzilla: 16631 CVE: NA --------------------------- The user value is validated after converting the timeval to a timespec, but for a wide range of negative tv_usec values the multiplication overflow turns them in positive numbers. So the 'validated later' is not catching the invalid input. Signed-off-by: Nzhengbin <zhengbin13@huawei.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/1562460701-113301-1-git-send-email-zhengbin13@huawei.comSigned-off-by: NYang Yingliang <yangyingliang@huawei.com> Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
4234e575