{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-52804","published":"2024-05-21T16:15:18.820000Z","last_modified":"2026-08-04T10:18:42.377000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-129"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_end_excluding":"4.14.331"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.300"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.262"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.202"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.140"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.64"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.5.13"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.6","version_end_excluding":"6.6.3"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00333,"percentile":0.18974,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2023-52804/","html_en":"/en/cve/CVE-2023-52804/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-52804","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-52804"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"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.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/1f74d336990f37703a8eee77153463d65b67f70e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/2323de34a3ae61a9f9b544c18583f71cea86721f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/32bd8f1cbcf8b663e29dd1f908ba3a129541a11b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5013f8269887642cca784adc8db9b5f0b771533f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/64933ab7b04881c6c18b21ff206c12278341c72e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a0649e2dd4a3595b5595a29d0064d047c2fae2fb","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c6c8863fb3f57700ab583d875adda04caaf2278a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ce15b0f1a431168f07b1cc6c9f71206a2db5c809","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dca403bb035a565bb98ecc1dda5d30f676feda40","tags":["Patch"]}]}}