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

CVE-2023-54104
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 54309d65776755bcdb9dcf3744cd764fc1e254ea < 1f09d67d390647f83f8f9d26382b0daa43756e6f ; affected 54309d65776755bcdb9dcf3744cd764fc1e254ea < eb7a5e4d14c8659cb97db6863316280e15f67209 ; affected 54309d65776755bcdb9dcf3744cd764fc1e254ea < f4b700c71802c81e6f9dce362ee7a0312c8377ba ; affected 54309d65776755bcdb9dcf3744cd764fc1e254ea < 49e57caf967a969f6b955c88805f2d160910aa12 ; affected 54309d65776755bcdb9dcf3744cd764fc1e254ea < c6abce60338aa2080973cd95be0aedad528bb41f
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.10.190 ≤ 5.10.* ; unaffected 5.15.126 ≤ 5.15.* ; unaffected 6.1.45 ≤ 6.1.* ; unaffected 6.4.10 ≤ 6.4.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD