Read the docs

Divide by zero in RT-Thread DM365 SPI driver

Priority LOW 29CWE-369Published · Updated

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

EPSS 0.00191 5th percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—RT-Thread5.0; 5.1; 5.2; 5.3.0—No fix listedCNA
  • RT-Thread Vendor— Affected 5.0; 5.1; 5.2; 5.3.0 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:rt-thread:rt-thread:*:*:*:*:*:*:*:*——RT-Thread
  • cpe:2.3:a:rt-thread:rt-thread:*:*:*:*:*:*:*:* Versions — — ·RT-Thread

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

  1. 2026-11-26 Threatist record created from CVE-2026-137620
  2. 2026-11-27 Alias added: GHSA-9v36-c397-jjfj

References

Sources