CVE-2025-38277
MEDIUMLinux Kernel - Use of Uninitialized Resource in MTD NAND ECC-MXIC Driver
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: mtd: nand: ecc-mxic: Fix use of uninitialized variable ret If ctx->steps is zero, the loop processing ECC steps is skipped, and the variable ret remains uninitialized. It is later checked and returned, which leads to undefined behavior and may cause unpredictable results in user space or kernel crashes. This scenario can be triggered in edge cases such as misconfigured geometry, ECC engine misuse, or if ctx->steps is not validated after initialization. Initialize ret to zero before the loop to ensure correct and safe behavior regardless of the ctx->steps value. Found by Linux Verification Center (linuxtesting.org) with SVACE.
References (6)
Core 6
Core References
Third Party Advisory, Mailing List
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Scores
CVSS v3
5.5
EPSS
0.0016
EPSS Percentile
5.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-908
Status
published
Products (18)
debian/debian_linux
11.0
linux/Kernel
5.18.0 - 6.1.142linux
linux/Kernel
6.13.0 - 6.15.3linux
linux/Kernel
6.2.0 - 6.6.94linux
linux/Kernel
6.7.0 - 6.12.34linux
Linux/Linux
< 5.18
Linux/Linux
48e6633a9fa2400b53a964358753769f291a7eb0 - 49482f4a39620f6afedcd3f6aa9e0d558b6a460b
Linux/Linux
48e6633a9fa2400b53a964358753769f291a7eb0 - 4d9d6e4be09472aa72953caca3dbefdc27846170
Linux/Linux
48e6633a9fa2400b53a964358753769f291a7eb0 - 7a23cc510ecaabab4f6df7e9d910d16e279b72ad
Linux/Linux
48e6633a9fa2400b53a964358753769f291a7eb0 - a0d9d9b5a4634e146ae41cb25667322e5c7d74d2
... and 8 more
Published
Jul 10, 2025
Tracked Since
Feb 18, 2026