CVE-2023-52804: fs/jfs: Add validity check for db_maxag and db_agpref
Vulnerability summary
CVE-2023-52804 is a high (CVSS 7.8) Improper Validation of Array Index vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.4% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 10Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.26% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu117 products
- linuxAll versions (No fix recorded) | < 5.4.0-173.191 | < 5.15.0-100.110
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1120.130 | < 5.15.0-1056.61
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a0649e2dd4a3595b5595a29d0064d047c2fae2fb | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ce15b0f1a431168f07b1cc6c9f71206a2db5c809 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 32bd8f1cbcf8b663e29dd1f908ba3a129541a11b | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c6c8863fb3f57700ab583d875adda04caaf2278a | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1f74d336990f37703a8eee77153463d65b67f70e | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5013f8269887642cca784adc8db9b5f0b771533f | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < dca403bb035a565bb98ecc1dda5d30f676feda40 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2323de34a3ae61a9f9b544c18583f71cea86721f | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 64933ab7b04881c6c18b21ff206c12278341c72e | 2.6.12
- linux_kernel< 4.14.331 | ≥ 4.15, < 4.19.300 | ≥ 4.20, < 5.4.262 | ≥ 5.5, < 5.10.202 | ≥ 5.11, < 5.15.140 | ≥ 5.16, < 6.1.64 | ≥ 6.2, < 6.5.13 | ≥ 6.6, < 6.6.3
Debian1 product
- linux< 6.1.64-1 | < 6.6.8-1
3 vendors · 120 products