Linux Kernel NXP SAR ADC Division by Zero Vulnerability in Sampling Frequency Handling

Vulnerability

A vulnerability in the Linux kernel's NXP SAR ADC driver can lead to a division by zero error. This issue occurs when a user writes a zero or negative value to the sampling_frequency sysfs attribute, triggering the error in the kernel. The vulnerability also includes an unsigned integer underflow risk when the calculated cycle count is less than a specific conversion time, potentially wrapping the cycle count to a large value. The vulnerability affects the stable version of the Linux kernel.

Impact

Exploitation of this vulnerability causes a division by zero error, which can lead to a kernel crash or undefined behavior.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the latest kernel version are available on the official Linux kernel website.

Added: Jul 19, 2026, 7:50 PM
Updated: Jul 19, 2026, 7:50 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.5
remediation
7.7
relevance
9.7
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.