CVE-2025-38277
Last modified
CVE-2025-38277 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.18, < 6.1.142 |
| Linux | Linux Kernel | >= 6.2, < 6.6.94 |
| Linux | Linux Kernel | >= 6.7, < 6.12.34 |
| Linux | Linux Kernel | >= 6.13, < 6.15.3 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-38277?
How severe is CVE-2025-38277?
How do I fix CVE-2025-38277?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38271In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38272In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38273In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38274In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38275In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38276In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38278In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38279In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-3828A vulnerability was found in PHPGurukul Men Salon Management…9.8
- CVE-2025-38280In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38281In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38282In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-38277?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
