๐Ÿ” CVE Alert

CVE-2025-38277

UNKNOWN 0.0

mtd: nand: ecc-mxic: Fix use of uninitialized variable ret

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Jul 10, 2025
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new unknown vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
48e6633a9fa2400b53a964358753769f291a7eb0 < 4d9d6e4be09472aa72953caca3dbefdc27846170 48e6633a9fa2400b53a964358753769f291a7eb0 < a0d9d9b5a4634e146ae41cb25667322e5c7d74d2 48e6633a9fa2400b53a964358753769f291a7eb0 < 7a23cc510ecaabab4f6df7e9d910d16e279b72ad 48e6633a9fa2400b53a964358753769f291a7eb0 < 49482f4a39620f6afedcd3f6aa9e0d558b6a460b 48e6633a9fa2400b53a964358753769f291a7eb0 < d95846350aac72303036a70c4cdc69ae314aa26d
Linux / Linux
5.18

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/4d9d6e4be09472aa72953caca3dbefdc27846170 git.kernel.org: https://git.kernel.org/stable/c/a0d9d9b5a4634e146ae41cb25667322e5c7d74d2 git.kernel.org: https://git.kernel.org/stable/c/7a23cc510ecaabab4f6df7e9d910d16e279b72ad git.kernel.org: https://git.kernel.org/stable/c/49482f4a39620f6afedcd3f6aa9e0d558b6a460b git.kernel.org: https://git.kernel.org/stable/c/d95846350aac72303036a70c4cdc69ae314aa26d lists.debian.org: https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html