CVE-2026-137620 PUBLISHED

RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero

Assigner: VulDB
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

A security flaw has been discovered in RT-Thread up to 5.3.0. Affected is the function davinci_spi_get_prescale of the file bsp/dm365/drivers/spi-davinci.c of the component DM365 SPI Driver. The manipulation of the argument max_hz results in divide by zero. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The patch is identified as e12183f7b87eddf182b95bf8b400acd626880306. Applying a patch is advised to resolve this issue.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P
CVSS Score: 6.7

Product Status

Vendor n/a
Product RT-Thread
Versions
  • Version 5.0 is affected
  • Version 5.1 is affected
  • Version 5.2 is affected
  • Version 5.3.0 is affected

Credits

  • Zephyr Saxon (VulDB User) reporter

References

Problem Types

  • Divide By Zero CWE
  • Denial of Service CWE