CVE-2026-93274 (GCVE-0-2026-93274)
Vulnerability from cvelistv5
Published
2026-09-24 15:52
Modified
2026-10-19 09:08
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: pinctrl: bcm2835: Don't remove an unregistered GPIO chip If the devm_pinctrl_register() function fails, bcm2835_pinctrl_probe() calls gpiochip_remove() before gpiochip_add_data() has registered the GPIO chip. This means that upon failure the gpio_chip.gpiodev is NULL resulting in a null pointer dereference inside the gpiochip_remove() function. Remove the unnecessary function call to gpiochip_remove(). No GPIO cleanup is required because the GPIO chip has not yet been registered. Without this change there is potential for a kernel panic upon registration failure
Impacted products
Vendor Product Version
Linux Linux Version: ba696b470839d70c6b8290c1f798bac7fb2a584c
Version: 79c6d4fa1be1fd0819c50ebb4dee101bbbc4d20e
Version: 266423e60ea1b953fcc0cd97f3dad85857e434d1
Version: 266423e60ea1b953fcc0cd97f3dad85857e434d1
Version: 266423e60ea1b953fcc0cd97f3dad85857e434d1
Version: 266423e60ea1b953fcc0cd97f3dad85857e434d1
Version: 266423e60ea1b953fcc0cd97f3dad85857e434d1
Version: 266423e60ea1b953fcc0cd97f3dad85857e434d1
Version: 75278f1aff5e14c904d3503c6f836c42a7afb441
Version: 5.10.89   ≤
Version: 5.15.12   ≤
Version: 5.4.175   ≤
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pinctrl/bcm/pinctrl-bcm2835.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d428863ca8baa4e9eaf781266ac219b017dcf277",
              "status": "affected",
              "version": "ba696b470839d70c6b8290c1f798bac7fb2a584c",
              "versionType": "git"
            },
            {
              "lessThan": "f494cfc254cd509d7cbc44b843e0a6602a520a33",
              "status": "affected",
              "version": "79c6d4fa1be1fd0819c50ebb4dee101bbbc4d20e",
              "versionType": "git"
            },
            {
              "lessThan": "dd6b1919e41d1260259c4505777be565fb3a7efd",
              "status": "affected",
              "version": "266423e60ea1b953fcc0cd97f3dad85857e434d1",
              "versionType": "git"
            },
            {
              "lessThan": "3b978fd0a3092b25561ac26bc1a87149fa981ddc",
              "status": "affected",
              "version": "266423e60ea1b953fcc0cd97f3dad85857e434d1",
              "versionType": "git"
            },
            {
              "lessThan": "b8535f5c77cc61352d02a0c038a280127a8b8208",
              "status": "affected",
              "version": "266423e60ea1b953fcc0cd97f3dad85857e434d1",
              "versionType": "git"
            },
            {
              "lessThan": "68ea6dd23b732081826c36033835468383487864",
              "status": "affected",
              "version": "266423e60ea1b953fcc0cd97f3dad85857e434d1",
              "versionType": "git"
            },
            {
              "lessThan": "727f043d699ab0d5d87122c2177f2b45fbe58d35",
              "status": "affected",
              "version": "266423e60ea1b953fcc0cd97f3dad85857e434d1",
              "versionType": "git"
            },
            {
              "lessThan": "32711f77db0641e57fd96fdc013bf1286b9f2514",
              "status": "affected",
              "version": "266423e60ea1b953fcc0cd97f3dad85857e434d1",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "75278f1aff5e14c904d3503c6f836c42a7afb441",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.270",
              "status": "affected",
              "version": "5.10.89",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.221",
              "status": "affected",
              "version": "5.15.12",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.175",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pinctrl/bcm/pinctrl-bcm2835.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "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": "5.10.270",
                  "versionStartIncluding": "5.10.89",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "5.15.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.175",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: bcm2835: Don\u0027t remove an unregistered GPIO chip\n\nIf the devm_pinctrl_register() function fails,\nbcm2835_pinctrl_probe() calls gpiochip_remove()\nbefore gpiochip_add_data() has registered the GPIO chip.\n\nThis means that upon failure the gpio_chip.gpiodev\n is NULL resulting in a null pointer dereference\ninside the gpiochip_remove() function.\n\nRemove the unnecessary function call to gpiochip_remove().\nNo GPIO cleanup is required because the GPIO chip\nhas not yet been registered. Without this change there\nis potential for a kernel panic upon registration failure"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:08:28.712Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d428863ca8baa4e9eaf781266ac219b017dcf277"
        },
        {
          "url": "https://git.kernel.org/stable/c/f494cfc254cd509d7cbc44b843e0a6602a520a33"
        },
        {
          "url": "https://git.kernel.org/stable/c/dd6b1919e41d1260259c4505777be565fb3a7efd"
        },
        {
          "url": "https://git.kernel.org/stable/c/3b978fd0a3092b25561ac26bc1a87149fa981ddc"
        },
        {
          "url": "https://git.kernel.org/stable/c/b8535f5c77cc61352d02a0c038a280127a8b8208"
        },
        {
          "url": "https://git.kernel.org/stable/c/68ea6dd23b732081826c36033835468383487864"
        },
        {
          "url": "https://git.kernel.org/stable/c/727f043d699ab0d5d87122c2177f2b45fbe58d35"
        },
        {
          "url": "https://git.kernel.org/stable/c/32711f77db0641e57fd96fdc013bf1286b9f2514"
        }
      ],
      "title": "pinctrl: bcm2835: Don\u0027t remove an unregistered GPIO chip",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-93274",
    "datePublished": "2026-09-24T15:52:16.117Z",
    "dateReserved": "2026-09-17T16:02:15.098Z",
    "dateUpdated": "2026-10-19T09:08:28.712Z",
    "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…