PT-2025-26028 · Linux+2 · Linux Kernel+2
Published
2022-08-03
·
Updated
2025-07-28
·
CVE-2022-50102
CVSS v2.0
6.0
Medium
| Vector | AV:L/AC:H/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A divide-by-zero bug has been identified in the Linux kernel, specifically in the arkfb driver. This issue arises when a user controls the arguments of the ioctl() from user space, potentially leading to a division by zero in the ark set pixclock() function. The bug can be triggered with specific arguments, such as hdiv=1, pixclock=1, and hmul=2, resulting in a division by zero. This can cause a system crash, as evidenced by a divide error log. The issue is related to the
ark set pixclock() function and the dac set freq() function, which can lead to a division by zero when the pixclock variable is set to a value that causes the division to result in zero.Recommendations
To fix this issue, it is recommended to check the arguments of the
ark set pixclock() function before performing the division operation. This can be achieved by adding input validation to ensure that the pixclock variable is not set to a value that would cause a division by zero.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Divide By Zero
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse