jfs: fix array-index-out-of-bounds in dbFindLeaf (Linux Linux)

CVE-2023-52799
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: jfs: fix array-index-out-of-bounds in dbFindLeaf Currently while searching for dmtree_t for sufficient free blocks there is an array out of bounds while getting element in tp->dm_stree. To add the required check for out of bound we first need to determine the type of dmtree. Thus added an extra parameter to dbFindLeaf so that the type of tree can be determined and the required check can be applied.

Weaknesses (CWE)

  • CWE-129 — Improper Validation of Array Index

References

Scores

VersionScoreVectorScored by
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)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 20f9310a18e3e99fc031e036fcbed67105ae1859 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 86df90f3fea7c5591f05c8a0010871d435e83046 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ecfb47f13b08b02cf28b7b50d4941eefa21954d2 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 81aa58cd8495b8c3b527f58ccbe19478d8087f61 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < da3da5e1e6f71c21d8e6149d7076d936ef5d4cb9 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a50b796d36719757526ee094c703378895ab5e67
Linux · Linuxaffected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 4.14.331 ≤ 4.14.* ; unaffected 4.19.300 ≤ 4.19.* ; unaffected 5.4.262 ≤ 5.4.* ; unaffected 5.10.202 ≤ 5.10.*

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