Bug 2425130 (CVE-2023-54104) - CVE-2023-54104 kernel: mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
Summary: CVE-2023-54104 kernel: mtd: rawnand: fsl_upm: Fix an off-by one test in fun_e...
Keywords:
Status: NEW
Alias: CVE-2023-54104
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 14:05 UTC by OSIDB Bzimport
Modified: 2025-12-25 00:19 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 14:05:10 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.