CVE-2023-52804CWE-129

CVE-2023-52804

High · published May 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
16.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

fs/jfs: Add validity check for db_maxag and db_agpref

Both db_maxag and db_agpref are used as the index of the

db_agfree array, but there is currently no validity check for

db_maxag and db_agpref, which can lead to errors.

The following is related bug reported by Syzbot:

UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:639:20

index 7936 is out of range for type 'atomic_t[128]'

Add checking that the values of db_maxag and db_agpref are valid

indexes for the db_agfree array.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00257 · 16.4th percentile
Weakness
CWE-129 · Improper Validation of Array Index
Published
2024-05-21T20:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel< 4.14.3314.14.331
linux/linux_kernel≥ 4.15, < 4.19.3004.19.300
linux/linux_kernel≥ 4.20, < 5.4.2625.4.262
linux/linux_kernel≥ 5.5, < 5.10.2025.10.202
linux/linux_kernel≥ 5.11, < 5.15.1405.15.140
linux/linux_kernel≥ 5.16, < 6.1.646.1.64
linux/linux_kernel≥ 6.2, < 6.5.136.5.13
linux/linux_kernel≥ 6.6, < 6.6.36.6.3
References (18)
https://git.kernel.org/stable/c/1f74d336990f37703a8eee77153463d65b67f70e · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2323de34a3ae61a9f9b544c18583f71cea86721f · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/32bd8f1cbcf8b663e29dd1f908ba3a129541a11b · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5013f8269887642cca784adc8db9b5f0b771533f · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/64933ab7b04881c6c18b21ff206c12278341c72e · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a0649e2dd4a3595b5595a29d0064d047c2fae2fb · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/c6c8863fb3f57700ab583d875adda04caaf2278a · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ce15b0f1a431168f07b1cc6c9f71206a2db5c809 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/dca403bb035a565bb98ecc1dda5d30f676feda40 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1f74d336990f37703a8eee77153463d65b67f70e · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/2323de34a3ae61a9f9b544c18583f71cea86721f · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/32bd8f1cbcf8b663e29dd1f908ba3a129541a11b · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5013f8269887642cca784adc8db9b5f0b771533f · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/64933ab7b04881c6c18b21ff206c12278341c72e · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/a0649e2dd4a3595b5595a29d0064d047c2fae2fb · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/c6c8863fb3f57700ab583d875adda04caaf2278a · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ce15b0f1a431168f07b1cc6c9f71206a2db5c809 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/dca403bb035a565bb98ecc1dda5d30f676feda40 · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 21 MAY 15:31Z
    fs/jfs: Add validity check for db_maxag and db_agpref
    cvelistv5