mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
Summary
| CVE | CVE-2023-54104 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-24 13:16:12 UTC |
| Updated | 2026-08-04 10:19:29 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001430000 probability, percentile 0.041000000 (date 2026-08-06)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 54309d65776755bcdb9dcf3744cd764fc1e254ea 1f09d67d390647f83f8f9d26382b0daa43756e6f git | Not specified |
| CNA | Linux | Linux | affected 54309d65776755bcdb9dcf3744cd764fc1e254ea eb7a5e4d14c8659cb97db6863316280e15f67209 git | Not specified |
| CNA | Linux | Linux | affected 54309d65776755bcdb9dcf3744cd764fc1e254ea f4b700c71802c81e6f9dce362ee7a0312c8377ba git | Not specified |
| CNA | Linux | Linux | affected 54309d65776755bcdb9dcf3744cd764fc1e254ea 49e57caf967a969f6b955c88805f2d160910aa12 git | Not specified |
| CNA | Linux | Linux | affected 54309d65776755bcdb9dcf3744cd764fc1e254ea c6abce60338aa2080973cd95be0aedad528bb41f git | Not specified |
| CNA | Linux | Linux | affected 5.9 | Not specified |
| CNA | Linux | Linux | unaffected 5.9 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.190 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.126 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.45 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.4.10 6.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.5 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/c6abce60338aa2080973cd95be0aedad528bb41f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/eb7a5e4d14c8659cb97db6863316280e15f67209 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/49e57caf967a969f6b955c88805f2d160910aa12 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1f09d67d390647f83f8f9d26382b0daa43756e6f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f4b700c71802c81e6f9dce362ee7a0312c8377ba | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.