{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53357","id":"CVE-2023-53357","title":"md/raid10: check slab-out-of-bounds in md_bitmap_get_counter","description":"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 c","descriptionLong":"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.","published":"2025-09-17T14:56:47.171Z","updated":"2026-10-28T02:30:48.322458883Z","reserved":"2025-09-16T16:08:59.567Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ef4256733506f2459a0c436b62267d22a3f0cec6","lessThan":"374fb914304d9b500721007f3837ea8f1f9a2418","status":"affected","versionType":"git"},{"version":"ef4256733506f2459a0c436b62267d22a3f0cec6","lessThan":"b0b971fe7d61411ede63c3291764dbde1577ef2c","status":"affected","versionType":"git"},{"version":"ef4256733506f2459a0c436b62267d22a3f0cec6","lessThan":"39fa14e824acfd470db4f42c354297456bd82b53","status":"affected","versionType":"git"},{"version":"ef4256733506f2459a0c436b62267d22a3f0cec6","lessThan":"a134dd582c0d5b6068efa308bd485cf1d00b3f65","status":"affected","versionType":"git"},{"version":"ef4256733506f2459a0c436b62267d22a3f0cec6","lessThan":"be1a3ec63a840cc9e59a033acf154f56255699a1","status":"affected","versionType":"git"},{"version":"ef4256733506f2459a0c436b62267d22a3f0cec6","lessThan":"152bb26796ff054af50b2ee1b3ca56e364e4f61b","status":"affected","versionType":"git"},{"version":"ef4256733506f2459a0c436b62267d22a3f0cec6","lessThan":"bea301c046110bf421a3ce153fb868cb8d618e90","status":"affected","versionType":"git"},{"version":"ef4256733506f2459a0c436b62267d22a3f0cec6","lessThan":"301867b1c16805aebbc306aafa6ecdc68b73c7e5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.36","status":"affected"},{"version":"0","lessThan":"2.6.36","status":"unaffected","versionType":"semver"},{"version":"4.19.291","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.251","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.188","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.121","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.39","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.3.13","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4.4","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/374fb914304d9b500721007f3837ea8f1f9a2418","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b0b971fe7d61411ede63c3291764dbde1577ef2c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/39fa14e824acfd470db4f42c354297456bd82b53","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a134dd582c0d5b6068efa308bd485cf1d00b3f65","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/be1a3ec63a840cc9e59a033acf154f56255699a1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/152bb26796ff054af50b2ee1b3ca56e364e4f61b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bea301c046110bf421a3ce153fb868cb8d618e90","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/301867b1c16805aebbc306aafa6ecdc68b73c7e5","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53357.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53357","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00209,"epssPercentile":0.11167,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53357","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53357","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53357","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53357","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}