CVE-2022-50085 (GCVE-0-2022-50085)
Vulnerability from cvelistv5
Published
2025-06-18 11:02
Modified
2025-07-15 15:43
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: dm raid: fix address sanitizer warning in raid_resume There is a KASAN warning in raid_resume when running the lvm test lvconvert-raid.sh. The reason for the warning is that mddev->raid_disks is greater than rs->raid_disks, so the loop touches one entry beyond the allocated length.
Impacted products
Vendor Product Version
Linux Linux Version: 33e53f06850f44ec9722e08a993ecf8816e447a5
Version: 33e53f06850f44ec9722e08a993ecf8816e447a5
Version: 33e53f06850f44ec9722e08a993ecf8816e447a5
Version: 33e53f06850f44ec9722e08a993ecf8816e447a5
Version: 33e53f06850f44ec9722e08a993ecf8816e447a5
Version: 33e53f06850f44ec9722e08a993ecf8816e447a5
Version: 33e53f06850f44ec9722e08a993ecf8816e447a5
Version: 33e53f06850f44ec9722e08a993ecf8816e447a5
Create a notification for this product.
   Linux Linux Version: 4.8
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/dm-raid.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c2f075e729636a44e98d9722e3852c2fa6fa49b6",
              "status": "affected",
              "version": "33e53f06850f44ec9722e08a993ecf8816e447a5",
              "versionType": "git"
            },
            {
              "lessThan": "3bfdc95466f5be4d8d95db5a5b470d61641a7c24",
              "status": "affected",
              "version": "33e53f06850f44ec9722e08a993ecf8816e447a5",
              "versionType": "git"
            },
            {
              "lessThan": "71f601c779b3cc1baf497796f5b922c3fe5d2a1e",
              "status": "affected",
              "version": "33e53f06850f44ec9722e08a993ecf8816e447a5",
              "versionType": "git"
            },
            {
              "lessThan": "c2d47bef93fb74aa97d90f9a40ca657b8f376083",
              "status": "affected",
              "version": "33e53f06850f44ec9722e08a993ecf8816e447a5",
              "versionType": "git"
            },
            {
              "lessThan": "50235d9a1f1f742619ed9963cb9f240e5b821d46",
              "status": "affected",
              "version": "33e53f06850f44ec9722e08a993ecf8816e447a5",
              "versionType": "git"
            },
            {
              "lessThan": "74af83732a39ab7d3bc9b49219a535853e25679f",
              "status": "affected",
              "version": "33e53f06850f44ec9722e08a993ecf8816e447a5",
              "versionType": "git"
            },
            {
              "lessThan": "2a9faa704d83ff0b04387e385efd8ae21cd95af6",
              "status": "affected",
              "version": "33e53f06850f44ec9722e08a993ecf8816e447a5",
              "versionType": "git"
            },
            {
              "lessThan": "7dad24db59d2d2803576f2e3645728866a056dab",
              "status": "affected",
              "version": "33e53f06850f44ec9722e08a993ecf8816e447a5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/md/dm-raid.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.8"
            },
            {
              "lessThan": "4.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.256",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.211",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.137",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.291",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.256",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.211",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.137",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.61",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.18",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.2",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0",
                  "versionStartIncluding": "4.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndm raid: fix address sanitizer warning in raid_resume\n\nThere is a KASAN warning in raid_resume when running the lvm test\nlvconvert-raid.sh. The reason for the warning is that mddev-\u003eraid_disks\nis greater than rs-\u003eraid_disks, so the loop touches one entry beyond\nthe allocated length."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-07-15T15:43:45.187Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c2f075e729636a44e98d9722e3852c2fa6fa49b6"
        },
        {
          "url": "https://git.kernel.org/stable/c/3bfdc95466f5be4d8d95db5a5b470d61641a7c24"
        },
        {
          "url": "https://git.kernel.org/stable/c/71f601c779b3cc1baf497796f5b922c3fe5d2a1e"
        },
        {
          "url": "https://git.kernel.org/stable/c/c2d47bef93fb74aa97d90f9a40ca657b8f376083"
        },
        {
          "url": "https://git.kernel.org/stable/c/50235d9a1f1f742619ed9963cb9f240e5b821d46"
        },
        {
          "url": "https://git.kernel.org/stable/c/74af83732a39ab7d3bc9b49219a535853e25679f"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a9faa704d83ff0b04387e385efd8ae21cd95af6"
        },
        {
          "url": "https://git.kernel.org/stable/c/7dad24db59d2d2803576f2e3645728866a056dab"
        }
      ],
      "title": "dm raid: fix address sanitizer warning in raid_resume",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50085",
    "datePublished": "2025-06-18T11:02:26.700Z",
    "dateReserved": "2025-06-18T10:57:27.410Z",
    "dateUpdated": "2025-07-15T15:43:45.187Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50085\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-06-18T11:15:37.577\",\"lastModified\":\"2025-06-18T13:47:40.833\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndm raid: fix address sanitizer warning in raid_resume\\n\\nThere is a KASAN warning in raid_resume when running the lvm test\\nlvconvert-raid.sh. The reason for the warning is that mddev-\u003eraid_disks\\nis greater than rs-\u003eraid_disks, so the loop touches one entry beyond\\nthe allocated length.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2a9faa704d83ff0b04387e385efd8ae21cd95af6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3bfdc95466f5be4d8d95db5a5b470d61641a7c24\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/50235d9a1f1f742619ed9963cb9f240e5b821d46\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/71f601c779b3cc1baf497796f5b922c3fe5d2a1e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/74af83732a39ab7d3bc9b49219a535853e25679f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7dad24db59d2d2803576f2e3645728866a056dab\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c2d47bef93fb74aa97d90f9a40ca657b8f376083\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c2f075e729636a44e98d9722e3852c2fa6fa49b6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…