Divide by zero in RT-Thread DM365 SPI driver
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-369.
Summary
RT-Thread up to 5.3.0 contains a divide by zero flaw (CWE-369) in the DM365 SPI driver function davinci_spi_get_prescale. Manipulating the max_hz argument triggers the division by zero. A local attacker with high privileges can exploit it, and a public exploit has been released.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | RT-Thread | 5.0; 5.1; 5.2; 5.3.0 | — | No fix listed | CNA |
- RT-Thread Vendor— Affected 5.0; 5.1; 5.2; 5.3.0 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for RT-Thread. The source description advises applying the patch identified as commit e12183f.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137620
- 2026-11-27 Alias added: GHSA-9v36-c397-jjfj
References
Sources
- CVE-2026-137620 · CVE Program
- CVE-2026-137620 · NVD
- FIRST EPSS
- GHSA-9v36-c397-jjfj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences