CVE-2023-54104

published 24 Dec 2025 · updated 5 Aug 2026

mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1f09d67d390647f83f8f9d26382b0daa43756e6f, Kernel 49e57caf967a969f6b955c88805f2d160910aa12, Kernel c6abce60338aa2080973cd95be0aedad528bb41f and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.9, >=54309d65776755bcdb9dcf3744cd764fc1e254ea <1f09d67d390647f83f8f9d26382b0daa43756e6f, >=54309d65776755bcdb9dcf3744cd764fc1e254ea <49e57caf967a969f6b955c88805f2d160910aa12, >=54309d65776755bcdb9dcf3744cd764fc1e254ea <c6abce60338aa2080973cd95be0aedad528bb41f, >=54309d65776755bcdb9dcf3744cd764fc1e254ea <eb7a5e4d14c8659cb97db6863316280e15f67209, >=54309d65776755bcdb9dcf3744cd764fc1e254ea <f4b700c71802c81e6f9dce362ee7a0312c8377ba1f09d67d390647f83f8f9d26382b0daa43756e6f, 49e57caf967a969f6b955c88805f2d160910aa12, c6abce60338aa2080973cd95be0aedad528bb41f, eb7a5e4d14c8659cb97db6863316280e15f67209, f4b700c71802c81e6f9dce362ee7a0312c8377ba

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54104 severity on Zeptric[![CVE-2023-54104](https://zeptric.io/badge/cve/CVE-2023-54104.svg)](https://zeptric.io/cve/CVE-2023-54104)