CVE-2023-53357

Source
https://cve.org/CVERecord?id=CVE-2023-53357
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53357.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53357
Downstream
Related
Published
2025-09-17T14:56:47.171Z
Modified
2026-03-20T12:33:06.821565Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
Details

In the Linux kernel, the following vulnerability has been resolved:

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

If we write a large number to md/bitmapsetbits, mdbitmapcheckpage() will return -EINVAL because 'page >= bitmap->pages', but the return value was not checked immediately in mdbitmapget_counter() in order to set *blocks value and slab-out-of-bounds occurs.

Move check of 'page >= bitmap->pages' to mdbitmapget_counter() and return directly if true.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53357.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ef4256733506f2459a0c436b62267d22a3f0cec6
Fixed
374fb914304d9b500721007f3837ea8f1f9a2418
Fixed
b0b971fe7d61411ede63c3291764dbde1577ef2c
Fixed
39fa14e824acfd470db4f42c354297456bd82b53
Fixed
a134dd582c0d5b6068efa308bd485cf1d00b3f65
Fixed
be1a3ec63a840cc9e59a033acf154f56255699a1
Fixed
152bb26796ff054af50b2ee1b3ca56e364e4f61b
Fixed
bea301c046110bf421a3ce153fb868cb8d618e90
Fixed
301867b1c16805aebbc306aafa6ecdc68b73c7e5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53357.json"