CVE-2023-54104 json
mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
published 2025-12-24 10 mo ago modified 2026-08-05 3 mo ago also EUVD-2023-60341
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.190, 5.15.126, 6.1.45, 6.4.10, 6.5
- linux Debian 12 6.1.52-1
- linux Debian 14, Debian 13 6.4.11-1
debian advisories DEBIAN-CVE-2023-54104
- linux Ubuntu 22.04 LTS 5.15.0-88.98
- linux-aws Ubuntu 22.04 LTS 5.15.0-1049.54
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1046.54
- linux-gke Ubuntu 22.04 LTS 5.15.0-1046.51
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1042.45
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1046.51
- linux-azure Ubuntu 22.04 LTS 5.15.0-1051.59
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1032.38
ubuntu advisories UBUNTU-CVE-2023-54104
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-40.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-40.1
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.194.1
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 5.14.21-150400.24.194.1
- kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.194.1
- kernel-default-base SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +3 more 5.14.21-150400.24.194.1.150400.24.98.3
suse advisories SUSE-SU-2026:20845-1SUSE-SU-2026:20876-1SUSE-SU-2026:0617-1SUSE-SU-2026:20477-1SUSE-SU-2026:20498-1SUSE-SU-2026:0411-1
- git.kernel.org/stable/c/1f09d67d390647f83f8f9d26382b0daa43756e6f commit
- git.kernel.org/stable/c/eb7a5e4d14c8659cb97db6863316280e15f67209 commit
- git.kernel.org/stable/c/f4b700c71802c81e6f9dce362ee7a0312c8377ba commit
- git.kernel.org/stable/c/49e57caf967a969f6b955c88805f2d160910aa12 commit
- git.kernel.org/stable/c/c6abce60338aa2080973cd95be0aedad528bb41f commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-54104 updated cvss 7.8
kernel: Linux kernel: Privilege escalation via out-of-bounds access in NAND flash driver
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/1f09d67d390647f83f8f9d26382b0daa43756e6f
- git.kernel.org /stable/c/eb7a5e4d14c8659cb97db6863316280e15f67209
- git.kernel.org /stable/c/f4b700c71802c81e6f9dce362ee7a0312c8377ba
- git.kernel.org /stable/c/49e57caf967a969f6b955c88805f2d160910aa12
- git.kernel.org /stable/c/c6abce60338aa2080973cd95be0aedad528bb41f
Sources
- CVE List CVE-2023-54104
- NVD CVE-2023-54104
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.