CVE-2022-50640 (GCVE-0-2022-50640)

Vulnerability from cvelistv5 – Published: 2025-12-09 00:00 – Updated: 2025-12-09 00:00
VLAI?
Title
mmc: core: Fix kernel panic when remove non-standard SDIO card
Summary
In the Linux kernel, the following vulnerability has been resolved: mmc: core: Fix kernel panic when remove non-standard SDIO card SDIO tuple is only allocated for standard SDIO card, especially it causes memory corruption issues when the non-standard SDIO card has removed, which is because the card device's reference counter does not increase for it at sdio_init_func(), but all SDIO card device reference counter gets decreased at sdio_release_func().
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 , < b8b2965932e702b21e335ff30e1bb550f5a23b6f (git)
Affected: 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 , < b3275dde570b6420106a715bb58a0af041b94d95 (git)
Affected: 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 , < 1fb79478695d92bab1c120ad3dad05252b02a29d (git)
Affected: 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 , < 7a09c64b7da0abdec3919812e3d93ecc44069ed0 (git)
Affected: 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 , < 8bf037279b5869ae9331c42bb1527d2680ebba96 (git)
Affected: 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 , < 1e8cd93ae536581562bab4e1d8c5315bbc2548bf (git)
Affected: 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 , < 66d461a92f32b6995b630625d350259b6b1f961b (git)
Affected: 6f51be3d37dff73cf8db771df4169f4c2f1cbf66 , < 9972e6b404884adae9eec7463e30d9b3c9a70b18 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.36
Unaffected: 0 , < 2.6.36 (semver)
Unaffected: 4.9.332 , ≤ 4.9.* (semver)
Unaffected: 4.14.298 , ≤ 4.14.* (semver)
Unaffected: 4.19.264 , ≤ 4.19.* (semver)
Unaffected: 5.4.223 , ≤ 5.4.* (semver)
Unaffected: 5.10.153 , ≤ 5.10.* (semver)
Unaffected: 5.15.77 , ≤ 5.15.* (semver)
Unaffected: 6.0.7 , ≤ 6.0.* (semver)
Unaffected: 6.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/core/sdio_bus.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b8b2965932e702b21e335ff30e1bb550f5a23b6f",
              "status": "affected",
              "version": "6f51be3d37dff73cf8db771df4169f4c2f1cbf66",
              "versionType": "git"
            },
            {
              "lessThan": "b3275dde570b6420106a715bb58a0af041b94d95",
              "status": "affected",
              "version": "6f51be3d37dff73cf8db771df4169f4c2f1cbf66",
              "versionType": "git"
            },
            {
              "lessThan": "1fb79478695d92bab1c120ad3dad05252b02a29d",
              "status": "affected",
              "version": "6f51be3d37dff73cf8db771df4169f4c2f1cbf66",
              "versionType": "git"
            },
            {
              "lessThan": "7a09c64b7da0abdec3919812e3d93ecc44069ed0",
              "status": "affected",
              "version": "6f51be3d37dff73cf8db771df4169f4c2f1cbf66",
              "versionType": "git"
            },
            {
              "lessThan": "8bf037279b5869ae9331c42bb1527d2680ebba96",
              "status": "affected",
              "version": "6f51be3d37dff73cf8db771df4169f4c2f1cbf66",
              "versionType": "git"
            },
            {
              "lessThan": "1e8cd93ae536581562bab4e1d8c5315bbc2548bf",
              "status": "affected",
              "version": "6f51be3d37dff73cf8db771df4169f4c2f1cbf66",
              "versionType": "git"
            },
            {
              "lessThan": "66d461a92f32b6995b630625d350259b6b1f961b",
              "status": "affected",
              "version": "6f51be3d37dff73cf8db771df4169f4c2f1cbf66",
              "versionType": "git"
            },
            {
              "lessThan": "9972e6b404884adae9eec7463e30d9b3c9a70b18",
              "status": "affected",
              "version": "6f51be3d37dff73cf8db771df4169f4c2f1cbf66",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/core/sdio_bus.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.9.*",
              "status": "unaffected",
              "version": "4.9.332",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.298",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.264",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.223",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.153",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.77",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.332",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.298",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.264",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.223",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.153",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.77",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.7",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "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\nmmc: core: Fix kernel panic when remove non-standard SDIO card\n\nSDIO tuple is only allocated for standard SDIO card, especially it causes\nmemory corruption issues when the non-standard SDIO card has removed, which\nis because the card device\u0027s reference counter does not increase for it at\nsdio_init_func(), but all SDIO card device reference counter gets decreased\nat sdio_release_func()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-09T00:00:13.871Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b8b2965932e702b21e335ff30e1bb550f5a23b6f"
        },
        {
          "url": "https://git.kernel.org/stable/c/b3275dde570b6420106a715bb58a0af041b94d95"
        },
        {
          "url": "https://git.kernel.org/stable/c/1fb79478695d92bab1c120ad3dad05252b02a29d"
        },
        {
          "url": "https://git.kernel.org/stable/c/7a09c64b7da0abdec3919812e3d93ecc44069ed0"
        },
        {
          "url": "https://git.kernel.org/stable/c/8bf037279b5869ae9331c42bb1527d2680ebba96"
        },
        {
          "url": "https://git.kernel.org/stable/c/1e8cd93ae536581562bab4e1d8c5315bbc2548bf"
        },
        {
          "url": "https://git.kernel.org/stable/c/66d461a92f32b6995b630625d350259b6b1f961b"
        },
        {
          "url": "https://git.kernel.org/stable/c/9972e6b404884adae9eec7463e30d9b3c9a70b18"
        }
      ],
      "title": "mmc: core: Fix kernel panic when remove non-standard SDIO card",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50640",
    "datePublished": "2025-12-09T00:00:13.871Z",
    "dateReserved": "2025-12-08T23:57:43.370Z",
    "dateUpdated": "2025-12-09T00:00:13.871Z",
    "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…