CVE-2023-53299 (GCVE-0-2023-53299)

Vulnerability from cvelistv5 – Published: 2025-09-16 08:11 – Updated: 2026-01-14 18:22
VLAI?
Title
md/raid10: fix leak of 'r10bio->remaining' for recovery
Summary
In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix leak of 'r10bio->remaining' for recovery raid10_sync_request() will add 'r10bio->remaining' for both rdev and replacement rdev. However, if the read io fails, recovery_request_write() returns without issuing the write io, in this case, end_sync_request() is only called once and 'remaining' is leaked, cause an io hang. Fix the problem by decreasing 'remaining' according to if 'bio' and 'repl_bio' is valid.
CWE
  • CWE-401 - Missing Release of Memory after Effective Lifetime
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < cb827ed2bb34480dc102146d3a1f89fdbcafc028 (git)
Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < 1d2c6c6e37fe5de11fd01a82badf03390e12df7a (git)
Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < 8c5d5d7ffd1e76734811b8ea5417cf0432b9952c (git)
Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < 1697fb124c6d6c5237e9cbd78890310154738084 (git)
Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < 8d09065802c53cc938d162b62f6c4150b392c90e (git)
Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < 11141630f03efffdfe260b3582b2d93d38171b97 (git)
Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < 3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6 (git)
Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < 4f82e7e07cdaf2947d71968e3d6b73370a217093 (git)
Affected: 24afd80d99f80a79d8824d2805114b8b067e9823 , < 26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e (git)
Create a notification for this product.
    Linux Linux Affected: 3.3
Unaffected: 0 , < 3.3 (semver)
Unaffected: 4.14.315 , ≤ 4.14.* (semver)
Unaffected: 4.19.283 , ≤ 4.19.* (semver)
Unaffected: 5.4.243 , ≤ 5.4.* (semver)
Unaffected: 5.10.180 , ≤ 5.10.* (semver)
Unaffected: 5.15.111 , ≤ 5.15.* (semver)
Unaffected: 6.1.28 , ≤ 6.1.* (semver)
Unaffected: 6.2.15 , ≤ 6.2.* (semver)
Unaffected: 6.3.2 , ≤ 6.3.* (semver)
Unaffected: 6.4 , ≤ * (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": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2023-53299",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-14T18:13:08.755335Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-401",
                "description": "CWE-401 Missing Release of Memory after Effective Lifetime",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-14T18:22:54.164Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/raid10.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cb827ed2bb34480dc102146d3a1f89fdbcafc028",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            },
            {
              "lessThan": "1d2c6c6e37fe5de11fd01a82badf03390e12df7a",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            },
            {
              "lessThan": "8c5d5d7ffd1e76734811b8ea5417cf0432b9952c",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            },
            {
              "lessThan": "1697fb124c6d6c5237e9cbd78890310154738084",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            },
            {
              "lessThan": "8d09065802c53cc938d162b62f6c4150b392c90e",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            },
            {
              "lessThan": "11141630f03efffdfe260b3582b2d93d38171b97",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            },
            {
              "lessThan": "3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            },
            {
              "lessThan": "4f82e7e07cdaf2947d71968e3d6b73370a217093",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            },
            {
              "lessThan": "26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e",
              "status": "affected",
              "version": "24afd80d99f80a79d8824d2805114b8b067e9823",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/raid10.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.315",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.283",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.243",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.180",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.28",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.315",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.283",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.243",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.180",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.111",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.28",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.15",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.2",
                  "versionStartIncluding": "3.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4",
                  "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/raid10: fix leak of \u0027r10bio-\u003eremaining\u0027 for recovery\n\nraid10_sync_request() will add \u0027r10bio-\u003eremaining\u0027 for both rdev and\nreplacement rdev. However, if the read io fails, recovery_request_write()\nreturns without issuing the write io, in this case, end_sync_request()\nis only called once and \u0027remaining\u0027 is leaked, cause an io hang.\n\nFix the problem by decreasing \u0027remaining\u0027 according to if \u0027bio\u0027 and\n\u0027repl_bio\u0027 is valid."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-16T08:11:30.854Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cb827ed2bb34480dc102146d3a1f89fdbcafc028"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d2c6c6e37fe5de11fd01a82badf03390e12df7a"
        },
        {
          "url": "https://git.kernel.org/stable/c/8c5d5d7ffd1e76734811b8ea5417cf0432b9952c"
        },
        {
          "url": "https://git.kernel.org/stable/c/1697fb124c6d6c5237e9cbd78890310154738084"
        },
        {
          "url": "https://git.kernel.org/stable/c/8d09065802c53cc938d162b62f6c4150b392c90e"
        },
        {
          "url": "https://git.kernel.org/stable/c/11141630f03efffdfe260b3582b2d93d38171b97"
        },
        {
          "url": "https://git.kernel.org/stable/c/3481dec5ecbbbbe44ab23e22c2b14bd65c644ec6"
        },
        {
          "url": "https://git.kernel.org/stable/c/4f82e7e07cdaf2947d71968e3d6b73370a217093"
        },
        {
          "url": "https://git.kernel.org/stable/c/26208a7cffd0c7cbf14237ccd20c7270b3ffeb7e"
        }
      ],
      "title": "md/raid10: fix leak of \u0027r10bio-\u003eremaining\u0027 for recovery",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53299",
    "datePublished": "2025-09-16T08:11:30.854Z",
    "dateReserved": "2025-09-16T08:09:37.993Z",
    "dateUpdated": "2026-01-14T18:22:54.164Z",
    "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…