{"id":"CVE-2023-53357","summary":"md/raid10: check slab-out-of-bounds in md_bitmap_get_counter","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: check slab-out-of-bounds in md_bitmap_get_counter\n\nIf we write a large number to md/bitmap_set_bits, md_bitmap_checkpage()\nwill return -EINVAL because 'page \u003e= bitmap-\u003epages', but the return value\nwas not checked immediately in md_bitmap_get_counter() in order to set\n*blocks value and slab-out-of-bounds occurs.\n\nMove check of 'page \u003e= bitmap-\u003epages' to md_bitmap_get_counter() and\nreturn directly if true.","modified":"2026-03-20T12:33:06.821565Z","published":"2025-09-17T14:56:47.171Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:3761-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53357.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/152bb26796ff054af50b2ee1b3ca56e364e4f61b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/301867b1c16805aebbc306aafa6ecdc68b73c7e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/374fb914304d9b500721007f3837ea8f1f9a2418"},{"type":"WEB","url":"https://git.kernel.org/stable/c/39fa14e824acfd470db4f42c354297456bd82b53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a134dd582c0d5b6068efa308bd485cf1d00b3f65"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0b971fe7d61411ede63c3291764dbde1577ef2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be1a3ec63a840cc9e59a033acf154f56255699a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bea301c046110bf421a3ce153fb868cb8d618e90"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53357.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53357"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}