CVE-2024-26777

medium

Description

In the Linux kernel, the following vulnerability has been resolved: fbdev: sis: Error out if pixclock equals zero The userspace program could pass any values to the driver through ioctl() interface. If the driver doesn't check the value of pixclock, it may cause divide-by-zero error. In sisfb_check_var(), var->pixclock is used as a divisor to caculate drate before it is checked against zero. Fix this by checking it at the beginning. This is similar to CVE-2022-3061 in i740fb which was fixed by commit 15cf0b8.

References

https://git.kernel.org/stable/c/f329523f6a65c3bbce913ad35473d83a319d5d99

https://git.kernel.org/stable/c/e421946be7d9bf545147bea8419ef8239cb7ca52

https://git.kernel.org/stable/c/df6e2088c6f4cad539cf67cba2d6764461e798d1

https://git.kernel.org/stable/c/cd36da760bd1f78c63c7078407baf01dd724f313

https://git.kernel.org/stable/c/99f1abc34a6dde248d2219d64aa493c76bbdd9eb

https://git.kernel.org/stable/c/84246c35ca34207114055a87552a1c4289c8fd7e

https://git.kernel.org/stable/c/6db07619d173765bd8622d63809cbfe361f04207

https://git.kernel.org/stable/c/1d11dd3ea5d039c7da089f309f39c4cd363b924b

Details

Source: Mitre, NVD

Published: 2024-04-03

Updated: 2024-04-03

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium