Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A divide-by-zero vulnerability has been identified in the Linux kernel's Mediatek PWM driver. This issue arises in the 'pwm_mediatek_config()' function when the 'CONFIG_COMPILE_TEST' option is enabled but 'CONFIG_HAVE_CLK' is not. In this scenario, the 'clk_get_rate()' function returns zero, leading to a divide-by-zero error. Although this vulnerability is largely theoretical, as the 'COMPILE_TEST' option would typically require 'COMMON_CLK' support, it is still advisable to implement a check to prevent the divide-by-zero condition.
Exploitation of this vulnerability could lead to a divide-by-zero error, causing a potential denial of service by disrupting normal driver operations.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.