CVE-2023-52804
fs/jfs: Add validity check for db_maxag and db_agpref
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
2.6.12
References 9
git.kernel.org
- stable/c/a0649e2dd4a3595b5595a29d0064d047c2fae2fb
- stable/c/ce15b0f1a431168f07b1cc6c9f71206a2db5c809
- stable/c/32bd8f1cbcf8b663e29dd1f908ba3a129541a11b
- stable/c/c6c8863fb3f57700ab583d875adda04caaf2278a
- stable/c/1f74d336990f37703a8eee77153463d65b67f70e
- stable/c/5013f8269887642cca784adc8db9b5f0b771533f
- stable/c/dca403bb035a565bb98ecc1dda5d30f676feda40
- stable/c/2323de34a3ae61a9f9b544c18583f71cea86721f
- stable/c/64933ab7b04881c6c18b21ff206c12278341c72e