2084AI Security Observatory

CVE

CVE-2023-52804

CVE-2023-52804HIGH 7.8EPSS 17%

CNA 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.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.6, < 6.6.3Fixed in 6.6.3
  • ≥ 6.2, < 6.5.13Fixed in 6.5.13
  • ≥ 5.16, < 6.1.64Fixed in 6.1.64
  • ≥ 5.11, < 5.15.140Fixed in 5.15.140
  • ≥ 5.5, < 5.10.202Fixed in 5.10.202
  • ≥ 4.20, < 5.4.262Fixed in 5.4.262
  • ≥ 4.15, < 4.19.300Fixed in 4.19.300
  • < 4.14.331Fixed in 4.14.331

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.