{"id":"CVE-2023-54104","published":"2025-12-24T13:06:29Z","modified":"2026-08-05T09:17:18Z","title":"mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()\n\n'op-cs' is copied in 'fun->mchip_number' which is used to access the\n'mchip_offsets' and the 'rnb_gpio' arrays.\nThese arrays have NAND_MAX_CHIPS elements, so the index must be below this\nlimit.\n\nFix the sanity check in order to avoid the NAND_MAX_CHIPS value. This\nwould lead to out-of-bound accesses.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00232,"percentile":0.08482,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1f09d67d390647f83f8f9d26382b0daa43756e6f","tags":[]},{"url":"https://git.kernel.org/stable/c/eb7a5e4d14c8659cb97db6863316280e15f67209","tags":[]},{"url":"https://git.kernel.org/stable/c/f4b700c71802c81e6f9dce362ee7a0312c8377ba","tags":[]},{"url":"https://git.kernel.org/stable/c/49e57caf967a969f6b955c88805f2d160910aa12","tags":[]},{"url":"https://git.kernel.org/stable/c/c6abce60338aa2080973cd95be0aedad528bb41f","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":1.7},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 54309d65776755bcdb9dcf3744cd764fc1e254ea, < 1f09d67d390647f83f8f9d26382b0daa43756e6f",">= 54309d65776755bcdb9dcf3744cd764fc1e254ea, < eb7a5e4d14c8659cb97db6863316280e15f67209",">= 54309d65776755bcdb9dcf3744cd764fc1e254ea, < f4b700c71802c81e6f9dce362ee7a0312c8377ba",">= 54309d65776755bcdb9dcf3744cd764fc1e254ea, < 49e57caf967a969f6b955c88805f2d160910aa12",">= 54309d65776755bcdb9dcf3744cd764fc1e254ea, < c6abce60338aa2080973cd95be0aedad528bb41f"]},{"vendor":"Linux","product":"Linux","versions":["5.9"]}],"euvd":{"id":"EUVD-2023-60341","exploited":false,"provenance":"source"}}