CVE-2026-92482 (GCVE-0-2026-92482)
Vulnerability from cvelistv5
Published
2026-09-17 16:09
Modified
2026-10-30 12:35
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip The gpio_chip is allocated with device-managed memory but registered with the non-managed gpiochip_add_data(). This was harmless while the drivers were built-in, but once they can be built as modules and unbound/rmmod'd, devm frees the gpio_chip's memory while it is still registered, causing a use-after-free. Register it with devm_gpiochip_add_data() so it shares the same device-managed lifecycle, which also lets the manual gpiochip_remove() error paths go away.
Impacted products
Vendor Product Version
Linux Linux Version: a6df410d420aa4ff316797d352f69e7ebae5ff98
Version: a6df410d420aa4ff316797d352f69e7ebae5ff98
Version: a6df410d420aa4ff316797d352f69e7ebae5ff98
Version: a6df410d420aa4ff316797d352f69e7ebae5ff98
Version: a6df410d420aa4ff316797d352f69e7ebae5ff98
Version: a6df410d420aa4ff316797d352f69e7ebae5ff98
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pinctrl/mediatek/pinctrl-moore.c",
            "drivers/pinctrl/mediatek/pinctrl-mtk-common.c",
            "drivers/pinctrl/mediatek/pinctrl-paris.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "13a25cb4f0f0863afded5e915cb3bceede221426",
              "status": "affected",
              "version": "a6df410d420aa4ff316797d352f69e7ebae5ff98",
              "versionType": "git"
            },
            {
              "lessThan": "dc6e5d802c88468290fee8826dd3a54cf58da25a",
              "status": "affected",
              "version": "a6df410d420aa4ff316797d352f69e7ebae5ff98",
              "versionType": "git"
            },
            {
              "lessThan": "2490528a90a26f408ec3e95f865bad35454f9ff3",
              "status": "affected",
              "version": "a6df410d420aa4ff316797d352f69e7ebae5ff98",
              "versionType": "git"
            },
            {
              "lessThan": "01b5fcdc30c0ab35af960b60508eae1f7f7d32fd",
              "status": "affected",
              "version": "a6df410d420aa4ff316797d352f69e7ebae5ff98",
              "versionType": "git"
            },
            {
              "lessThan": "b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b",
              "status": "affected",
              "version": "a6df410d420aa4ff316797d352f69e7ebae5ff98",
              "versionType": "git"
            },
            {
              "lessThan": "9c650317ba553d297f3fc5f0ae40ec53d86f9dab",
              "status": "affected",
              "version": "a6df410d420aa4ff316797d352f69e7ebae5ff98",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pinctrl/mediatek/pinctrl-moore.c",
            "drivers/pinctrl/mediatek/pinctrl-mtk-common.c",
            "drivers/pinctrl/mediatek/pinctrl-paris.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.1"
            },
            {
              "lessThan": "4.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.114",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "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.1.191",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.114",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip\n\nThe gpio_chip is allocated with device-managed memory but registered with\nthe non-managed gpiochip_add_data(). This was harmless while the drivers\nwere built-in, but once they can be built as modules and unbound/rmmod\u0027d,\ndevm frees the gpio_chip\u0027s memory while it is still registered, causing a\nuse-after-free.\n\nRegister it with devm_gpiochip_add_data() so it shares the same\ndevice-managed lifecycle, which also lets the manual gpiochip_remove()\nerror paths go away."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:35:37.777Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/13a25cb4f0f0863afded5e915cb3bceede221426"
        },
        {
          "url": "https://git.kernel.org/stable/c/dc6e5d802c88468290fee8826dd3a54cf58da25a"
        },
        {
          "url": "https://git.kernel.org/stable/c/2490528a90a26f408ec3e95f865bad35454f9ff3"
        },
        {
          "url": "https://git.kernel.org/stable/c/01b5fcdc30c0ab35af960b60508eae1f7f7d32fd"
        },
        {
          "url": "https://git.kernel.org/stable/c/b8fa1098ee9f627d38bdf7c0ef6c1a6058a4165b"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c650317ba553d297f3fc5f0ae40ec53d86f9dab"
        }
      ],
      "title": "pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-92482",
    "datePublished": "2026-09-17T16:09:59.019Z",
    "dateReserved": "2026-09-16T12:21:13.870Z",
    "dateUpdated": "2026-10-30T12:35:37.777Z",
    "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…