CVE-2026-64236
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/07/2026
Última modificación:
24/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
i2c: davinci: fix division by zero on missing clock-frequency<br />
<br />
When the &#39;clock-frequency&#39; property is missing from the device tree,<br />
the driver falls back to DAVINCI_I2C_DEFAULT_BUS_FREQ. However, this<br />
macro was defined in kHz (100), whereas the device tree property is<br />
expected in Hz.<br />
<br />
The probe function divided the fallback value by 1000, causing<br />
integer truncation that resulted in dev->bus_freq = 0. This triggered<br />
a deterministic division-by-zero kernel panic when calculating clock<br />
dividers later in the probe sequence.<br />
<br />
Fix this by redefining DAVINCI_I2C_DEFAULT_BUS_FREQ in Hz (100000)<br />
to match the expected device tree property unit, allowing the existing<br />
division logic to work correctly for both cases.



