CVE-2023-53357 (GCVE-0-2023-53357)

Vulnerability from cvelistv5 – Published: 2025-09-17 14:56 – Updated: 2026-01-14 18:52
VLAI?
Title
md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
Summary
In 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.
CWE
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: ef4256733506f2459a0c436b62267d22a3f0cec6 , < 374fb914304d9b500721007f3837ea8f1f9a2418 (git)
Affected: ef4256733506f2459a0c436b62267d22a3f0cec6 , < b0b971fe7d61411ede63c3291764dbde1577ef2c (git)
Affected: ef4256733506f2459a0c436b62267d22a3f0cec6 , < 39fa14e824acfd470db4f42c354297456bd82b53 (git)
Affected: ef4256733506f2459a0c436b62267d22a3f0cec6 , < a134dd582c0d5b6068efa308bd485cf1d00b3f65 (git)
Affected: ef4256733506f2459a0c436b62267d22a3f0cec6 , < be1a3ec63a840cc9e59a033acf154f56255699a1 (git)
Affected: ef4256733506f2459a0c436b62267d22a3f0cec6 , < 152bb26796ff054af50b2ee1b3ca56e364e4f61b (git)
Affected: ef4256733506f2459a0c436b62267d22a3f0cec6 , < bea301c046110bf421a3ce153fb868cb8d618e90 (git)
Affected: ef4256733506f2459a0c436b62267d22a3f0cec6 , < 301867b1c16805aebbc306aafa6ecdc68b73c7e5 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.36
Unaffected: 0 , < 2.6.36 (semver)
Unaffected: 4.19.291 , ≤ 4.19.* (semver)
Unaffected: 5.4.251 , ≤ 5.4.* (semver)
Unaffected: 5.10.188 , ≤ 5.10.* (semver)
Unaffected: 5.15.121 , ≤ 5.15.* (semver)
Unaffected: 6.1.39 , ≤ 6.1.* (semver)
Unaffected: 6.3.13 , ≤ 6.3.* (semver)
Unaffected: 6.4.4 , ≤ 6.4.* (semver)
Unaffected: 6.5 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.1,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2023-53357",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-14T18:43:08.515579Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-125",
                "description": "CWE-125 Out-of-bounds Read",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-14T18:52:59.801Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/md-bitmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "374fb914304d9b500721007f3837ea8f1f9a2418",
              "status": "affected",
              "version": "ef4256733506f2459a0c436b62267d22a3f0cec6",
              "versionType": "git"
            },
            {
              "lessThan": "b0b971fe7d61411ede63c3291764dbde1577ef2c",
              "status": "affected",
              "version": "ef4256733506f2459a0c436b62267d22a3f0cec6",
              "versionType": "git"
            },
            {
              "lessThan": "39fa14e824acfd470db4f42c354297456bd82b53",
              "status": "affected",
              "version": "ef4256733506f2459a0c436b62267d22a3f0cec6",
              "versionType": "git"
            },
            {
              "lessThan": "a134dd582c0d5b6068efa308bd485cf1d00b3f65",
              "status": "affected",
              "version": "ef4256733506f2459a0c436b62267d22a3f0cec6",
              "versionType": "git"
            },
            {
              "lessThan": "be1a3ec63a840cc9e59a033acf154f56255699a1",
              "status": "affected",
              "version": "ef4256733506f2459a0c436b62267d22a3f0cec6",
              "versionType": "git"
            },
            {
              "lessThan": "152bb26796ff054af50b2ee1b3ca56e364e4f61b",
              "status": "affected",
              "version": "ef4256733506f2459a0c436b62267d22a3f0cec6",
              "versionType": "git"
            },
            {
              "lessThan": "bea301c046110bf421a3ce153fb868cb8d618e90",
              "status": "affected",
              "version": "ef4256733506f2459a0c436b62267d22a3f0cec6",
              "versionType": "git"
            },
            {
              "lessThan": "301867b1c16805aebbc306aafa6ecdc68b73c7e5",
              "status": "affected",
              "version": "ef4256733506f2459a0c436b62267d22a3f0cec6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/md-bitmap.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.36"
            },
            {
              "lessThan": "2.6.36",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.251",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.291",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.251",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.188",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.121",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.39",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.13",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.4",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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 \u0027page \u003e= bitmap-\u003epages\u0027, 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 \u0027page \u003e= bitmap-\u003epages\u0027 to md_bitmap_get_counter() and\nreturn directly if true."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-17T14:56:47.171Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/374fb914304d9b500721007f3837ea8f1f9a2418"
        },
        {
          "url": "https://git.kernel.org/stable/c/b0b971fe7d61411ede63c3291764dbde1577ef2c"
        },
        {
          "url": "https://git.kernel.org/stable/c/39fa14e824acfd470db4f42c354297456bd82b53"
        },
        {
          "url": "https://git.kernel.org/stable/c/a134dd582c0d5b6068efa308bd485cf1d00b3f65"
        },
        {
          "url": "https://git.kernel.org/stable/c/be1a3ec63a840cc9e59a033acf154f56255699a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/152bb26796ff054af50b2ee1b3ca56e364e4f61b"
        },
        {
          "url": "https://git.kernel.org/stable/c/bea301c046110bf421a3ce153fb868cb8d618e90"
        },
        {
          "url": "https://git.kernel.org/stable/c/301867b1c16805aebbc306aafa6ecdc68b73c7e5"
        }
      ],
      "title": "md/raid10: check slab-out-of-bounds in md_bitmap_get_counter",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53357",
    "datePublished": "2025-09-17T14:56:47.171Z",
    "dateReserved": "2025-09-16T16:08:59.567Z",
    "dateUpdated": "2026-01-14T18:52:59.801Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"cna\": {\"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-09-17T14:56:47.171Z\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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 \u0027page \u003e= bitmap-\u003epages\u0027, 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 \u0027page \u003e= bitmap-\u003epages\u0027 to md_bitmap_get_counter() and\\nreturn directly if true.\"}], \"affected\": [{\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"unaffected\", \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"programFiles\": [\"drivers/md/md-bitmap.c\"], \"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\"}]}, {\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"affected\", \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"programFiles\": [\"drivers/md/md-bitmap.c\"], \"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\"}]}], \"cpeApplicability\": [{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.6.36\", \"versionEndExcluding\": \"4.19.291\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.6.36\", \"versionEndExcluding\": \"5.4.251\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.6.36\", \"versionEndExcluding\": \"5.10.188\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.6.36\", \"versionEndExcluding\": \"5.15.121\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.6.36\", \"versionEndExcluding\": \"6.1.39\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.6.36\", \"versionEndExcluding\": \"6.3.13\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.6.36\", \"versionEndExcluding\": \"6.4.4\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.6.36\", \"versionEndExcluding\": \"6.5\"}]}]}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/374fb914304d9b500721007f3837ea8f1f9a2418\"}, {\"url\": \"https://git.kernel.org/stable/c/b0b971fe7d61411ede63c3291764dbde1577ef2c\"}, {\"url\": \"https://git.kernel.org/stable/c/39fa14e824acfd470db4f42c354297456bd82b53\"}, {\"url\": \"https://git.kernel.org/stable/c/a134dd582c0d5b6068efa308bd485cf1d00b3f65\"}, {\"url\": \"https://git.kernel.org/stable/c/be1a3ec63a840cc9e59a033acf154f56255699a1\"}, {\"url\": \"https://git.kernel.org/stable/c/152bb26796ff054af50b2ee1b3ca56e364e4f61b\"}, {\"url\": \"https://git.kernel.org/stable/c/bea301c046110bf421a3ce153fb868cb8d618e90\"}, {\"url\": \"https://git.kernel.org/stable/c/301867b1c16805aebbc306aafa6ecdc68b73c7e5\"}], \"title\": \"md/raid10: check slab-out-of-bounds in md_bitmap_get_counter\", \"x_generator\": {\"engine\": \"bippy-1.2.0\"}}, \"adp\": [{\"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.1, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-53357\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-14T18:43:08.515579Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-125\", \"description\": \"CWE-125 Out-of-bounds Read\"}]}], \"providerMetadata\": {\"shortName\": \"CISA-ADP\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"dateUpdated\": \"2026-01-14T18:43:04.406Z\"}, \"title\": \"CISA ADP Vulnrichment\"}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-53357\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"Linux\", \"dateReserved\": \"2025-09-16T16:08:59.567Z\", \"datePublished\": \"2025-09-17T14:56:47.171Z\", \"dateUpdated\": \"2025-09-17T14:56:47.171Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…