Skip to main content
Network Thinking Solutions Logo

CVE-2023-52804

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.

All CVEs
CVE-2023-52804Published 5/21/2024

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.

Vendor advisory
CVSS7.8High

Overview

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.

Published
5/21/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 4.14.331

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.300

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.262

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.202

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.140

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.64

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.5.13

Verify advisory

Source
linux kernel
linux
≥ 6.6, < 6.6.3

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a0649e2dd4a3595b5595a29d0064d047c2fae2fb

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ce15b0f1a431168f07b1cc6c9f71206a2db5c809

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 32bd8f1cbcf8b663e29dd1f908ba3a129541a11b

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c6c8863fb3f57700ab583d875adda04caaf2278a

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1f74d336990f37703a8eee77153463d65b67f70e

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5013f8269887642cca784adc8db9b5f0b771533f

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < dca403bb035a565bb98ecc1dda5d30f676feda40

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2323de34a3ae61a9f9b544c18583f71cea86721f

Verify advisory

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 64933ab7b04881c6c18b21ff206c12278341c72e

Verify advisory

Source
Linux
Linux
2.6.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.