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
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.
| Product | Versions |
|---|---|
| RT-Thread n/a | 5.0 Affected5.1 Affected5.2 Affected5.3.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.7 Medium | VulDB | |
| 3.1 | 4.4 Medium | VulDB | |
| 3.0 | 4.4 Medium | VulDB | |
| 2.0 | 4.3 Medium | VulDB |
Weaknesses
References
- VDB-444433 | RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zeroVulnerability DatabaseTechnical Details
- VDB-444433 | CTI Indicators (IOB, IOC, IOA)Detection RuleSign-In Required
- CVE-2026-137620 | CVE Analysis and ReportThird-Party Advisory
- Submit #1064278 | RT-Thread v5.3.0 Improper Handling of ParametersThird-Party Advisory
- https://github.com/RT-Thread/rt-thread/issues/11950ExploitIssue Tracker
- https://github.com/RT-Thread/rt-thread/pull/11957Issue TrackerPatch
- https://github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626880306Patch
- https://github.com/RT-Thread/rt-thread/Product Page
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.