CVE-2025-38277
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
mtd: nand: ecc-mxic: Fix use of uninitialized variable ret
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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 48e6633a9fa2400b53a964358753769f291a7eb0 | affected | git | 4d9d6e4be09472aa72953caca3dbefdc27846170 | Unavailable | None listed |
| 48e6633a9fa2400b53a964358753769f291a7eb0 | affected | git | a0d9d9b5a4634e146ae41cb25667322e5c7d74d2 | Unavailable | None listed |
| 48e6633a9fa2400b53a964358753769f291a7eb0 | affected | git | 7a23cc510ecaabab4f6df7e9d910d16e279b72ad | Unavailable | None listed |
| 48e6633a9fa2400b53a964358753769f291a7eb0 | affected | git | 49482f4a39620f6afedcd3f6aa9e0d558b6a460b | Unavailable | None listed |
| 48e6633a9fa2400b53a964358753769f291a7eb0 | affected | git | d95846350aac72303036a70c4cdc69ae314aa26d | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.18 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.18 | Unavailable | None listed |
| 6.1.142 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.94 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.34 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.15.3 | unaffected | semver | Unavailable | 6.15.* | None listed |
| 6.16 | unaffected | original_commit_for_fix | Unavailable | * | None listed |