CVE-2026-137620

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

Medium published · updated

5.2
CVSS score out of 10 · NVD (vuldb.com)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
rt-thread n/a 5.0; 5.1; 5.2; 5.3.0— CVE.org
rt-thread rt-thread 5.0; 5.1; 5.2; 5.3.0— CVE.org

References