# fs/jfs: Add validity check for db_maxag and db_agpref

CVE record · `CVE-2023-52804`

- **Identifiers:** `CVE-2023-52804`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 May 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 May 2024, 15:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a0649e2dd4a3595b5595a29d0064d047c2fae2fb` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ce15b0f1a431168f07b1cc6c9f71206a2db5c809` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 32bd8f1cbcf8b663e29dd1f908ba3a129541a11b` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c6c8863fb3f57700ab583d875adda04caaf2278a` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1f74d336990f37703a8eee77153463d65b67f70e` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5013f8269887642cca784adc8db9b5f0b771533f` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before dca403bb035a565bb98ecc1dda5d30f676feda40` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2323de34a3ae61a9f9b544c18583f71cea86721f` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 64933ab7b04881c6c18b21ff206c12278341c72e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `4.14.331 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.300 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.262 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.202 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.140 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.64 to 6.1.*, inclusive` (semver)
  - unaffected: `6.5.13 to 6.5.*, inclusive` (semver)
  - unaffected: `6.6.3 to 6.6.*, inclusive` (semver)
  - unaffected: `6.7 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 17th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 21 May 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-52804](https://www.cve.org/CVERecord?id=CVE-2023-52804)
- [NVD: CVE-2023-52804](https://nvd.nist.gov/vuln/detail/CVE-2023-52804)

### References from the CNA

- <https://git.kernel.org/stable/c/a0649e2dd4a3595b5595a29d0064d047c2fae2fb>
- <https://git.kernel.org/stable/c/ce15b0f1a431168f07b1cc6c9f71206a2db5c809>
- <https://git.kernel.org/stable/c/32bd8f1cbcf8b663e29dd1f908ba3a129541a11b>
- <https://git.kernel.org/stable/c/c6c8863fb3f57700ab583d875adda04caaf2278a>
- <https://git.kernel.org/stable/c/1f74d336990f37703a8eee77153463d65b67f70e>
- <https://git.kernel.org/stable/c/5013f8269887642cca784adc8db9b5f0b771533f>
- <https://git.kernel.org/stable/c/dca403bb035a565bb98ecc1dda5d30f676feda40>
- <https://git.kernel.org/stable/c/2323de34a3ae61a9f9b544c18583f71cea86721f>
- <https://git.kernel.org/stable/c/64933ab7b04881c6c18b21ff206c12278341c72e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-52804>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-52804/>. Everything for agents: <https://agentprime.io/llms.txt>.
