CVE-2025-37840
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-37840 is a vulnerability discovered in the Linux kernel's MTD NAND subsystem, specifically affecting the Broadcom NAND controller driver (brcmnand). The issue was disclosed on May 9, 2025, and involves an uninitialized struct nand_operation that performs chip select field validation during power management (PM) resume operations (NVD, Wiz).

Technical details

The vulnerability manifests as a warning during PM resume operations in the drivers/mtd/nand/raw/internals.h file at line 139. The issue occurs when the system checks the chip select field using WARN_ON(op->cs >= nanddev_ntargets(&chip->base)) with an uninitialized struct nand_operation. The vulnerability has been assigned a CVSS v3.1 score of 5.5 with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (RedHat).

Impact

The vulnerability primarily affects system logging and debugging functionality, resulting in warning messages during system resume operations. The impact is considered moderate, with no direct security exploits reported (Wiz, RedHat).

Mitigation and workarounds

The vulnerability has been resolved by implementing a fix that uses the higher-level nand_reset(chip, chipnr) function with chipnr = 0 during PM resume operations. This modification ensures compliance with the controller's support for single die NAND chips, replacing the previous use of nand_reset_op() (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

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