2084AI Security Observatory

CVE

CVE-2023-53357

CVE-2023-53357HIGH 7.1EPSS 11%

CNA description

In the Linux kernel, the following vulnerability has been resolved: md/raid10: check slab-out-of-bounds in md_bitmap_get_counter If we write a large number to md/bitmap_set_bits, md_bitmap_checkpage() will return -EINVAL because 'page >= bitmap->pages', but the return value was not checked immediately in md_bitmap_get_counter() in order to set *blocks value and slab-out-of-bounds occurs. Move check of 'page >= bitmap->pages' to md_bitmap_get_counter() and return directly if true.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 6.4, < 6.4.4Fixed in 6.4.4
  • ≥ 6.2, < 6.3.13Fixed in 6.3.13
  • ≥ 5.16, < 6.1.39Fixed in 6.1.39
  • ≥ 5.11, < 5.15.121Fixed in 5.15.121
  • ≥ 5.5, < 5.10.188Fixed in 5.10.188
  • ≥ 4.20, < 5.4.251Fixed in 5.4.251
  • ≥ 2.6.36, < 4.19.291Fixed in 4.19.291

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.