CVE-2025-37896
Linux Ubuntu vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-37896) was identified in the Linux kernel affecting SPI flash memory operations. The issue was discovered and disclosed on May 20, 2025, specifically impacting the handling of zero dummy bytes in certain SPI flash memory operations, particularly affecting Winbond SPINAND flash memory devices during writecache and updatecache operations (Wiz Security, Red Hat Security).

Technical details

The vulnerability manifests as a divide error in the spimemcalcopduration() function when handling zero dummy bytes in SPI flash memory operations. This specifically occurs during the calculation of 'ncycles' for operations where dummy bytes are not mandatory. The issue has been assigned a CVSS v3.1 score of 7.0, with the vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Red Hat Security).

Impact

When exploited, the vulnerability triggers a kernel Oops condition with the message 'divide error: 0000 [#1] PREEMPT SMP NOPTI', potentially affecting system stability and operation. This particularly impacts systems using Winbond SPINAND flash memory devices during specific operations (Wiz Security).

Mitigation and workarounds

The vulnerability has been patched by adding changes to skip the 'ncycles' calculation for zero dummy bytes in the spimemcalcopduration() function. Systems should be updated with the patched version of the Linux kernel to resolve this issue (Red Hat Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management