CVE-2023-54104 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op() 'op-cs' is copied in 'fun->mchip_number' which is used to access the 'mchip_offsets' and the 'rnb_gpio' arrays. These arrays have NAND_MAX_CHIPS elements, so the index must be below this limit. Fix the sanity check in order to avoid the NAND_MAX_CHIPS value. This would lead to out-of-bound accesses.
An off-by-one vulnerability has been identified in the Linux kernel's handling of NAND chip operations, specifically within the 'fun_exec_op' function of the 'fsl_upm' driver. This vulnerability arises because the 'op-cs' value is incorrectly validated, allowing it to equal or exceed the maximum number of NAND chips. Consequently, this flaw can lead to out-of-bounds array accesses, potentially causing memory corruption or other unintended behaviors.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1f09d67d390647f83f8f9d26382b0daa43756e6f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/49e57caf967a969f6b955c88805f2d160910aa12 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/c6abce60338aa2080973cd95be0aedad528bb41f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/eb7a5e4d14c8659cb97db6863316280e15f67209 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f4b700c71802c81e6f9dce362ee7a0312c8377ba | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion