{"id":"CVE-2023-53357","aliases":["CVE-2023-53357"],"related":[],"kind":"vulnerability","state":"published","title":"md/raid10: check slab-out-of-bounds in md_bitmap_get_counter","summary":"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 >= bitmap->pages', 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 >= bitmap->pages' to md_bitmap_get_counter() and\nreturn directly if true.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 >= bitmap->pages', 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 >= bitmap->pages' to md_bitmap_get_counter() and\nreturn directly if true.","source":"cvelist"}],"published":"2025-09-17T14:56:47.171Z","modified":"2026-06-17T06:44:59.547Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"ef4256733506f2459a0c436b62267d22a3f0cec6","fixed":"374fb914304d9b500721007f3837ea8f1f9a2418","status":"affected"},{"type":"git","introduced":"ef4256733506f2459a0c436b62267d22a3f0cec6","fixed":"b0b971fe7d61411ede63c3291764dbde1577ef2c","status":"affected"},{"type":"git","introduced":"ef4256733506f2459a0c436b62267d22a3f0cec6","fixed":"39fa14e824acfd470db4f42c354297456bd82b53","status":"affected"},{"type":"git","introduced":"ef4256733506f2459a0c436b62267d22a3f0cec6","fixed":"a134dd582c0d5b6068efa308bd485cf1d00b3f65","status":"affected"},{"type":"git","introduced":"ef4256733506f2459a0c436b62267d22a3f0cec6","fixed":"be1a3ec63a840cc9e59a033acf154f56255699a1","status":"affected"},{"type":"git","introduced":"ef4256733506f2459a0c436b62267d22a3f0cec6","fixed":"152bb26796ff054af50b2ee1b3ca56e364e4f61b","status":"affected"},{"type":"git","introduced":"ef4256733506f2459a0c436b62267d22a3f0cec6","fixed":"bea301c046110bf421a3ce153fb868cb8d618e90","status":"affected"},{"type":"git","introduced":"ef4256733506f2459a0c436b62267d22a3f0cec6","fixed":"301867b1c16805aebbc306aafa6ecdc68b73c7e5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.36","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.36","status":"unaffected"},{"type":"semver","introduced":"4.19.291","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.251","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.188","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.121","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.39","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.13","lastAffected":"6.3.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.36","fixed":"4.19.291"},{"status":"affected","introduced":"4.20","fixed":"5.4.251"},{"status":"affected","introduced":"5.5","fixed":"5.10.188"},{"status":"affected","introduced":"5.11","fixed":"5.15.121"},{"status":"affected","introduced":"5.16","fixed":"6.1.39"},{"status":"affected","introduced":"6.2","fixed":"6.3.13"},{"status":"affected","introduced":"6.4","fixed":"6.4.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/374fb914304d9b500721007f3837ea8f1f9a2418","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0b971fe7d61411ede63c3291764dbde1577ef2c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39fa14e824acfd470db4f42c354297456bd82b53","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a134dd582c0d5b6068efa308bd485cf1d00b3f65","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be1a3ec63a840cc9e59a033acf154f56255699a1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/152bb26796ff054af50b2ee1b3ca56e364e4f61b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bea301c046110bf421a3ce153fb868cb8d618e90","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/301867b1c16805aebbc306aafa6ecdc68b73c7e5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:43:08.515Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53357","url":"https://www.cve.org/CVERecord?id=CVE-2023-53357","licence":"CVE Terms of Use","modified":"2026-05-11T19:43:23.121Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53357","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53357","licence":"Public domain","modified":"2026-06-17T06:44:59.547Z"}],"updatedAt":"2026-11-25T22:58:34.848Z","epss":{"score":0.00209,"percentile":0.11684,"date":"2026-12-01T12:00:22.000Z"}}