CVEvulnerability

CVE-2023-53357

7.1 HIGH Published 2025-09-17 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-09-17
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125

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 configurations

• linux linux kernel (>= 2.6.36 < 4.19.291) • linux linux kernel (>= 4.20 < 5.4.251) • linux linux kernel (>= 5.5 < 5.10.188) • linux linux kernel (>= 5.11 < 5.15.121) • linux linux kernel (>= 5.16 < 6.1.39) • linux linux kernel (>= 6.2 < 6.3.13) • linux linux kernel (>= 6.4 < 6.4.4)

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References