CVE-2023-53357
HIGH 7.1CVSS 3.1In 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.
- Published
- 17 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-125
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 2.6.36, < 4.19.291 | 4.19.291 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.20, < 5.4.251 | 5.4.251 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.188 | 5.10.188 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.121 | 5.15.121 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.39 | 6.1.39 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.3.13 | 6.3.13 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.4, < 6.4.4 | 6.4.4 |
References
- https://git.kernel.org/stable/c/152bb26796ff054af50b2ee1b3ca56e364e4f61b · Patch
- https://git.kernel.org/stable/c/301867b1c16805aebbc306aafa6ecdc68b73c7e5 · Patch
- https://git.kernel.org/stable/c/374fb914304d9b500721007f3837ea8f1f9a2418 · Patch
- https://git.kernel.org/stable/c/39fa14e824acfd470db4f42c354297456bd82b53 · Patch
- https://git.kernel.org/stable/c/a134dd582c0d5b6068efa308bd485cf1d00b3f65 · Patch
- https://git.kernel.org/stable/c/b0b971fe7d61411ede63c3291764dbde1577ef2c · Patch
- https://git.kernel.org/stable/c/be1a3ec63a840cc9e59a033acf154f56255699a1 · Patch
- https://git.kernel.org/stable/c/bea301c046110bf421a3ce153fb868cb8d618e90 · Patch
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 17 Sep 2025)