Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.7CVE-2026-137620

CVE-2026-137620: RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero

RT-Thread

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-137620: medium-severity vulnerability (CVSS 6.7) in RT-Thread.

What happened

Original description from the source: 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

Medium severity, CVSS 6.7.

Affected products and versions

RT-Thread 5.0; RT-Thread 5.1; RT-Thread 5.2; RT-Thread 5.3.0

ProductVersionsFixed in
RT-Thread5.0—
RT-Thread5.1—
RT-Thread5.2—
RT-Thread5.3.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-369, CWE-404

Relevant change history

  1. Published

    Preliminary advisory published.