CVE & CISA-KEV Catalog

CVE-2023-52804

HIGH
7.8
CVSS v3
NVD

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.

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.205-1CVE-2023-52804
Fixed in:6.1.64-1CVE-2023-52804
Fixed in:6.6.8-1CVE-2023-52804
Fixed in:6.6.8-1CVE-2023-52804

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.26%probability of exploitation in 30 days
17thpercentile

Low risk: more likely to be exploited than 17% of all known CVEs.

References

Related Vulnerabilities

Other CWE-129 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-35592Medium6.351%-Fix
CVE-2021-35598Medium6.350%-Fix
CVE-2021-35594Medium6.350%-Fix
CVE-2022-35737High7.519%-Fix
CVE-2014-6317High7.118%--
CVE-2023-40477High7.813%-Fix
Embed a live status badge for CVE-2023-52804
CVE-2023-52804 severity badge

Markdown

[![CVE-2023-52804](https://tridentstack.com/cve/badge/CVE-2023-52804.svg)](https://tridentstack.com/cve/CVE-2023-52804)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-52804"><img src="https://tridentstack.com/cve/badge/CVE-2023-52804.svg" alt="CVE-2023-52804"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-23.