-

CVE-2026-63935

iio: adc: nxp-sar-adc: fix division by zero in write_raw

In the Linux kernel, the following vulnerability has been resolved:

iio: adc: nxp-sar-adc: fix division by zero in write_raw

Add a validation check for the sampling frequency value before using it
as a divisor. A user writing zero or a negative value to the
sampling_frequency sysfs attribute triggers a division by zero in the
kernel.

Also prevent unsigned integer underflow when the computed cycle count is
smaller than NXP_SAR_ADC_CONV_TIME, which would wrap the u32 inpsamp to
a huge value.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version 4434072a893e4864519c167947083ff3e4cc2d95
Version < cb6ea15e7d3c7518f806975a06b7d4c0a26402ea
Status affected
Version 4434072a893e4864519c167947083ff3e4cc2d95
Version < a9aba21a539c668a66b58eeb08ad3909e5a54c2a
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 7.0
Status affected
Version 0
Version < 7.0
Status unaffected
Version <= 7.0.*
Version 7.0.12
Status unaffected
Version <= *
Version 7.1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.19% 0.088
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/cb6ea15e7d3c7518f806975a06b7d4c0a26402ea
https://git.kernel.org/stable/c/a9aba21a539c668a66b58eeb08ad3909e5a54c2a