CVE-2026-89474 (GCVE-0-2026-89474)
Vulnerability from cvelistv5
Published
2026-09-11 19:43
Modified
2026-10-19 08:47
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: power: supply: bq256xx: drain usb_work before freeing the charger The USB-PHY notifier queues usb_work, whose handler calls power_supply_changed(bq->charger). The reset devm action only unregisters the notifier and was registered before the power supplies, so devm frees bq->charger on unwind before the action runs; a usb_work still queued can then dereference it. Register the reset action after the power supplies, so it unregisters the notifiers and drains usb_work before the supplies are released. Initialize usb_work and obtain the PHY references before registering the notifiers, so the worker cannot run before the supplies exist. Found by static analysis.
Impacted products
Vendor Product Version
Linux Linux Version: 32e4978bb920d047fe5de3ea42d176f267c01f63
Version: 32e4978bb920d047fe5de3ea42d176f267c01f63
Version: 32e4978bb920d047fe5de3ea42d176f267c01f63
Version: 32e4978bb920d047fe5de3ea42d176f267c01f63
Version: 32e4978bb920d047fe5de3ea42d176f267c01f63
Version: 32e4978bb920d047fe5de3ea42d176f267c01f63
Version: 32e4978bb920d047fe5de3ea42d176f267c01f63
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/power/supply/bq256xx_charger.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9dcfdf6c598301b278f0b3490eb2bf4f600524e2",
              "status": "affected",
              "version": "32e4978bb920d047fe5de3ea42d176f267c01f63",
              "versionType": "git"
            },
            {
              "lessThan": "fd08d4dbbec07a44f01b0ddb041912be0dc88f8c",
              "status": "affected",
              "version": "32e4978bb920d047fe5de3ea42d176f267c01f63",
              "versionType": "git"
            },
            {
              "lessThan": "2cfb59dc9df8b5ebdd95e3d874a7f4690cee2bc8",
              "status": "affected",
              "version": "32e4978bb920d047fe5de3ea42d176f267c01f63",
              "versionType": "git"
            },
            {
              "lessThan": "9a467bd1e6811011026ad4c8de701b940d88a00c",
              "status": "affected",
              "version": "32e4978bb920d047fe5de3ea42d176f267c01f63",
              "versionType": "git"
            },
            {
              "lessThan": "9e1aba34df9a87d53460888e05718717c0f69343",
              "status": "affected",
              "version": "32e4978bb920d047fe5de3ea42d176f267c01f63",
              "versionType": "git"
            },
            {
              "lessThan": "c8addb842ae8dcf69c15fc976e33e3bd538a41d7",
              "status": "affected",
              "version": "32e4978bb920d047fe5de3ea42d176f267c01f63",
              "versionType": "git"
            },
            {
              "lessThan": "2dd6cd823777bea6d9a880a12a92a73ec76aee0b",
              "status": "affected",
              "version": "32e4978bb920d047fe5de3ea42d176f267c01f63",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/power/supply/bq256xx_charger.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.12"
            },
            {
              "lessThan": "5.12",
              "status": "unaffected",
              "version": "0",
              "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.109",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "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.15.221",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: bq256xx: drain usb_work before freeing the charger\n\nThe USB-PHY notifier queues usb_work, whose handler calls\npower_supply_changed(bq-\u003echarger). The reset devm action only unregisters\nthe notifier and was registered before the power supplies, so devm frees\nbq-\u003echarger on unwind before the action runs; a usb_work still queued can\nthen dereference it.\n\nRegister the reset action after the power supplies, so it unregisters\nthe notifiers and drains usb_work before the supplies are released.\nInitialize usb_work and obtain the PHY references before registering\nthe notifiers, so the worker cannot run before the supplies exist.\n\nFound by static analysis."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:47:23.191Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9dcfdf6c598301b278f0b3490eb2bf4f600524e2"
        },
        {
          "url": "https://git.kernel.org/stable/c/fd08d4dbbec07a44f01b0ddb041912be0dc88f8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/2cfb59dc9df8b5ebdd95e3d874a7f4690cee2bc8"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a467bd1e6811011026ad4c8de701b940d88a00c"
        },
        {
          "url": "https://git.kernel.org/stable/c/9e1aba34df9a87d53460888e05718717c0f69343"
        },
        {
          "url": "https://git.kernel.org/stable/c/c8addb842ae8dcf69c15fc976e33e3bd538a41d7"
        },
        {
          "url": "https://git.kernel.org/stable/c/2dd6cd823777bea6d9a880a12a92a73ec76aee0b"
        }
      ],
      "title": "power: supply: bq256xx: drain usb_work before freeing the charger",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89474",
    "datePublished": "2026-09-11T19:43:31.882Z",
    "dateReserved": "2026-09-11T19:38:34.710Z",
    "dateUpdated": "2026-10-19T08:47:23.191Z",
    "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…