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

State
Published
Severity
6.7 Medium
Published
Nov 26, 2026
Updated
Nov 26, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

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.

ProductVersions
RT-Thread n/a5.0 Affected5.1 Affected5.2 Affected5.3.0 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.