CVE-2023-54104
Published Dec 24, 2025
Modified Apr 15, 2026
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.
Is your site exposed to CVE-2023-54104?
Run a free security scan — no signup, results in seconds.
References
Other References
https://git.kernel.org/stable/c/1f09d67d390647f83f8f9d26382b0daa43756e6f
https://git.kernel.org/stable/c/49e57caf967a969f6b955c88805f2d160910aa12
https://git.kernel.org/stable/c/c6abce60338aa2080973cd95be0aedad528bb41f
https://git.kernel.org/stable/c/eb7a5e4d14c8659cb97db6863316280e15f67209
https://git.kernel.org/stable/c/f4b700c71802c81e6f9dce362ee7a0312c8377ba
Frequently Asked Questions
What is CVE-2023-54104? +
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.
How do I check if I'm vulnerable to CVE-2023-54104? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.