CVE-2026-98227 (GCVE-0-2026-98227)

Vulnerability from cvelistv5 – Published: 2026-10-06 08:45 – Updated: 2026-10-06 08:45
VLAI
Title
memstick: ms_block: destroy io_queue workqueue on removal
Summary
In the Linux kernel, the following vulnerability has been resolved: memstick: ms_block: destroy io_queue workqueue on removal msb_init_disk() creates the per-card ordered workqueue msb->io_queue with alloc_ordered_workqueue(). It is torn down with destroy_workqueue() only on the init error path; msb_remove() never destroys it. msb_stop() merely flushes the queue, and neither msb_data_clear() nor put_disk() free it. As a result every card insert/remove cycle leaks the workqueue and its kworker, exhausting kernel memory over repeated cycles. Destroy the workqueue in msb_remove() after the disk has been removed and the queue drained.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 , < 0ff795163f37109a134b5a421558530f8d091544 (git)
Affected: 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 , < 19c3da6621a253f1f8b937ed91bc22330a930d9c (git)
Affected: 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 , < 9a2e7cdc0880e735aff0968ee402f2c92a992b9b (git)
Affected: 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 , < 6611f78ec3fd4b33a00bfda20725b254a22979f6 (git)
Affected: 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 , < f222bb8c30cf5699c560b29179ff2bddcac1f950 (git)
Affected: 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 , < 90af7fde083e1b22c349c3a8b1626728e44e474c (git)
Create a notification for this product.
Linux Linux Affected: 3.12
Unaffected: 0 , < 3.12 (semver)
Unaffected: 6.1.189 , ≤ 6.1.* (semver)
Unaffected: 6.6.158 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.54 , ≤ 6.18.* (semver)
Unaffected: 7.2.8 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc4 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/memstick/core/ms_block.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0ff795163f37109a134b5a421558530f8d091544",
              "status": "affected",
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "versionType": "git"
            },
            {
              "lessThan": "19c3da6621a253f1f8b937ed91bc22330a930d9c",
              "status": "affected",
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "versionType": "git"
            },
            {
              "lessThan": "9a2e7cdc0880e735aff0968ee402f2c92a992b9b",
              "status": "affected",
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "versionType": "git"
            },
            {
              "lessThan": "6611f78ec3fd4b33a00bfda20725b254a22979f6",
              "status": "affected",
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "versionType": "git"
            },
            {
              "lessThan": "f222bb8c30cf5699c560b29179ff2bddcac1f950",
              "status": "affected",
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "versionType": "git"
            },
            {
              "lessThan": "90af7fde083e1b22c349c3a8b1626728e44e474c",
              "status": "affected",
              "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/memstick/core/ms_block.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.12"
            },
            {
              "lessThan": "3.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc4",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmemstick: ms_block: destroy io_queue workqueue on removal\n\nmsb_init_disk() creates the per-card ordered workqueue msb-\u003eio_queue with\nalloc_ordered_workqueue(). It is torn down with destroy_workqueue() only\non the init error path; msb_remove() never destroys it. msb_stop() merely\nflushes the queue, and neither msb_data_clear() nor put_disk() free it. As\na result every card insert/remove cycle leaks the workqueue and its\nkworker, exhausting kernel memory over repeated cycles.\n\nDestroy the workqueue in msb_remove() after the disk has been removed and\nthe queue drained."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-06T08:45:02.265Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0ff795163f37109a134b5a421558530f8d091544"
        },
        {
          "url": "https://git.kernel.org/stable/c/19c3da6621a253f1f8b937ed91bc22330a930d9c"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a2e7cdc0880e735aff0968ee402f2c92a992b9b"
        },
        {
          "url": "https://git.kernel.org/stable/c/6611f78ec3fd4b33a00bfda20725b254a22979f6"
        },
        {
          "url": "https://git.kernel.org/stable/c/f222bb8c30cf5699c560b29179ff2bddcac1f950"
        },
        {
          "url": "https://git.kernel.org/stable/c/90af7fde083e1b22c349c3a8b1626728e44e474c"
        }
      ],
      "title": "memstick: ms_block: destroy io_queue workqueue on removal",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98227",
    "datePublished": "2026-10-06T08:45:02.265Z",
    "dateReserved": "2026-09-25T10:25:14.328Z",
    "dateUpdated": "2026-10-06T08:45:02.265Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98227",
      "date": "2026-10-08",
      "epss": "0.0018",
      "percentile": "0.06946"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/memstick/core/ms_block.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "0ff795163f37109a134b5a421558530f8d091544",
                    "status": "affected",
                    "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "19c3da6621a253f1f8b937ed91bc22330a930d9c",
                    "status": "affected",
                    "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9a2e7cdc0880e735aff0968ee402f2c92a992b9b",
                    "status": "affected",
                    "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6611f78ec3fd4b33a00bfda20725b254a22979f6",
                    "status": "affected",
                    "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f222bb8c30cf5699c560b29179ff2bddcac1f950",
                    "status": "affected",
                    "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "90af7fde083e1b22c349c3a8b1626728e44e474c",
                    "status": "affected",
                    "version": "0ab30494bc4f3bc1ea4659b7c5d97c5218554a63",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/memstick/core/ms_block.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.12"
                  },
                  {
                    "lessThan": "3.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.189",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.158",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.54",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.8",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc4",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmemstick: ms_block: destroy io_queue workqueue on removal\n\nmsb_init_disk() creates the per-card ordered workqueue msb-\u003eio_queue with\nalloc_ordered_workqueue(). It is torn down with destroy_workqueue() only\non the init error path; msb_remove() never destroys it. msb_stop() merely\nflushes the queue, and neither msb_data_clear() nor put_disk() free it. As\na result every card insert/remove cycle leaks the workqueue and its\nkworker, exhausting kernel memory over repeated cycles.\n\nDestroy the workqueue in msb_remove() after the disk has been removed and\nthe queue drained."
          }
        ],
        "id": "CVE-2026-98227",
        "lastModified": "2026-10-06T09:18:09.963",
        "metrics": {},
        "published": "2026-10-06T09:18:09.963",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0ff795163f37109a134b5a421558530f8d091544"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/19c3da6621a253f1f8b937ed91bc22330a930d9c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6611f78ec3fd4b33a00bfda20725b254a22979f6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/90af7fde083e1b22c349c3a8b1626728e44e474c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9a2e7cdc0880e735aff0968ee402f2c92a992b9b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f222bb8c30cf5699c560b29179ff2bddcac1f950"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-09T06:16:42+00:00",
      "cve": "CVE-2026-98227",
      "id": "CVE-2026-98227",
      "initial_release_date": "2026-10-06T00:00:00+00:00",
      "product_status:known_not_affected": "277",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: memstick: ms_block: destroy io_queue workqueue on removal",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98227.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-08T16:49:52Z",
      "cve": "CVE-2026-98227",
      "id": "CVE-2026-98227",
      "initial_release_date": "2026-10-08T16:49:52Z",
      "product_status:known_affected": "297",
      "product_status:known_not_affected": "50",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98227",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-98227.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…