{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-54104","id":"CVE-2023-54104","title":"mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()","description":"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\nwo","descriptionLong":"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.","published":"2025-12-24T13:06:29.354Z","updated":"2026-10-28T02:30:21.364845114Z","reserved":"2025-12-24T13:02:52.517Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"54309d65776755bcdb9dcf3744cd764fc1e254ea","lessThan":"1f09d67d390647f83f8f9d26382b0daa43756e6f","status":"affected","versionType":"git"},{"version":"54309d65776755bcdb9dcf3744cd764fc1e254ea","lessThan":"eb7a5e4d14c8659cb97db6863316280e15f67209","status":"affected","versionType":"git"},{"version":"54309d65776755bcdb9dcf3744cd764fc1e254ea","lessThan":"f4b700c71802c81e6f9dce362ee7a0312c8377ba","status":"affected","versionType":"git"},{"version":"54309d65776755bcdb9dcf3744cd764fc1e254ea","lessThan":"49e57caf967a969f6b955c88805f2d160910aa12","status":"affected","versionType":"git"},{"version":"54309d65776755bcdb9dcf3744cd764fc1e254ea","lessThan":"c6abce60338aa2080973cd95be0aedad528bb41f","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","lessThan":"5.9","status":"unaffected","versionType":"semver"},{"version":"5.10.190","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.126","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.45","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.10","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/1f09d67d390647f83f8f9d26382b0daa43756e6f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/eb7a5e4d14c8659cb97db6863316280e15f67209","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f4b700c71802c81e6f9dce362ee7a0312c8377ba","tags":["web"]},{"url":"https://git.kernel.org/stable/c/49e57caf967a969f6b955c88805f2d160910aa12","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c6abce60338aa2080973cd95be0aedad528bb41f","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54104.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54104","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00165,"epssPercentile":0.05856,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-54104","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54104","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-54104","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-54104","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}