CVE-2023-53357

md/raid10: check slab-out-of-bounds in md_bitmap_get_counter

High · published September 17, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Published
2025-09-17T14:56Z
EPSS history
Timeline
  • 17 SEP 14:56Z
    md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
    cvelistv5