[SRU][J/F/B][PATCH 0/1](upstream) video: fbdev: i740fb: Error out if 'pixclock' equals zero
John Cabaj
john.cabaj at canonical.com
Fri Oct 14 00:00:46 UTC 2022
CVE-2022-3061
[Impact]
* Intel 740fb graphics card driver could encounter a divide-by-zero error if the value of pixclock is zero. The ability of a userspace program to pass any values to ioctl() further exposes this issue.
[Fix]
* A simple check to ensure pixclock is non-zero was added to i740fb_check_var.
[Test Plan]
* Install linux-5.15 on jammy system and boot test
[Where problems could occur]
* If there is some other downstream reliance on a pixclock value of zero serving as a flag
ZheyuMa (1):
video: fbdev: i740fb: Error out if 'pixclock' equals zero
drivers/video/fbdev/i740fb.c | 3 +++
1 file changed, 3 insertions(+)
--
2.34.1
More information about the kernel-team
mailing list