# CVE-2023-52799: jfs: fix array-index-out-of-bounds in dbFindLeaf

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-21 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2023-52799, DEBIAN-CVE-2023-52799
- Record: https://cvemate.com/vulnerability/CVE-2023-52799 · JSON: https://cvemate.com/vulnerability/CVE-2023-52799/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.257%, percentile 18.455%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 120)

- debian linux (Debian): \< 6.1.64-1 \| \< 6.6.8-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-266.300 \| \< 4.15.0-235.247 \| \< 5.4.0-173.191 \| \< 5.15.0-100.110
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1141.147 \| \< 4.4.0-1179.194 \| \< 4.15.0-1178.191 \| \< 5.4.0-1120.130 \| \< 5.15.0-1056.61
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1056.61~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1120.130~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2116.122 \| All versions (No fix recorded) \| \< 5.4.0-1120.130+fips1 \| \< 5.15.0-1056.61+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1178.191~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1186.201~14.04.1 \| \< 4.15.0-1186.201~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1126.133 \| \< 5.15.0-1058.66
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1186.201
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/20f9310a18e3e99fc031e036fcbed67105ae1859>
- <https://git.kernel.org/stable/c/86df90f3fea7c5591f05c8a0010871d435e83046>
- <https://git.kernel.org/stable/c/ecfb47f13b08b02cf28b7b50d4941eefa21954d2>
- <https://git.kernel.org/stable/c/81aa58cd8495b8c3b527f58ccbe19478d8087f61>
- <https://git.kernel.org/stable/c/da3da5e1e6f71c21d8e6149d7076d936ef5d4cb9>
- <https://git.kernel.org/stable/c/a50b796d36719757526ee094c703378895ab5e67>
- <https://git.kernel.org/stable/c/88b7894a8f8705bf4e7ea90b10229376abf14514>
- <https://git.kernel.org/stable/c/87c681ab49e99039ff2dd3e71852417381b13878>
- <https://git.kernel.org/stable/c/22cad8bc1d36547cdae0eef316c47d917ce3147c>
- <https://ubuntu.com/security/CVE-2023-52799>
- <https://www.cve.org/CVERecord?id=CVE-2023-52799>
- <https://git.kernel.org/linus/22cad8bc1d36547cdae0eef316c47d917ce3147c>
- <https://ubuntu.com/security/notices/USN-7332-1>
- <https://ubuntu.com/security/notices/USN-7342-1>
- <https://ubuntu.com/security/notices/USN-7344-1>
- <https://ubuntu.com/security/notices/USN-7332-2>
- <https://ubuntu.com/security/notices/USN-7332-3>
- <https://ubuntu.com/security/notices/USN-7344-2>
- <https://security-tracker.debian.org/tracker/CVE-2023-52799>

---

Data as of 2026-12-05T06:21:53.160Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
