CVE-2026-98833 (GCVE-0-2026-98833)
Vulnerability from cvelistv5
Published
2026-10-18 15:49
Modified
2026-10-21 12:57
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: mtd: core: call _get_device() with the master MTD __get_mtd_device() calls the master's _get_device() callback with mtd, which may be a partition. __put_mtd_device() passes the master. This breaks gluebi partitions because gluebi_get_device() uses container_of() and therefore requires the master MTD. Pass the master to _get_device(), matching _put_device().
Impacted products
Vendor Product Version
Linux Linux Version: 46b5889cc2c54bac7d7e727a44d28a298df23cef
Version: 46b5889cc2c54bac7d7e727a44d28a298df23cef
Version: 46b5889cc2c54bac7d7e727a44d28a298df23cef
Version: 46b5889cc2c54bac7d7e727a44d28a298df23cef
Version: 46b5889cc2c54bac7d7e727a44d28a298df23cef
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/mtdcore.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d94731cafa57e2c986ff391122d1494e5a3f3c3f",
              "status": "affected",
              "version": "46b5889cc2c54bac7d7e727a44d28a298df23cef",
              "versionType": "git"
            },
            {
              "lessThan": "95c8f36293c22d450c371167ad4f9a5bbadc7539",
              "status": "affected",
              "version": "46b5889cc2c54bac7d7e727a44d28a298df23cef",
              "versionType": "git"
            },
            {
              "lessThan": "f971f1c63cf71579258360a12bd185bc1cd1a043",
              "status": "affected",
              "version": "46b5889cc2c54bac7d7e727a44d28a298df23cef",
              "versionType": "git"
            },
            {
              "lessThan": "dc482a281a19a7d7e91ad1b2d551bb301c54d0e6",
              "status": "affected",
              "version": "46b5889cc2c54bac7d7e727a44d28a298df23cef",
              "versionType": "git"
            },
            {
              "lessThan": "12b31d1acd20b3185bb5f0748db0cf6874c8e9d1",
              "status": "affected",
              "version": "46b5889cc2c54bac7d7e727a44d28a298df23cef",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mtd/mtdcore.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.7"
            },
            {
              "lessThan": "5.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.56",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: core: call _get_device() with the master MTD\n\n__get_mtd_device() calls the master\u0027s _get_device() callback with mtd,\nwhich may be a partition. __put_mtd_device() passes the master.\n\nThis breaks gluebi partitions because gluebi_get_device() uses\ncontainer_of() and therefore requires the master MTD. Pass the master\nto _get_device(), matching _put_device()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:57:19.856Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d94731cafa57e2c986ff391122d1494e5a3f3c3f"
        },
        {
          "url": "https://git.kernel.org/stable/c/95c8f36293c22d450c371167ad4f9a5bbadc7539"
        },
        {
          "url": "https://git.kernel.org/stable/c/f971f1c63cf71579258360a12bd185bc1cd1a043"
        },
        {
          "url": "https://git.kernel.org/stable/c/dc482a281a19a7d7e91ad1b2d551bb301c54d0e6"
        },
        {
          "url": "https://git.kernel.org/stable/c/12b31d1acd20b3185bb5f0748db0cf6874c8e9d1"
        }
      ],
      "title": "mtd: core: call _get_device() with the master MTD",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98833",
    "datePublished": "2026-10-18T15:49:42.181Z",
    "dateReserved": "2026-09-25T10:25:14.372Z",
    "dateUpdated": "2026-10-21T12:57:19.856Z",
    "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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…

Loading…