{"id":"CVE-2023-52804","published":"2024-05-21T15:31:15Z","modified":"2026-08-05T09:11:29Z","title":"fs/jfs: Add validity check for db_maxag and db_agpref","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/jfs: Add validity check for db_maxag and db_agpref\n\nBoth db_maxag and db_agpref are used as the index of the\ndb_agfree array, but there is currently no validity check for\ndb_maxag and db_agpref, which can lead to errors.\n\nThe following is related bug reported by Syzbot:\n\nUBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:639:20\nindex 7936 is out of range for type 'atomic_t[128]'\n\nAdd checking that the values of db_maxag and db_agpref are valid\nindexes for the db_agfree array.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00257,"percentile":0.17678,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a0649e2dd4a3595b5595a29d0064d047c2fae2fb","tags":[]},{"url":"https://git.kernel.org/stable/c/ce15b0f1a431168f07b1cc6c9f71206a2db5c809","tags":[]},{"url":"https://git.kernel.org/stable/c/32bd8f1cbcf8b663e29dd1f908ba3a129541a11b","tags":[]},{"url":"https://git.kernel.org/stable/c/c6c8863fb3f57700ab583d875adda04caaf2278a","tags":[]},{"url":"https://git.kernel.org/stable/c/1f74d336990f37703a8eee77153463d65b67f70e","tags":[]},{"url":"https://git.kernel.org/stable/c/5013f8269887642cca784adc8db9b5f0b771533f","tags":[]},{"url":"https://git.kernel.org/stable/c/dca403bb035a565bb98ecc1dda5d30f676feda40","tags":[]},{"url":"https://git.kernel.org/stable/c/2323de34a3ae61a9f9b544c18583f71cea86721f","tags":[]},{"url":"https://git.kernel.org/stable/c/64933ab7b04881c6c18b21ff206c12278341c72e","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.54},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a0649e2dd4a3595b5595a29d0064d047c2fae2fb",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ce15b0f1a431168f07b1cc6c9f71206a2db5c809",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 32bd8f1cbcf8b663e29dd1f908ba3a129541a11b",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c6c8863fb3f57700ab583d875adda04caaf2278a",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1f74d336990f37703a8eee77153463d65b67f70e",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5013f8269887642cca784adc8db9b5f0b771533f",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < dca403bb035a565bb98ecc1dda5d30f676feda40",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 2323de34a3ae61a9f9b544c18583f71cea86721f",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 64933ab7b04881c6c18b21ff206c12278341c72e"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:36:50.346379Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59521","exploited":false,"provenance":"source"}}