GHSA-39vf-5xqf-2xfvHighCVSS 7.8

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: fsl_upm: Fix...

Published
December 24, 2025
Last Modified
August 4, 2026

🔗 CVE IDs covered (1)

📋 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.

🔗 References (7)