CVE-2023-53722 (GCVE-0-2023-53722)

Vulnerability from cvelistv5 – Published: 2025-10-22 13:23 – Updated: 2026-01-05 10:32
VLAI?
Title
md: raid1: fix potential OOB in raid1_remove_disk()
Summary
In the Linux kernel, the following vulnerability has been resolved: md: raid1: fix potential OOB in raid1_remove_disk() If rddev->raid_disk is greater than mddev->raid_disks, there will be an out-of-bounds in raid1_remove_disk(). We have already found similar reports as follows: 1) commit d17f744e883b ("md-raid10: fix KASAN warning") 2) commit 1ebc2cec0b7d ("dm raid: fix KASAN warning in raid5_remove_disk") Fix this bug by checking whether the "number" variable is valid.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: b8321b68d1445f308324517e45fb0a5c2b48e271 , < beedf40f73939f248c81802eda08a2a8148ea13e (git)
Affected: b8321b68d1445f308324517e45fb0a5c2b48e271 , < 91fbd4e75cb573f44d2619a9dc2f9ba927040760 (git)
Affected: b8321b68d1445f308324517e45fb0a5c2b48e271 , < 25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24 (git)
Affected: b8321b68d1445f308324517e45fb0a5c2b48e271 , < 7993cfc041481a3a9cd4a3858088fc846b8ccaf7 (git)
Affected: b8321b68d1445f308324517e45fb0a5c2b48e271 , < 4f96c0665f9f4cf70130c9757750dc43dc679c82 (git)
Affected: b8321b68d1445f308324517e45fb0a5c2b48e271 , < 4f7d853b4590fc20e90dd50e346c02811a8c5b08 (git)
Affected: b8321b68d1445f308324517e45fb0a5c2b48e271 , < 4bdb92eaf645e312975357adc3c4e9523b6e67f1 (git)
Affected: b8321b68d1445f308324517e45fb0a5c2b48e271 , < 8b0472b50bcf0f19a5119b00a53b63579c8e1e4d (git)
Create a notification for this product.
    Linux Linux Affected: 3.3
Unaffected: 0 , < 3.3 (semver)
Unaffected: 4.14.326 , ≤ 4.14.* (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.197 , ≤ 5.10.* (semver)
Unaffected: 5.15.133 , ≤ 5.15.* (semver)
Unaffected: 6.1.55 , ≤ 6.1.* (semver)
Unaffected: 6.5.5 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/raid1.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "beedf40f73939f248c81802eda08a2a8148ea13e",
              "status": "affected",
              "version": "b8321b68d1445f308324517e45fb0a5c2b48e271",
              "versionType": "git"
            },
            {
              "lessThan": "91fbd4e75cb573f44d2619a9dc2f9ba927040760",
              "status": "affected",
              "version": "b8321b68d1445f308324517e45fb0a5c2b48e271",
              "versionType": "git"
            },
            {
              "lessThan": "25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24",
              "status": "affected",
              "version": "b8321b68d1445f308324517e45fb0a5c2b48e271",
              "versionType": "git"
            },
            {
              "lessThan": "7993cfc041481a3a9cd4a3858088fc846b8ccaf7",
              "status": "affected",
              "version": "b8321b68d1445f308324517e45fb0a5c2b48e271",
              "versionType": "git"
            },
            {
              "lessThan": "4f96c0665f9f4cf70130c9757750dc43dc679c82",
              "status": "affected",
              "version": "b8321b68d1445f308324517e45fb0a5c2b48e271",
              "versionType": "git"
            },
            {
              "lessThan": "4f7d853b4590fc20e90dd50e346c02811a8c5b08",
              "status": "affected",
              "version": "b8321b68d1445f308324517e45fb0a5c2b48e271",
              "versionType": "git"
            },
            {
              "lessThan": "4bdb92eaf645e312975357adc3c4e9523b6e67f1",
              "status": "affected",
              "version": "b8321b68d1445f308324517e45fb0a5c2b48e271",
              "versionType": "git"
            },
            {
              "lessThan": "8b0472b50bcf0f19a5119b00a53b63579c8e1e4d",
              "status": "affected",
              "version": "b8321b68d1445f308324517e45fb0a5c2b48e271",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/raid1.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.3"
            },
            {
              "lessThan": "3.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.197",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.133",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.197",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.133",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.55",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.5",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmd: raid1: fix potential OOB in raid1_remove_disk()\n\nIf rddev-\u003eraid_disk is greater than mddev-\u003eraid_disks, there will be\nan out-of-bounds in raid1_remove_disk(). We have already found\nsimilar reports as follows:\n\n1) commit d17f744e883b (\"md-raid10: fix KASAN warning\")\n2) commit 1ebc2cec0b7d (\"dm raid: fix KASAN warning in raid5_remove_disk\")\n\nFix this bug by checking whether the \"number\" variable is\nvalid."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T10:32:34.157Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/beedf40f73939f248c81802eda08a2a8148ea13e"
        },
        {
          "url": "https://git.kernel.org/stable/c/91fbd4e75cb573f44d2619a9dc2f9ba927040760"
        },
        {
          "url": "https://git.kernel.org/stable/c/25a68f2286be56fb3a6f9fa0e269c04b5e6c6e24"
        },
        {
          "url": "https://git.kernel.org/stable/c/7993cfc041481a3a9cd4a3858088fc846b8ccaf7"
        },
        {
          "url": "https://git.kernel.org/stable/c/4f96c0665f9f4cf70130c9757750dc43dc679c82"
        },
        {
          "url": "https://git.kernel.org/stable/c/4f7d853b4590fc20e90dd50e346c02811a8c5b08"
        },
        {
          "url": "https://git.kernel.org/stable/c/4bdb92eaf645e312975357adc3c4e9523b6e67f1"
        },
        {
          "url": "https://git.kernel.org/stable/c/8b0472b50bcf0f19a5119b00a53b63579c8e1e4d"
        }
      ],
      "title": "md: raid1: fix potential OOB in raid1_remove_disk()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53722",
    "datePublished": "2025-10-22T13:23:53.329Z",
    "dateReserved": "2025-10-22T13:21:37.348Z",
    "dateUpdated": "2026-01-05T10:32:34.157Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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…